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". On the approach we know from case law (we have not verified a specific judgment), 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 the administrative practice we know of (a practice benchmark with no published official source, not an article of law; an individual case may differ), 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.2), during the processing of the file the administration consults, if you have authorised it in your application, your padrón at the INE, your criminal record in the Registro Central de Penados and your DELE and CCSE results; if you do not authorise the consultation, you must provide the certificates yourself. On its own initiative it also requests the mandatory report of the Ministry of the Interior and the report of the CNI. A gap in your padrón will show up in the file.
- Padrón (empadronamiento): with your express authorisation in the application, your records are requested from the INE, which hands over your entire registration history; if you do not authorise the consultation, you must provide the certificado de empadronamiento. A gap in your padrón = a gap in your file.
- 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.
- Criminal records in the Registro Central de Penados and your DELE and CCSE results (with your express authorisation; otherwise the certificates are provided by you), residence data held by the immigration authorities, and 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. In the courts' practice (we have not verified specific judgments), effective residence is required (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.
