Bounded
Citizenship

Spain — Citizenship (Nationality via Residency)

The Bounded TeamUpdated July 10, 2026

Summary

Limit
180 days (6 months) in one continuous absence
Window
A single uninterrupted trip abroad
Applies to
Legal residence during the qualifying period
What it protects
Continuous residence for nationality
Basis
Código Civil Art. 22

To acquire Spanish nationality by residency, you must keep legal and continuous residence in Spain throughout your qualifying period. In practice a single continuous absence of more than 180 days (6 months) breaks that continuity, so keeping any one trip under the 180-day mark preserves it. The requirement flows from Article 22 of the Código Civil, which demands residence that is legal, continuous, and immediately prior to the application — the day count itself is the conservative threshold practitioners apply, not a figure written into the law.

Who it applies to

This matters most if you are:

  • A legal resident building toward naturalisation who needs to travel for long stretches — a sabbatical, an overseas work posting, or extended family time abroad.
  • On the reduced 2-year track (nationals of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea, Portugal, and Sephardic Jews) or the 1-year track (e.g. spouses of Spanish nationals), where a single long trip can consume a large share of a short qualifying period.
  • Anyone whose registered residence (empadronamiento) or residence permit has gaps that could undermine a claim of continuous residence.

It applies regardless of nationality — the test is about the legality and continuity of your residence, not your citizenship or visa category.

The rule — and why it exists

Under Código Civil Art. 22, nationality by residence requires residence that is legal, continuous, and immediately prior to the application. Two things follow from that:

  • The single-absence cap. A continuous trip abroad of more than 180 days (about six months) is widely treated as breaking that continuity, resetting the qualifying clock.
  • The overall pattern. Continuity is judged on the whole picture, so a series of frequent or lengthy absences can also weigh against a claim even if no single trip crosses the line.

Why it exists: naturalisation is meant to recognise people who have genuinely made Spain the centre of their life. Requiring continuous, immediately-prior residence — and treating a long absence as a break — stops someone qualifying purely on paper while actually living elsewhere.

Counting the days

This rule is about the length of a single, uninterrupted trip — not a rolling annual total. You count the consecutive days you are away from Spain.

  1. 1Start counting from the day you leave Spain on one trip.
  2. 2Add up the consecutive days you remain outside the country without returning.
  3. 3If a single absence runs longer than 180 days (more than 6 months), your residency continuity is treated as broken.
  4. 4Returning to Spain before the 180-day mark keeps that trip within the limit and preserves continuity.

Because the trigger is one continuous absence, a long single stint abroad is the classic way this limit is crossed — but keep evidence of your travel dates, because your overall time away can still be reviewed.

Examples

Example 1 — one long trip breaks continuity

You are on the 10-year track and take a seven-month posting abroad (about 210 consecutive days) without returning. That single absence exceeds 180 days, so your continuous residence is treated as broken and the qualifying clock effectively resets.

Example 2 — a long trip that stays within the line

You travel for family reasons for five months (about 150 days) and then fly back to Spain. Because the trip ends before day 180, continuity is preserved — even though it was a substantial single absence.

Example 3 — many trips, none over the cap

Across a year you take several trips of six to eight weeks each, none exceeding 180 days, but together they add up to nearly half the year abroad. No single absence breaks the cap, yet the pattern can still be examined and may weigh against a finding of continuous residence.

Exceptions & edge cases

  • The overall pattern is assessed too. Nationality requires residence that is continuous and immediately prior to the request; frequent or lengthy trips can be reviewed even where no single absence exceeds 180 days.
  • Registered residence matters. The Ministerio de Justicia may check your empadronamiento and residence permit alongside travel history — gaps in registered residence can undermine continuity on their own.
  • The cap is separate from the qualifying length. The 180-day absence rule is distinct from the total residence required (10 years generally; 5 for refugees; 2 for nationals of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea, Portugal and Sephardic Jews; 1 year in specific cases) and from the integration and good-conduct requirements.
  • Case handling varies. The 180-day figure is a practitioner convention rather than a statutory bright line, so how a particular absence is treated can vary — always confirm your specific situation.

Common misconceptions

  • "180 days is written into the law." No — Art. 22 requires continuous residence without naming a day count; 180 days is the conservative threshold most practitioners apply.
  • "It's a yearly total." The cap is about one continuous trip, not the sum of your travel across a year — though the overall pattern is still reviewed.
  • "Only my days abroad count." Continuity also depends on keeping your empadronamiento and residence permit current; gaps there can hurt a claim as much as time away.
  • "If I stay under 180 days, approval is automatic." The absence rule is only one requirement — the total qualifying length, integration, and good-conduct tests all apply as well.

Frequently asked questions

Does one trip over 180 days really reset my whole residency clock?

In practice, yes — a single continuous absence of more than roughly six months breaks the 'continuous and immediately prior' residence that naturalisation requires, and the Ministerio de Justicia can treat your qualifying period as interrupted. Shorter trips do not reset it, but the overall pattern is still assessed.

Is the 180 days a per-year limit or a per-trip limit?

It is a per-trip (single continuous absence) limit, not an annual tally. You count the consecutive days on one uninterrupted trip abroad; returning to Spain before day 180 keeps that trip within the line.

How long do I have to live in Spain before I can even apply?

Generally 10 years of legal, continuous residence — reduced to 5 for recognised refugees, 2 for nationals of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea, Portugal and Sephardic Jews, and 1 year in specific cases such as spouses of Spanish nationals. The absence rule protects the continuity of whichever period applies to you.

Does the 180-day figure appear in the law itself?

No. Código Civil Art. 22 requires 'legal, continuous residence immediately prior' to the application but sets no exact day count. The 180-day (6-month) single-absence cap is the conservative threshold most practitioners and case handlers apply.

Do staying registered (empadronamiento) and my residence permit matter too?

Yes. Continuity is about more than travel days — gaps in your registered residence (empadronamiento) or a lapsed residence permit can undermine a continuity claim just as much as a long trip abroad.

What if my time abroad is spread across many shorter trips?

Even where no single trip exceeds 180 days, frequent or lengthy absences can still be examined and may weigh against the 'continuous residence' requirement. The single-absence cap is the bright line, but the total pattern of your life in Spain is what is ultimately judged.

This rule is tracked automatically in Bounded

  • Automatically tracks your days for this rule
  • Tracks your progress toward the required days
  • Counts arrival and departure days correctly
  • Runs alongside your other visa, tax, and residency rules
Get the app

Sources

For information only. This page is a plain-English summary of publicly available rules, not tax, legal, or immigration advice. Rules change and depend on your personal circumstances — always confirm with the official source above and a qualified professional before acting.