EnglishFrançaisEspañol

Spanish Nationality Law: Complete Guide to the 7 Pathways

Spanish nationality law is codified principally in articles 17 to 26 of the Spanish Civil Code, with procedural development in the Reglamento del Registro Civil, in the Ley Orgánica 4/2000 on the rights of foreign nationals, and in the implementing regulations updated by Real Decreto 1155/2024, in force since 20 May 2025. Recent statutory additions — notably the Ley 20/2022 de Memoria Democrática and the Convenio between Spain and France on nationality in force since 1 April 2022 — have expanded the framework substantially in the past three years.

The system recognises seven distinct pathways to Spanish nationality. Each has its own substantive requirements, evidentiary logic and procedural rhythm. The strategic question is not whether you “qualify” for nationality in general, but which specific pathway fits your situation — and whether the pathway you assume applies is actually the one Spanish law recognises.

This article maps the complete framework. For the specific question of whether you can retain your original nationality alongside Spanish, our satellite note on Spanish dual citizenship develops that point in detail.

The seven pathways to Spanish nationality

Spanish nationality law — decision tree illustrating the routes to Spanish citizenship by residence, descent, option and possession of state under articles 17-26 of the Civil Code.

The pathways fall into two structural categories: nationality of origin (acquired at or near birth, treated as if it had always existed) and nationality acquired subsequently (granted by administrative decision based on residence, option, possession of state, or carta de naturaleza). The distinction matters because nationals of origin cannot, under article 11 of the Spanish Constitution, be deprived of their nationality, whereas acquired nationality can be lost under specific conditions of article 25 CC.

Pathway Legal basis Typical profile
By origin (ius sanguinis) Art. 17.1.a CC Children of Spanish nationals, regardless of place of birth
By origin (limited ius soli) Art. 17.1.b, 17.1.c CC Children born in Spain with rooted families, or to prevent statelessness
By option Art. 20 CC Persons with parents Spanish by origin, late-determined filiation, adoption after 18
By residence Art. 22 CC Foreign residents after 10 years (or reduced periods)
By carta de naturaleza Art. 21.1 CC Granted discretionally by Royal Decree on exceptional circumstances
By possession of state Art. 18 CC Person who held and used Spanish nationality in good faith for 10 years
By Memoria Democrática DA 8ª Ley 20/2022 Descendants of Spanish exiles (specific historical scope)
Need Legal Guidance?

Need help with your case in Spain?

If this article applies to your situation, contact our team for tailored legal guidance and clear next steps.

Nationality by origin — the ius sanguinis principle

Spanish nationality of origin operates principally under the ius sanguinis principle codified in article 17.1.a of the Civil Code: a person born to a Spanish father or mother is Spanish by origin regardless of place of birth. This is the foundational rule and applies independently of where the parent was born or where the child is born.

The Civil Code adds limited ius soli provisions designed to prevent statelessness and to recognise families with deep roots in Spain. Article 17.1.b grants nationality of origin to persons born in Spain to foreign parents if at least one of those parents was also born in Spain. Article 17.1.c grants nationality of origin to persons born in Spain to foreign parents when the legislation of those parents does not attribute nationality to the child — a statelessness prevention rule that has produced substantial case law involving children of Argentinian, Cuban and certain other Latin American nationals whose home jurisdictions do not automatically transmit nationality to children born abroad.

Persons recognised as Spanish by origin under any of these provisions are protected by article 11 of the Constitution: they cannot be deprived of their nationality. This protection is the substantive difference between nationality of origin and acquired nationality.

Nationality by option under article 20 CC

Nationality by option is a right that the legal order confers on persons with close family connections to Spain but who do not automatically qualify as Spanish by origin. The right must be actively exercised within specific time windows.

The principal cases under article 20 CC are: persons under the legal patria potestas of a Spanish national; persons whose filiation or birth in Spain is determined after the age of eighteen, with a two-year window from the determination to exercise the option; persons adopted by a Spanish national after the age of eighteen, with a two-year window from the adoption; and persons whose father or mother was originally Spanish and born in Spain.

The latter category has acquired particular relevance after the Memoria Democrática reform: descendants of Spanish nationals who were originally Spanish but lost their nationality (typically exiled Republicans and their descendants) may exercise the option under specific transitional provisions.

Nationality by residence — article 22 CC

This is the most frequent pathway for foreign nationals who do not have Spanish family ties. The general rule of article 22.1 CC requires ten years of legal continuous residence in Spain. The same provision establishes a series of reduced periods for specific categories:

