Spanish nationality is governed principally by Articles 17 to 26 of the Spanish Civil Code. For nationality by residence, the main procedural rules are found in Royal Decree 1004/2015 and Order JUS/1625/2016.
Spanish nationality and Spanish residence are different legal regimes. A residence permit may be essential for an application under Article 22 of the Civil Code, but immigration rules do not themselves create a right to nationality. The first question is therefore which legal route applies to the applicant.
This guide organises the framework into seven routes. Six remain part of the ordinary legal framework. The seventh, the special option under the Democratic Memory Law, is closed to new applications, although applications and certain appointment requests made within the deadline may still be processed.
The seven routes to Spanish nationality
| Route | Legal basis | Who it may cover |
|---|---|---|
| Nationality of origin | Article 17 Civil Code | Children of Spanish parents and the limited birth-in-Spain cases listed by law |
| Adoption by a Spanish national | Article 19 Civil Code | Adopted minors and, through an option, persons adopted after turning 18 |
| Possession and use of Spanish nationality | Article 18 Civil Code | People who have possessed and used Spanish nationality in good faith for ten years under a title recorded in the Civil Registry |
| Option | Article 20 Civil Code | Specific persons with a close legal or family connection to a Spanish national |
| Nationality by residence | Articles 21.2 and 22 Civil Code | Applicants who meet the required period of legal, continuous and immediately prior residence |
| Carta de naturaleza | Article 21.1 Civil Code | Exceptional cases decided discretionally by the Government by Royal Decree |
| Democratic Memory Law option | Additional Provision 8, Law 20/2022 | A temporary route that closed to new applications on 22 October 2025 |
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.
1. Spanish nationality of origin under Article 17
Article 17 of the Civil Code recognises the following people as Spanish nationals of origin:
- A person born to a Spanish father or mother.
- A person born in Spain to foreign parents when at least one parent was also born in Spain. Children of foreign diplomatic or consular officials accredited in Spain are excluded from this rule.
- A person born in Spain to foreign parents when both parents are stateless or neither parent’s law gives the child a nationality.
- A person born in Spain whose parentage is not determined. A minor whose first known place of stay is Spain is presumed, for this purpose, to have been born in Spain.
Birth in Spain does not, by itself, make every child Spanish. The exact position depends on the parents’ nationality, place of birth and national laws. Cases involving possible statelessness require evidence of the foreign law and the child’s civil-status records.
If parentage or birth in Spain is established only after the person turns 18, Article 17.2 gives the person a two-year period from that determination to opt for Spanish nationality of origin.
2. Adoption by a Spanish national under Article 19
A foreign child under 18 who is adopted by a Spanish national acquires Spanish nationality of origin from the date of adoption. If the adopted person is already 18 or older, the adoption does not produce nationality automatically, but the person may opt for Spanish nationality of origin within two years of the adoption.
3. Consolidation through possession and use under Article 18
A person may consolidate Spanish nationality after possessing and using it continuously and in good faith for ten years under a title recorded in the Civil Registry, even if the original title is later annulled. This is a narrow route. It is not a substitute for nationality by residence and requires proof of the registered title, good faith and continuous possession and use as a Spanish national.
4. Nationality by option under Article 20
Article 20 gives a right to opt for Spanish nationality to:
- people who are or have been subject to the parental authority of a Spanish national;
- people whose father or mother was originally Spanish and born in Spain; and
- people covered by Article 17.2 or Article 19.2 of the Civil Code.
The person who makes the declaration and the applicable time limit depend on the applicant’s age, emancipation and support needs. The option based on a father or mother who was originally Spanish and born in Spain is not subject to an age limit under Article 20.3.
5. Spanish nationality by residence
Nationality by residence is granted by the Minister of Justice. The applicant must prove the required period of residence and, under Article 22.4, good civic conduct and a sufficient degree of integration into Spanish society.
Required residence periods
The general period is ten years. The Civil Code reduces it in the following cases:
- Five years: people who have obtained refugee status.
- Two years: nationals of origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea or Portugal, and Sephardim.
- One year: the cases expressly listed in Article 22.2.
The one-year cases are:
- a person born in Spanish territory;
- a person who did not exercise a right to opt for Spanish nationality within the applicable period;
- a person who was legally under the guardianship, curatorship with full representative powers, custody or foster care of a Spanish citizen or institution for two consecutive years;
- a person who, at the time of the application, has been married to a Spanish national for one year and is not legally or de facto separated;
- the widow or widower of a Spanish national if the spouses were not legally or de facto separated at the date of death; and
- a person born outside Spain to a father, mother, grandfather or grandmother who was originally Spanish.
Legal, continuous and immediately prior residence
Article 22.3 requires residence to be legal, continuous and immediately prior to the application. The Civil Code does not set a universal number of permitted days outside Spain. Absences must be assessed in the context of the full residence history, their duration and frequency, and the evidence connecting the applicant to Spain.
Residence for immigration purposes and residence that counts for nationality are not always identical. Periods of stay, study or an irregular status should not be assumed to count without checking the legal basis and the applicant’s records.
Supreme Court Judgment 731/2023 of 5 June concerned the regulatory extinction of a temporary residence authorisation because of absence from Spain. It should not be presented as establishing a new numerical rule for continuity in nationality applications under Article 22 of the Civil Code.
Good civic conduct and integration
Good civic conduct is not established solely by the absence of criminal convictions. Criminal and police records are important, but the Ministry assesses the evidence as a whole. A previous record, pending proceeding or other adverse information requires an individual analysis of its nature, date, outcome and relevance.
Adult applicants normally prove integration through the CCSE test and, unless exempt, a DELE Spanish-language qualification at A2 level or above. The rules differ for applicants from Spanish-speaking countries, minors and people entitled to a dispensation or reasonable adjustments. The current requirements should be checked on the Ministry of Justice nationality-by-residence page and the official Instituto Cervantes pages before filing.
A pending application should not be described as automatically requiring a new CCSE certificate merely because more than four years have passed. Any request for updated evidence must be assessed from the official notice and the rules applicable to the file.
6. Carta de naturaleza under Article 21.1
Spanish nationality may be granted by carta de naturaleza when exceptional circumstances exist. The Government decides this route discretionally by Royal Decree. It is not an entitlement and it is not governed by the ordinary residence periods in Article 22.
The Ministry of Justice describes it as a discretionary procedure outside the ordinary rules of administrative procedure. Applicants should not rely on it simply because another nationality route is difficult or unavailable.
7. Democratic Memory Law: closed to new applications
The temporary option in Additional Provision 8 of Law 20/2022 on Democratic Memory closed to new applications on 22 October 2025. It is not a route for a person starting a new application after that date.
Applications lodged within the deadline may continue to be processed. The treatment of an appointment requested before the deadline depends on the official system used, the receipt issued and the applicable consular or Civil Registry instructions. Those files should be reviewed using the exact submission or appointment evidence.
Renunciation and dual nationality
Article 23 of the Civil Code generally requires a person acquiring nationality by option, carta de naturaleza or residence to declare that they renounce their previous nationality. The Civil Code exempts nationals of origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, as well as Sephardim originating from Spain. The Spain-France Nationality Convention also permits French and Spanish nationals to acquire the other nationality while retaining their existing nationality.
The effect of a declaration made before Spanish authorities on the person’s original nationality depends on the law of the other country. It should not be assumed that every country treats the declaration in the same way. Our separate guide to Spanish dual citizenship explains the Spanish framework in more detail.
Documents for a nationality-by-residence application
The exact document list depends on the applicant. Common items include identity documents, proof of legal residence, a birth certificate, criminal-record evidence where required, proof of payment of the official fee, and evidence of integration or an exemption.
Foreign public documents may require an apostille or diplomatic legalisation and a sworn translation into Spanish. Exceptions may apply under European Union rules, international conventions or the specific document regime. The applicant should use the current official checklist rather than assume that every foreign document must follow the same route.
The electronic form may allow the applicant to authorise the authorities to obtain certain Spanish records directly. If that authorisation is not given or the data cannot be consulted, the authority may require the relevant certificate.
Application, legal time limit and administrative silence
Nationality-by-residence applications can be filed electronically through the Ministry of Justice. Article 11.3 of Royal Decree 1004/2015 states that the procedure must be decided and notified within one year from the date the application enters the competent Directorate-General. If no express decision is issued within that period, the application is deemed dismissed for the purpose of administrative silence.
Administrative silence does not close the file or guarantee that immediate litigation is the best option in every case. The appropriate step depends on the file status, evidence, timing and the applicant’s objective. A refusal or other formal notice should be reviewed promptly because the available remedies and deadlines are stated in the notification and can be short.
After approval: the 180-day period
A grant of nationality by residence or carta de naturaleza expires if the applicant does not appear before the competent official and complete the requirements in Article 23 within 180 days of notification. Royal Decree 1004/2015 calculates the 180 days from the day after notification.
The required acts include the oath or promise of fidelity to the King and obedience to the Constitution and laws, the declaration concerning the previous nationality when applicable, and the Civil Registry inscription. The applicant should verify the competent office, appointment channel and documents for the specific case. Only after the relevant registration can the person obtain the Spanish birth certificate needed for a DNI and passport.
Loss and recovery of Spanish nationality
The rules on loss are divided between Articles 24 and 25 of the Civil Code.
- Article 24 covers, among other cases, emancipated Spanish nationals habitually resident abroad who voluntarily acquire another nationality or exclusively use a foreign nationality previously held. It also provides a declaration of conservation in specified cases and contains special rules for people born and resident abroad.
- Article 25 applies to Spanish nationals who are not Spanish by origin. It covers exclusive use for three years of the nationality they declared they renounced, and voluntary service in foreign armed forces or political office against an express Government prohibition. Fraud, concealment or falsehood in the acquisition may result in judicial annulment.
Article 11.2 of the Spanish Constitution states that no Spanish national of origin may be deprived of nationality. This does not mean that nationality of origin can never be lost. Article 24 must still be considered, including the possibility of making a declaration of conservation.
Article 26 regulates recovery after loss. The requirements depend on the reason for the loss and the person’s circumstances.
Tax consequences
Acquiring Spanish nationality does not, by itself, determine Spanish tax residence. Tax residence is assessed under the applicable tax rules, including Article 9 of the Personal Income Tax Law, and any relevant tax treaty.
A change from a foreigner’s identity number to a DNI/NIF may require practical updates with banks, employers, companies, property records and tax authorities. Those administrative updates should not be confused with a change in tax residence.
Frequently asked questions
Does being born in Spain automatically make a person Spanish?
No. Birth in Spain produces nationality of origin only in the specific cases listed in Article 17. A person born in Spain who is not Spanish by origin may qualify for the one-year residence period under Article 22.2(a).
How long may an applicant stay outside Spain?
The Civil Code does not provide one universal numerical limit. The Ministry assesses whether residence was legal, continuous and immediately prior to the application. The complete travel and residence history should be reviewed before filing.
Can someone become Spanish without living in Spain?
Yes, in routes that do not require residence, such as nationality of origin, certain options, adoption and carta de naturaleza. The Democratic Memory Law route is closed to new applications.
Can a Spanish national work in another European Union country?
Spanish nationals are citizens of the European Union and benefit from EU free-movement rights, subject to the rules applicable in the destination country.
What should be done after a refusal?
The refusal should be analysed using the exact legal and factual grounds stated in the notification. The correct response may be an administrative appeal, a contentious-administrative claim or a new application, but the decision depends on the defect identified and the applicable deadline.
When the route or evidence needs individual review
Spanish nationality files are sensitive to legal classification and dates. The relevant route determines the residence period, whether continuity is required and which civil-status facts matter.
Individual review is warranted where absences may interrupt residence, names or civil records are inconsistent, the applicant has received a refusal, or the competent filing route is unclear. These issues should be tested against the complete history rather than reduced to a universal evidence list.
Legal Fournier advises on nationality through its Spanish nationality by residence service. To assess the appropriate route, evidence problem or appeal deadline, book a paid consultation.
Legal disclaimer: This article provides general information and is not legal advice. Nationality cases depend on the applicant’s facts, dates, documents and the law in force when the authorities decide the relevant issue.



