“How many years do I need for Spanish nationality?” doesn’t have one answer, because it’s actually two separate questions: one depends on your country of origin, and the other on your personal situation. Almost everyone mixes them up, and that’s where the confusion comes from.
The general rule: 10 years
If none of the categories below apply to you, the period is 10 years of continuous legal residence in Spain immediately before you apply.
5 years: only if you’ve been granted refugee status
This period doesn’t depend on your country of origin at all — it depends on whether Spain’s Asylum and Refuge Office (OAR) has formally recognized you as a refugee or asylum seeker.
2 years: this is the one that depends on your country of origin
The Civil Code reduces the period to 2 years for nationals of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea, and Portugal, and for people of Sephardic origin (this last one, provable with a certificate from a federation of Jewish communities, is a separate category from country of origin — it’s asked about independently).
| Country | Also need the DELE A2 exam? |
|---|---|
| Argentina, Bolivia, Chile, Colombia, Costa Rica, Cuba, Ecuador, El Salvador, Guatemala, Honduras, Mexico, Nicaragua, Panama, Paraguay, Peru, Dominican Republic, Uruguay, Venezuela | No — Spanish is already an official language |
| Equatorial Guinea | No — Spanish is an official language there too |
| Brazil | Yes |
| Andorra | Yes |
| Philippines | Yes |
| Portugal | Yes |
1 year: five personal situations, not a country
These categories don’t depend on where you were born — they depend on your specific situation, and you can hold any nationality and still qualify:
- You were born in Spanish territory.
- You’ve been married to a Spanish national for 1+ year, with no legal or de facto separation.
- You’re the widow/widower of a Spanish national and you weren’t separated.
- You were born outside Spain but your parent or grandparent was born Spanish.
- You spent 2 consecutive years under the guardianship or foster care of a Spanish person or institution.
Why the two questions get mixed up so often
It’s tempting to think “my country gives me 2 years” and “being married to a Spanish national gives me 1 year” stack or combine — they don’t. They’re two independent routes: if you fit one of the 1-year situations, that’s the one that applies, regardless of your country. If not, and your country is in the table above, the 2-year period applies. If neither applies, the general 10-year rule governs.
The exam that doesn’t depend on any of the above
The CCSE certificate (Spanish Constitution and society) is required for everyone, with no exemption by nationality or by which timeline applies to you. The DELE A2 does depend on your country, as shown in the table above.
Every category, additionally, requires proving “good civic conduct and a sufficient degree of integration into Spanish society” — this isn’t a separate document you submit, it’s assessed from the rest of your file (historical municipal registration, absence of relevant criminal record, the CCSE exam itself).
Verified directly against the consolidated text of the Civil Code, art. 22 (BOE-A-1889-4763). The country roster for the 2-year bracket is administrative practice independently corroborated by several specialized legal sources, not a single numbered BOE list — the article itself names the category (“Ibero-American countries”), not each country by name.