The basic periods: art. 22 of the Civil Code
Citizenship by residence (nacionalidad por residencia) is governed by art. 22 of the Spanish Civil Code. The general rule is 10 years of legal residence. Reduced periods:
| Period | Who qualifies |
|---|---|
| 10 years | The general rule for everyone |
| 5 years | People granted refugee status |
| 2 years | Nationals by origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea or Portugal, and Sephardic Jews |
| 1 year | Six cases under art. 22.2: born on Spanish territory; an unexercised right of option; two years under guardianship or foster care; marriage to a Spanish citizen (1 year); widowed spouse of a Spanish citizen; descendants of Spaniards |
Three conditions — miss one and the clock doesn't count
Art. 22.3 CC sets three requirements for your residence — all three at once:
- Legal — time spent in residence status, not merely being in the country.
- Continuous (continuada) — no breaks in status and no moving your real life outside Spain.
- Immediately before the application (inmediatamente anterior a la petición) — the period must run right up to the moment you apply. Years lived long ago, followed by leaving the country, don't work.
Separately, art. 22.4 CC requires you to prove buena conducta cívica (good civic conduct) and sufficient integration into Spanish society — that's what the DELE and CCSE exams of the Instituto Cervantes are for.
"Residencia" and "estancia" are not the same thing
The Civil Code doesn't spell out what "legal residence" means — the immigration law (LO 4/2000) does. Art. 29 distinguishes two situations a foreigner can be in: estancia (stay) and residencia (residence). Only residence counts towards citizenship.
Continuity: what breaks the clock and what doesn't
Continuity doesn't mean "not a single day abroad". The Tribunal Supremo held back in its judgment of 23.11.2000: a short, justified absence doesn't break continuity as long as you don't move your habitual home outside Spain. Residence is where your life is centred, not physical presence every single day.
Under settled administrative practice (a practice benchmark, not an article of law), what's considered acceptable is a single absence of up to 6 consecutive months for the 10-year period and up to 3 consecutive months for the reduced periods (1/2/5 years). This is about one continuous absence, not the sum of all your trips.
How the state checks your period
The check is not a formality. Under the current procedure (Orden JUS/1625/2016, art. 7), in every citizenship file the administration must:
- Request your padrón (empadronamiento) records directly from the INE — the statistics institute hands over your entire registration history. A gap in your padrón = a gap in your file, and they'll see it without your involvement.
- Request a mandatory report from the Ministry of the Interior on whether you meet the requirements of art. 22 CC — including an assessment of your "conduct and situation" regarding your entry and residence obligations.
- Check criminal records in the Registro Central de Penados, your DELE and CCSE results, residence data held by the immigration authorities, and request a report from the CNI.
A formal permit is not yet proven residence
The most underestimated reason for refusals: a residence card alone doesn't prove you actually lived in Spain. The courts (Tribunal Supremo, Audiencia Nacional) require effective residence — a real connection to the territory: work, family, social ties. If some period shows no trace of life in the country, that period may not be counted even if your status was in order.
What works as proof of real residence:
- An unbroken empadronamiento history — the baseline document, checked first.
- Vida laboral — your employment and contributions record.
- A rental contract or property, utility bills.
- Health insurance, work, family and social ties.