Do you have to carry an ID in Spain? Yes; the Spanish law officers are well within their rights to detain and fine you for contravening the law. They can detain you for as long as it takes to ascertain your identity and are not required to allow you time to prove your identity.