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

How long can I leave Spain without losing residence for nationality?

Updated:

The law does not set a number of days. What is required is continuous residence, with Spain remaining the centre of your life.[1][2] Short absences are not a problem; from around 3 months in a row or 6 months in total, it is wise to have proof of the reason.

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:

  • To obtain EU long-term residence, absences do not break continuity if they do not exceed 6 months in a row or 10 months in total over 5 years[3] (RD 1155/2024, art. 176).
  • Long-term residence is lost after 12 months in a row outside the EU.[4]
  • Temporary residence no longer ends because of more than 6 months abroad: the Supreme Court struck down that ground in 2023. But that concerns the validity of the card, not the continuity requirement for nationality.[5]

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.

SituationRisk
Holidays and short tripsLow
More than 90 days in a row or more than 6 months in totalYou may be asked: keep proof
Moving your life to another countryHigh: continuity is probably broken

What proof to keep

  • Tickets or boarding passes with departure and return dates.
  • The reason: medical report, death certificate of a relative, letter from your employer for a business trip, documents from a consular procedure.
  • Proof that your life remained in Spain: employment or rental contract, payslips, children’s school enrolment.

Sources

  1. Código Civil, art. 22 (BOE)
  2. Tribunal Supremo, sentencia de 24/10/2016, y Audiencia Nacional, sentencia de 06/04/2017
  3. RD 1155/2024, art. 176: ausencias en la larga duración-UE (BOE)
  4. RD 1155/2024, Reglamento de Extranjería (BOE)
  5. Tribunal Supremo, STS 731/2023
  6. Audiencia Nacional, SAN 1970/2026 (Sección 2.ª)

Keep reading

Absences and Spanish nationality: how long you can be away from Spain