Five years for persons granted refugee status under the Geneva Convention regime.
Two years for nationals of Ibero-American countries (Argentina, Bolivia, Brazil, Chile, Colombia, Costa Rica, Cuba, Dominican Republic, Ecuador, El Salvador, Guatemala, Honduras, Mexico, Nicaragua, Panama, Paraguay, Peru, Uruguay, Venezuela), Andorra, the Philippines, Equatorial Guinea, Portugal, and Sephardic descendants under the regime developed by Ley 12/2015 (and now substantially absorbed by Ley 20/2022 for descendants).
One year for persons born in Spanish territory; spouses of Spanish nationals after one year of marriage without separation; widows or widowers of Spanish nationals who were not separated at the time of death; persons subject to Spanish patria potestas or guardianship; and persons whose father or mother (originally Spanish and born in Spain), grandfather or grandmother were originally Spanish.

The continuity requirement and STS 731/2023

Article 22.3 CC requires the residence to be “continuada”, a standard that the DGSJFP applies through case-by-case evaluation. Prolonged absences can reset the residence count. The doctrine of the Sentencia del Tribunal Supremo 731/2023, of 5 June (Sala Tercera, recurso 1843/2022) is now central to any discussion of continuity: the Tribunal Supremo declared that limitations on the fundamental rights of foreign nationals — including the right to free movement of article 19 CE — require organic law backing and cannot rest on regulatory practice alone. This reinforces the defensibility of files where absences were materially driven by professional, family or force majeure causes, and where the administrative challenge is grounded in regulatory thresholds rather than substantive legal grounds.

The good civic conduct and integration requirements

Beyond residence, article 22.4 CC requires good civic conduct and sufficient integration in Spanish society. Good conduct is evidenced principally by absence of criminal records in Spain and in the country of origin. Integration is evidenced administratively through two examinations managed by the Instituto Cervantes: the DELE A2 (basic Spanish language competence) and the CCSE (Knowledge of the Spanish Constitution and Sociocultural matters). Nationals of countries where Spanish is an official language are exempt from the DELE A2 requirement. Minors and persons with certified learning difficulties may also be exempt.

The CCSE certificate has a validity of four years. The DELE A2 certificate, once obtained, does not expire. Where the administrative backlog of the DGSJFP causes the procedure to exceed four years, the CCSE may need to be retaken — a procedural risk that is not always anticipated.

Nationality by carta de naturaleza — article 21 CC

Article 21.1 CC contemplates the grant of Spanish nationality by carta de naturaleza, a discretionary act of the Government materialised through Royal Decree on the basis of exceptional circumstances. The historical scope of this pathway has been narrow: prominent cases include grants to Sephardic Jewish descendants under the regime of Ley 12/2015, to certain international athletes representing Spain, and to public figures with strong ties to Spanish culture.

The discretionary nature of carta de naturaleza means there is no individual right to obtain it — the Government may grant or deny without being bound by the criteria applied to other pathways. The procedure is initiated by petition to the Ministry of Justice and may take years to resolve when accepted for consideration.

Nationality by possession of state — article 18 CC

A more technically interesting pathway is the consolidation of nationality by possession of state under article 18 CC: a person who has held and used Spanish nationality in good faith for ten years, based on title inscribed in the Civil Register, consolidates that nationality even if the original title turns out to be defective. This provision functions as a safety net for cases where someone has lived as Spanish, exercised the rights of a Spanish national, and complied with the corresponding obligations — and only later discovers a defect in the original attribution.

The provision is most relevant in cases of irregularly inscribed births, defective filiation determinations, or historical errors in the Civil Register. Its operation is conditional on good faith, which is evaluated at the time of acquisition, not later.

The Memoria Democrática route under Ley 20/2022

The Ley 20/2022 de Memoria Democrática reopened the pathway to nationality for descendants of Spanish exiles, with a transitional window that runs through the periods specified in its disposiciones adicionales. The framework is structured around three principal scenarios: persons born outside Spain to a father or mother who was originally Spanish; grandchildren of persons who lost or had to renounce Spanish nationality due to exile; and adult children of persons whose Spanish nationality was recognised under the earlier Ley 52/2007 de Memoria Histórica.

The defensibility of these claims depends on the documentary trail establishing the connection to the exiled ancestor and on the specific scenario invoked. For families with documented Republican exile history, this pathway can deliver Spanish nationality without prior residence in Spain — a powerful tool for transnational families with HNWI estate planning considerations.

The renunciation question and dual nationality

Article 23 CC requires, as a general rule, that the applicant renounce the prior nationality at the oath ceremony (jura de nacionalidad). The exceptions under article 24 CC and bilateral treaties are exhaustive: nationals of Ibero-American countries, Andorra, Portugal, the Philippines, Equatorial Guinea, Sephardic descendants, and French nationals since the 2022 treaty are exempt from renunciation.

The technical point most frequently overlooked: the renunciation is a formal act before Spanish authority, and its effectiveness against the legislation of the country of origin depends exclusively on that legislation. The United States, the United Kingdom and most non-Ibero-American jurisdictions do not recognise foreign renunciation as terminating their nationality. The Spanish ordering does not impede the resulting de facto dual nationality, but it does not protect it for all purposes either.

