How long can I leave Spain without losing residence for nationality?
Updated:
What the law says
Article 22.3 of the Spanish Civil Code requires «continuous» residence, but neither the Civil Code nor the nationality regulation says how many days you can spend abroad. There is no official figure for nationality.[1]
The figures that circulate come from other rules that do not apply to nationality, although they are a useful reference:
What the courts look at
Case law does not count days mechanically. It looks at whether the trips were occasional and justified and whether your life remained in Spain: work, home, family, children’s schooling.[2]
A recent example: in SAN 1970/2026, a Venezuelan minor was outside Spain for more than 4 months (from November 2020 to March 2021) because of COVID and a passport problem. The court found the absence justified and recognised continuous residence.[6]
A prudent benchmark
Several sources use 90 days in a row or 6 months in total during the period as a benchmark. It is not a rule, but above those figures you are more likely to be asked about it. Our calculator does not block the calculation: it warns you so you can prepare proof.
| Situation | Risk |
|---|---|
| Holidays and short trips | Low |
| More than 90 days in a row or more than 6 months in total | You may be asked: keep proof |
| Moving your life to another country | High: continuity is probably broken |
What proof to keep
Sources
- Código Civil, art. 22 (BOE)
- Tribunal Supremo, sentencia de 24/10/2016, y Audiencia Nacional, sentencia de 06/04/2017
- RD 1155/2024, art. 176: ausencias en la larga duración-UE (BOE)
- RD 1155/2024, Reglamento de Extranjería (BOE)
- Tribunal Supremo, STS 731/2023
- Audiencia Nacional, SAN 1970/2026 (Sección 2.ª)