When can I apply for Spanish nationality by residence?
Updated:
Residence periods
Article 22 of the Spanish Civil Code sets how many years of residence you need[1]:
| Situation | Years of residence |
|---|---|
| General rule | 10 years |
| Refugees (with recognised status) | 5 years |
| Nationals by origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, and Sephardic Jews | 2 years |
| Born in Spain | 1 year |
| Married to a Spaniard for at least 1 year, not separated | 1 year |
| Widows and widowers of a Spaniard | 1 year |
| Born outside Spain to a father, mother, grandfather or grandmother who was Spanish by origin | 1 year |
| Someone who did not exercise the right of option in time | 1 year |
| Someone who spent 2 years under the guardianship, care or foster care of a Spaniard or a Spanish institution | 1 year |
If you fit more than one case, the shortest period applies.[2] The full list of 2-year countries is in Spanish nationality in 2 years, and marriage is covered in married to a Spaniard.
What residence counts
The same article requires residence to be legal, continuous and immediately before the application.[1] In practice:
When the count starts
The general rule is to count from the date the first residence authorisation was granted, not from the date of the card (TIE), which only proves it.[5] Some exceptions move the start earlier or later:
Several Audiencia Nacional rulings count from the date the permit was requested, not from when it was granted.[10][2][6] Our calculator uses the grant date, the more prudent reading: it may give you a slightly later date, never one that is too early.
The exact day you can apply
The period is counted from date to date.[11] To make sure you are not a day short, the prudent choice is to apply the day after the anniversary. For example, with 2 years of residence from 1 March 2025, the prudent date is 2 March 2027.
On the day you apply, you must also have a valid authorisation, have passed the exams unless you are exempt (see DELE and CCSE) and have documents that are still valid[12] (see documents).
What does not depend on time
Meeting the years is not enough: good civic conduct and integration are also assessed.[1] If you have a criminal or police record, serious fines or an expulsion, your case needs professional review before you file anything.
Sources
- Código Civil, art. 22 (BOE)
- Audiencia Nacional, SAN 3989/2026 (Sección 1.ª)
- Ley 12/2009, de asilo y protección subsidiaria, arts. 3 y 4 (BOE)
- RD 1004/2015, art. 5: documentos (BOE)
- RD 1155/2024, Reglamento de Extranjería (BOE)
- Audiencia Nacional, SAN 2718/2024 (Sección 5.ª)
- Tribunal Supremo, sentencia de 19/07/2017, rec. 17/2016
- Audiencia Nacional, sentencia de 2025 comentada en Economist & Jurist (02/04/2025)
- Audiencia Nacional, SAN 1970/2026 (Sección 2.ª)
- Audiencia Nacional, SAN 271/2023
- Ley 39/2015, art. 30: cómputo de plazos (BOE)
- Ministerio de Justicia: preguntas frecuentes sobre nacionalidad (PDF)