For HNWI clients with material assets in their origin jurisdiction, the cross-border analysis of renunciation consequences is the most consequential preparatory step. Our satellite note on Spanish dual citizenship develops this specific question, including the tax implications of formal US renunciation under IRC § 877A.

Documentary architecture of the application

Spanish nationality law — documentary architecture for the application showing the categories of evidence required under article 22 CC and the procedural stages.

The application file rests on four categories of evidence: identity and migratory status documentation, residence-period evidence, integration evidence, and good-conduct evidence. Each category has its own technical standards.

Foreign documents (notably birth certificates and criminal records from the country of origin) must be legalised through the Apostille of the Hague Convention of 1961, where the issuing country is party to the Convention, or through the consular legalisation chain in the absence of apostille. The translation must be performed by a sworn translator (traductor jurado) recognised by the Spanish Ministry of Foreign Affairs. A defective chain of legalisation or an unsworn translation forces the file to be reconstituted.

The Spanish criminal record certificate is issued by the Ministry of Justice and must be current at the time of filing. The empadronamiento certificate from the local town hall evidences current registered residence and is also subject to currency requirements. The DELE A2 and CCSE certificates from the Instituto Cervantes must be current under their respective validity rules.

The procedural framework — filing, silence and recourse

The application is filed before the Ministerio de Justicia, principally through the electronic procedure. The official maximum period for resolution is one year from the formal registration of the file under article 22.5 CC. In practice, the DGSJFP workload extends most files to one to three years.

The status can be tracked through the Ministry’s “Cómo va lo mío” portal. The principal status indicators are: Abierto – En tramitación (file registered, under instruction); Pendiente solicitud de informes preceptivos (mandatory reports being requested from CNI, police and other agencies); and En calificación (final evaluation phase by the DGSJFP, typically the longest).

The silence in this procedure operates as negative: the absence of express resolution within the legal period does not produce a favourable presumption. The defensibility of a blocked file rests on the contentious-administrative recourse before the Audiencia Nacional under the Ley 39/2015, which compels the Ministry to issue a reasoned decision within a contracted period.

After favourable resolution — the oath ceremony

Spanish nationality law — post-approval procedure showing the 180-day window for the oath ceremony under article 224 RRC, the Spanish birth certificate, the DNI and the passport.

Notification of the favourable resolution opens a window of 180 days under article 224 of the Reglamento del Registro Civil to attend the oath ceremony (jura de nacionalidad). The ceremony can be held before the Registro Civil of the place of registered residence or, alternatively, before a public notary. The notarial option is operationally faster in jurisdictions where the Registro Civil has long appointment queues; the substantive effect is identical.

At the ceremony, the applicant: swears or promises fidelity to the King and obedience to the Constitution and the laws; declares the position on prior nationality (renunciation or retention, according to the applicable regime); and registers the Spanish name and surnames that will appear in the Civil Register.

The Registro Civil then issues the Spanish birth certificate (partida de nacimiento literal), which constitutes the documentary base for requesting the DNI and the Spanish passport at the Comisaría de Policía Nacional. The DNI is typically issued at the appointment; the passport may require a separate appointment depending on the office.

Loss of Spanish nationality — article 25 CC

Acquired Spanish nationality may be lost under specific conditions of article 25 CC. The principal scenarios are: voluntary acquisition of a different nationality after three years of residence abroad, where the acquired nationality is not exempted by article 24 CC; voluntary use of a nationality the person had renounced before becoming Spanish; and a sentence by a Spanish court declaring forfeiture in cases of false declaration or concealment in the original procedure.

Nationality of origin cannot be lost under article 11 of the Constitution. This is the substantive protection that distinguishes original from acquired nationality.

Tax and patrimonial implications of nationality acquisition

The acquisition of Spanish nationality does not by itself modify tax residence. Tax residence is determined by the criteria of article 9 of the Ley 35/2006 LIRPF: physical permanence above 183 days, location of the centre of economic interests, and presumption based on habitual residence of spouse and dependent children. Nationality is independent of these criteria.

In practice, however, most applicants who acquire Spanish nationality through the residence pathway are already Spanish tax residents at the time of acquisition. The change of identifier from NIE to DNI/NIF triggers a series of administrative updates — bank accounts, registered property, corporate filings, AEAT census — that should be planned rather than handled reactively. The interaction with double taxation conventions, certain of which contain nationality-tied provisions, also warrants preparatory analysis for HNWI profiles.

When professional guidance for Spanish nationality matters most

Simple residence-based applications with clean records and clear pathway fit can be handled with administrative support without significant legal input. Where strategic legal preparation adds material value is in scenarios involving complexity in any of these dimensions:

