Skip to content

Guide

Spanish citizenship by residency: how the clocks actually run

By Covered Abroad Research Desk · Last verified July 2026

Article 22 of Spain's Civil Code sets the residence clock at ten years for most applicants. Five years are enough for recognised refugees, and two years for nationals of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, and for Sephardic Jews. One year covers special cases — including a year of marriage to a Spaniard. In every case the residence must be legal, continuous and immediately before the application.

The four clocks in Article 22

Spain does not run one citizenship clock — it runs four, all written into Article 22 of the Código Civil:

  • 10 years — the general rule for residence-based nationality.
  • 5 years — for people who have obtained refugee status.
  • 2 years — for nationals of origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea or Portugal, and for Sephardic Jews.
  • 1 year — for a list of special cases: someone born on Spanish territory, someone married to a Spaniard for a year and not separated (legally or in fact), the widow or widower of a Spaniard where no separation existed at death, and someone born abroad to a parent or grandparent who was originally Spanish.

Source: Código Civil, artículo 22 (BOE consolidated text), read 6 September 2026.

60-second check

Not sure the policy you have meets your destination's written rule? Run it through the policy check now, before you build the rest of the file around it.

Check my policy

Good civic conduct and the integration tests

Article 22.4 requires the applicant to prove buena conducta cívica (good civic conduct) and a sufficient degree of integration in Spanish society in the Civil Registry procedure. In practice, integration is tested: the Instituto Cervantes runs the CCSE — the test of constitutional and sociocultural knowledge of Spain — and describes it as one of the requirements established in law for acquiring nationality by residence. We cover the exam itself in a separate guide.

Source: Instituto Cervantes — Qué es la prueba CCSE, read 6 September 2026.

Get a certificate that meets the published rule

Tell us your destination, visa, and who’s moving. Our team reviews it against the current requirement and calls you with a quote — no obligation.

Cover underwritten by Regency Assurance · every rule on this site cited and dated · a person calls back within one business day.

Before you request a quote: cover is worldwide but excludes treatment in the United States, and pre-existing conditions are not covered — including conditions you did not know about. We say this up front so a quote is worth your time.

Common questions

Does time on a student visa count toward the ten years?

Article 22 asks for legal, continuous residence immediately before the application, and how each permit type counts is applied by the registries case by case. The safe reading: only documented residence counts, and any gap or irregular period restarts the argument. Check your specific permit history with the Registro Civil or a Spanish lawyer before you rely on it.

I'm from Latin America — is it really two years?

Yes. Article 22.1 gives a two-year clock to nationals of origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, and to Sephardic Jews. The residence still has to be legal, continuous and immediately before the application.

Does marriage to a Spaniard give citizenship immediately?

No. It shortens the clock to one year of residence, and only while the couple is not separated legally or in fact. The application, conduct and integration requirements still apply.

Where is this written down?

Article 22 of the Código Civil, in the consolidated text published by the BOE. The four residence periods, the continuity rule and the integration requirement all sit in that one article.

Keep reading