How many years of residence do I need for Spanish nationality?
Legal residence periods under Article 22 of the Spanish Civil Code, decision deadline and what happens after approval.
The general rule: ten years
Article 22.1 of the Spanish Civil Code generally requires ten years of residence in Spain to obtain nationality by residence.
Residence must be legal, continuous and immediately prior to the application (Article 22.3).
Reduced periods
Five years: people who have been granted refugee status.
Two years: nationals by origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea or Portugal, and Sephardic Jews.
One year: anyone born in Spain; anyone who did not exercise their right of option in time; anyone who was under the legal guardianship, custody or foster care of a Spanish citizen or institution for two consecutive years; anyone married to a Spanish national for one year and not legally or de facto separated; the widow or widower of a Spanish national if not separated at the time of death; and anyone born outside Spain to a father, mother, grandfather or grandmother who was originally Spanish (Article 22.2).
How long does the decision take?
The Regulation approved by Royal Decree 1004/2015 sets a maximum period of one year for a decision. If it passes without a response, the application is deemed rejected by administrative silence, which allows an appeal.
Both approval and refusal can be challenged before the administrative courts (Article 22.5).
After approval: 180 days
Approval lapses if, within 180 days of notification, the applicant does not appear before the competent official to complete the requirements of Article 23 of the Civil Code (Article 21.4).
Official sources
Last reviewed: 17/11/2026. General information based on current law; it does not replace advice on your specific case.
Let’s discuss your case