For many people, Spanish nationality is the final goal of a long journey. The most common route is nationality by residence, regulated in articles 21 and 22 of the Civil Code. And although people always talk about «ten years», the reality is that the period depends a great deal on your country of origin and your family situation.
Ten years: the general rule
This is the period that applies if you do not fit any exception. For example, to nationals of Morocco, China, Ukraine or Pakistan, among many other countries.
Five years: refugees
Those who have been granted refugee status can apply after five years of legal residence.
Two years: countries with historical ties
Two years are enough for nationals of Latin American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, as well as for people of Sephardic origin. A Colombian, Venezuelan or Peruvian national therefore does not need to wait ten years.
One year: special family situations
- Anyone born in Spain.
- Anyone who has been married for one year to a Spanish national and is not separated.
- The widow or widower of a Spanish national, if there was no separation.
- Anyone who was under the guardianship, custody or foster care of a Spanish national or Spanish institution for two years.
- Those born outside Spain to a father or mother, grandfather or grandmother, who were originally Spanish.
How the time is counted
Residence must be legal, continuous and immediately prior to the application. Time spent in an irregular situation does not count, nor, as a general rule, does time on a student stay. And if you let your card expire between one renewal and the next, that gap can break continuity. That is why it is so important to renew on time throughout all those years.
In addition to the time
You must prove good civic conduct (no criminal record) and a sufficient degree of integration, which is normally proven with the Instituto Cervantes DELE A2 and CCSE exams. Nationals of Spanish-speaking countries are exempt from the language exam.
After the grant
The grant is not the end: you must swear or pledge allegiance to the King and obedience to the Constitution and the laws before the Civil Registry, within 180 days of notification. If this is not done, the grant lapses.
In summary
Check which group you are in before assuming you need ten years. Take care of the continuity of your renewals and prepare for the exams in advance. And don't forget the oath: without it, there is no nationality.
This article is for information purposes only and does not constitute legal advice. Each case requires individual analysis. If you need help with an immigration procedure, we at Vallejo Borrás Abogados can look into it with you.

