← Back to home

Essential guide

When you can apply for Spanish nationality by residence

Check whether the ten-, five-, two- or one-year residence period applies and what legal, continuous and immediately prior residence means.

Reviewed on 26 August 2026Official sources verified

The standard qualifying period for Spanish nationality by residence is ten years. Article 22 of the Civil Code provides shorter periods for specific circumstances. Time alone is not enough: residence must be legal, continuous and immediately prior to the application.

This guide provides orientation. Your exact qualifying date may depend on your immigration history and should be reviewed before filing.

The ten-year rule

Ten years normally applies when none of the reduced periods fits your case. Time physically spent in Spain is not always the same as legally qualifying residence.

Five and two years

The period is five years for people recognised as refugees. It is two years for nationals by origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea or Portugal, and for Sephardim.

“By origin” matters. A nationality acquired later may not have the same effect, so verify the basis before calculating your date.

When one year may be enough

The one-year cases include people born in Spain; people married to a Spanish citizen for one year without legal or de facto separation; widows or widowers of a Spanish citizen where there was no separation at death; and people born abroad to a parent or grandparent who was originally Spanish. The Civil Code lists further specific cases involving option, guardianship, custody or foster care.

What qualifying residence means

Residence must meet all three conditions:

  1. Legal: supported by a recognised residence status.
  2. Continuous: without absences that break the required continuity.
  3. Immediately prior: the period must run up to the filing date.

The application must also demonstrate good civic conduct and sufficient integration into Spanish society.

Before choosing a filing date

Collect residence decisions, previous TIE cards, historical registration records and travel dates. If you had long absences, status changes or poorly documented periods, do not rely on a calculator alone.

Next step

Once your route and earliest safe date are clear, prepare the document inventory and check which Instituto Cervantes exams apply to you.