Spanish nationality law

Civil Code of Spain
Articles 17 to 28
Cortes Generales
  • Royal Decree of 24 July 1889
CitationBOE-A-1889-4763
Territorial extentSpain
Enacted byCortes Generales
Enacted26 May 1889
Assented to byQueen Regent Maria Christina
Royal assent24 July 1889
Status: Amended
Preview warning: Using more than one of the following parameters in Template:Infobox legislation: legislature, enacted_by.

The primary law governing nationality of Spain is Articles 17 to 28 of the Civil Code of Spain, which came into force on 24 July 1889. Spain is a member state of the European Union (EU), and all Spanish nationals are EU citizens. They are entitled to free movement rights in EU and European Free Trade Association (EFTA) countries, and may vote in elections to the European Parliament for the Spain constituency.

Spanish citizenship by origin is defined in the Civil Code on the principle of jus sanguinis (with some limited jus soli provisions) and it can be voluntarily renounced but not forcefully removed. The most common mode of acquisition of derivative citizenship is legal and continuous residence in the country. The Spanish legal framework is considered to be one of the most restrictive in Europe in terms of citizenship acquisition. A preferential treatment in this regard is granted to former colonies, whose citizens also enjoy the privilege of not needing to renounce their original citizenship to acquire the Spanish one.