This page was translated from Spanish with the help of AI. If in doubt, the Spanish version prevails.

When can I apply for Spanish nationality by residence?

Updated:

It depends on your country and your situation: 10 years as a general rule, 5 if you are a refugee, 2 if you are from an Ibero-American country, Andorra, the Philippines, Equatorial Guinea or Portugal, and 1 if you were born in Spain or have been married to a Spaniard for a year, among other cases. Residence must be legal, continuous and immediately before the application.[1]

Residence periods

Article 22 of the Spanish Civil Code sets how many years of residence you need[1]:

SituationYears of residence
General rule10 years
Refugees (with recognised status)5 years
Nationals by origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, and Sephardic Jews2 years
Born in Spain1 year
Married to a Spaniard for at least 1 year, not separated1 year
Widows and widowers of a Spaniard1 year
Born outside Spain to a father, mother, grandfather or grandmother who was Spanish by origin1 year
Someone who did not exercise the right of option in time1 year
Someone who spent 2 years under the guardianship, care or foster care of a Spaniard or a Spanish institution1 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.

Subsidiary protection is not the same as refugee status: the Civil Code only cuts the period to 5 years for refugees. With subsidiary protection, the prudent reading is to count 10 years.[1][3]

What residence counts

The same article requires residence to be legal, continuous and immediately before the application.[1] In practice:

  • It counts: time with a residence authorisation (arraigo, work, family reunification, non-lucrative, long-term) or with an EU registration certificate or card.[4]
  • It does not count: time as a tourist, in an irregular situation, on a student stay or, in principle, as an asylum seeker with the «red card».[5]
  • They do not count on their own: the padrón (municipal register) or Social Security registration. What matters is having a residence authorisation.[6][7]
  • If there is a period without authorisation, the count starts again after that period.[8][6] We explain this in late renewal.
  • There is no legal limit on days outside Spain, but long absences must be justifiable.[1][9] See absences.

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:

  • Initial work authorisation: it takes effect on the day you are registered with Social Security.
  • Extraordinary arraigo and arraigo for international protection applicants: once granted, it is valid from the date it was requested.
  • Granted renewals: valid from the day after the previous one expired, so they leave no gap.

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

  1. Código Civil, art. 22 (BOE)
  2. Audiencia Nacional, SAN 3989/2026 (Sección 1.ª)
  3. Ley 12/2009, de asilo y protección subsidiaria, arts. 3 y 4 (BOE)
  4. RD 1004/2015, art. 5: documentos (BOE)
  5. RD 1155/2024, Reglamento de Extranjería (BOE)
  6. Audiencia Nacional, SAN 2718/2024 (Sección 5.ª)
  7. Tribunal Supremo, sentencia de 19/07/2017, rec. 17/2016
  8. Audiencia Nacional, sentencia de 2025 comentada en Economist & Jurist (02/04/2025)
  9. Audiencia Nacional, SAN 1970/2026 (Sección 2.ª)
  10. Audiencia Nacional, SAN 271/2023
  11. Ley 39/2015, art. 30: cómputo de plazos (BOE)
  12. Ministerio de Justicia: preguntas frecuentes sobre nacionalidad (PDF)

Keep reading

When can I apply for Spanish citizenship? 10, 5, 2 and 1-year rules