Mixed residence history with multiple permit types, where the time computable for naturalisation differs from the time held in Spain.
Family connection that may open an alternative pathway under article 17, article 20 or the Memoria Democrática regime.
Need to renounce the prior nationality with material patrimonial or fiscal consequences in the country of origin.
Application blocked by administrative inactivity beyond the legal period.
Prior denial of nationality requiring strategic restructuring of the file before re-presentation.

Frequently asked questions on Spanish nationality law

How long can I be outside Spain and still qualify for nationality by residence?

The Civil Code requires the residence to be “continuada” but does not establish a rigid numerical threshold for permissible absences. The DGSJFP evaluates continuity case by case. Substantial uninterrupted absences (typically beyond six months in a single stretch) and patterns of frequent or prolonged travel can break the continuity requirement, particularly in the period immediately preceding the application. The doctrine of STS 731/2023 reinforces the position of applicants whose absences were grounded in substantive professional or family causes rather than questioned on regulatory grounds alone. The defensibility of any borderline file depends on the early documentation of the residence trajectory.

Do my DELE A2 and CCSE certificates expire?

The DELE A2 certificate, once obtained, does not expire. The CCSE certificate has a validity of four years. Given that the DGSJFP processing can exceed that period in some files, the CCSE may need to be retaken if the procedure is delayed. The practical answer still requires verifying the current validity of both certificates at the time the file is finally evaluated.

Can a person be Spanish without ever having lived in Spain?

Yes, under several pathways. A child born abroad to a Spanish national is Spanish by origin under article 17.1.a CC regardless of place of residence. The Memoria Democrática regime of Ley 20/2022 grants nationality to descendants of Spanish exiles without prior residence in Spain. Carta de naturaleza is granted discretionally in exceptional cases without residence. The substantive question is which pathway applies, not whether residence is needed for all pathways.

What is the practical difference between Spanish nationality of origin and acquired nationality?

Nationality of origin is protected by article 11 of the Spanish Constitution and cannot be removed. Acquired nationality may be lost under the conditions of article 25 CC, principally the voluntary acquisition of a different non-exempted nationality after three years of residence abroad. The defensibility of any patrimonial or estate planning strategy that depends on the nationality status should account for this distinction.

Can I work in other EU countries with Spanish nationality?

Yes. Spanish nationality confers full EU citizenship, with the rights of free movement, work, study and residence in any of the 27 Member States under article 20 of the Treaty on the Functioning of the European Union. The acquisition of Spanish nationality is, in fact, one of the principal mobility benefits sought by applicants from non-EU jurisdictions, particularly after Brexit for UK nationals and persistently for applicants from Venezuela, Colombia and other Latin American countries.

What happens if my nationality application is denied?

The denial resolution sets out the legal grounds that the file must address on appeal. The administrative appeal (recurso de reposición) has a one-month window from notification, and the contentious-administrative route before the Audiencia Nacional has two months. The defensibility of an appeal depends on whether the denial reflects a defect that can be cured or one that requires a fresh filing under a different framing. The practical answer typically requires confirming the technical grounds of the denial before deciding the route.

Conclusion — the substance is in the pathway selection

Spanish nationality law offers seven legally recognised pathways to citizenship, each with its own substantive logic and procedural rhythm. The most common pathway (by residence under article 22 CC) is also the most operationally challenging due to the continuity requirement and the integration component. The less common pathways (option, possession of state, Memoria Democrática, carta de naturaleza) often deliver faster outcomes for the profiles they fit — but require precise identification at the start of the procedure.

The strategic question is rarely whether nationality is available in principle; it is which pathway is legally optimal and operationally defensible for the specific applicant. Once the pathway is chosen, the file must be structured to meet the standard the DGSJFP applies, which has tightened progressively over recent years.

For the specific question of whether your original nationality can be retained alongside Spanish, see our satellite note on Spanish dual citizenship. For the broader framework of immigration status that often precedes naturalisation, our notes on family reunification and non-lucrative residence map the typical entry pathways. Legal Fournier advises international clients on the complete trajectory from first entry through naturalisation and post-acquisition planning.

Legal Disclaimer. This article is for informational purposes only and does not constitute legal advice. Every case involves specific facts and circumstances that may affect the outcome under the Spanish Civil Code (articles 17 to 26), the Ley Orgánica 4/2000, the Real Decreto 1155/2024, the Ley 20/2022 de Memoria Democrática, the bilateral treaties applicable, and the Ley 39/2015 of administrative procedure. Legal Fournier recommends seeking professional legal guidance, on a paid consultation basis, before taking any action based on the information contained in this article.

Share your love
Francisco Ordeig Fournier
Francisco Ordeig Fournier

Lawyer for Spanish immigration, tax, property and business matters

Practical legal guidance for international clients through one coordinated firm.

Bar registration number 2330

Book a consultation

Articles: 302