Spanish nationality by residence requirements
See the residence periods, eligibility rules and exceptions before applying for Spanish nationality.
How many years do I need for Spanish nationality?
It depends on your legal category. The Civil Code sets different periods; only legal, continuous residence immediately before filing counts.
Can I apply with a temporary residence permit?
Yes, if the residence is legal and you meet the applicable period. A valid TIE alone does not prove that the required time is complete.
What to do
Confirm your legal period before spending on exams or certificates.
Steps
- Identify nationality and family link
- Read Civil Code article 22
- Check residence history
- Calculate earliest filing date
- Prepare evidence only when eligible
Basis
Civil Code article 22 requires legal, continuous residence immediately before filing.
More questions
Is a NIE enough to apply?
No. A NIE identifies you; the route still requires the applicable period and other legal conditions.
More to read
Calculate continuous residence→official:https://www.mjusticia.gob.es/es/ciudadania/nacionalidad|https://www.boe.es/buscar/act.php?id=BOE-A-1889-4763