When Can I Apply for Spanish Citizenship? Date Calculator

Free tool · Spanish citizenship by residence

Pick your nationality, tick what applies, enter your residence start date.

Most foreigners wait ten years. Nationals by origin of 23 countries, plus Puerto Ricans, wait two, refugees five, and some family situations only one. Pick your nationality, tick anything that applies, enter when your legal residence started, and the calculator gives you the first day you meet the residence requirement under Article 22 of the Spanish Civil Code.

The residence period follows the Civil Code; the exam exemption follows a different list. The result shows both.

Puerto Ricans are treated as Ibero-American and usually evidence it with the Certificado de Ciudadanía Puertorriqueña. That certificate has a moving part in 2026 (R. C. de la C. 348); the 2-year rule in Spain is unchanged.

Does any of these apply to you?

Usually the date your first residence permit took effect (the date printed on your TIE or the approval resolution), not the day you applied for it. Time on a student stay, a tourist visa or without papers does not count.

Runs in your browser. Nothing you type is stored or sent anywhere.

Your date appears here Fill in the form and we will show the first day you meet the residence requirement, the years that apply to you, the Civil Code article behind it, and what else you still need before filing.
1Shortest route winsIf you fit several cases, the Civil Code lets you use the shortest. A Colombian married to a Spaniard waits one year, not two.
2The clock starts at the grantLegal residence counts from when your permit took effect, which is almost always the approval date, not the application date.
3Legal, continuous, immediately priorArticle 22.3 asks for all three at once. A gap between permits or long absences can break it.

The rules behind the calculator

How many years of legal residence you need

Everything below comes from Article 22 of the Spanish Civil Code, sections 1 and 2. The calculator applies them exactly as written.

ResidenceWhoArticle
10 yearsThe general rule, including nationals of the United States, the United Kingdom, Canada and Australia22.1
5 yearsPeople granted refugee status in Spain22.1
2 yearsNationals by origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea or Portugal, and people of Sephardic origin from Spain22.1
1 yearBorn in Spain · missed the deadline to opt · two consecutive years under the guardianship, curatorship with full representation, custody or foster care of a Spanish person or institution · married one year to a Spaniard and not separated · widow or widower of a Spaniard · born outside Spain to a parent or grandparent who was originally Spanish22.2 a–f

The date you count from

This is where most people get it wrong, and the mistake costs a year of waiting or a refused file.

For the general regime and the arraigo routes, legal residence starts when your authorisation takes effect, which is normally the date it was granted. The months you spend waiting for a decision, even with a provisional permission to work, are not legal residence yet. If the grant is later appealed and overturned, that time does not count either.

There is one exception with its own rule. If your residence comes from the EU family-member regime (RD 240/2007, Article 8.4), the favourable decision has retroactive effect, counted from the date you can prove you entered Spain as the family member of an EU citizen, not from the day you applied for the card.

Time on a student stay (estancia por estudios) is treated as a stay, not residence, and years without papers do not count even if they later earned you an arraigo. Whether a particular permit history counts is one of the most contested points in practice, so treat the calculator’s answer as a starting point and confirm your own case before you file.

What this calculator does not check

!

Absences from Spain

Article 22.3 requires continuous residence but does not say how many days abroad are too many. The 6, 10 and 18-month limits you may have read about belong to long-term residence, not nationality. Keep your own record of trips.

!

Nationality acquired later in life

If you became Argentine, Mexican or Brazilian by naturalisation rather than at birth, the two-year rule does not apply the same way and the case has to be looked at individually.

i

If a parent of yours was born in Spain

Article 20.1.b gives a right to opt for nationality to anyone whose mother or father was originally Spanish and born in Spain, with no residence period and no age limit. If that is you, you may not need to wait at all.

Read about citizenship by option →
§

Good civic conduct and integration

Article 22.4 adds two more requirements that depend on no date: a clean criminal record in Spain and your home country, and proof of integration through the CCSE exam and, unless exempt, the DELE A2.

Frequently asked

Which date is on my TIE: the start of residence or the card issue date?

The TIE shows the validity period of your authorisation. The start of that validity is normally the date your residence took effect. For visa-based permits (Non-Lucrative, Digital Nomad) it is tied to the authorisation your visa carried, not to the day the plastic card was printed. If your resolution says a different date, use the resolution.

Does time on the Digital Nomad Visa or the Non-Lucrative Visa count?

Yes. Both are residence authorisations, and both are common starting points for the two-year clock. A Brazilian community member went from DNV to citizenship in two years.

I am married to a Spaniard but we married last month. Can I apply in a year?

Article 22.2.d asks that you have been married for one year at the time of application, on top of one year of legal residence. The calculator uses the later of the two dates. You also must not be legally or de facto separated.

I married abroad. Do I need to register the marriage in Spain first?

Yes. The one-year clock runs from the wedding date, because the Spanish registration is declarative, not constitutive. But the application requires a recent certificado literal de matrimonio from the Spanish Civil Registry; a foreign marriage certificate, even apostilled, is not accepted. A marriage of a Spaniard celebrated abroad must be registered at the consulate (if you lived there) or at the Registro Civil Central in Madrid (if you already live in Spain), and that queue is often many months. Request it as soon as you arrive, not when the year is about to end.

If your spouse became Spanish after the wedding, the year “married to a Spaniard” is counted from the date they acquired Spanish nationality, not from the wedding. The calculator asks for that date.

Why does Puerto Rico appear in the two-year list?

Puerto Ricans are US citizens, but Spain treats Puerto Rico as Ibero-American for this purpose and names it in the DELE A2 exemption list, which is why it sits in its own group in the form. The Certificado de Ciudadanía Puertorriqueña is the document normally used to evidence it. In August 2026 the Puerto Rico House approved R. C. de la C. 348 to stop issuing it; it has not been approved by the Senate or signed, and Spain’s rule is unchanged. How the two-year clock works for Puerto Ricans.

Once I apply, how long does the decision take?

The legal deadline to decide is one year from the day your file reaches the Ministry (RD 1004/2015, Art. 11). In practice many files take longer, and complex ones can run to two years. The government fee (Tasa 790, model 026) is €104.05.

You know your date. Now get the file right.

Nationality applications are refused over document details more often than over eligibility. Our vetted immigration lawyers handle these every week.

Sources: Código Civil, arts. 17–26 (consolidated text) · Real Decreto 1004/2015 (procedure; Art. 6.5 exam exemptions) · Real Decreto 240/2007 (EU family-member regime, Art. 8.4) · Real Decreto 1155/2024 (Reglamento de Extranjería).