Immigration & residency

How to get Spanish nationality: requirements and process

By the AbogadoAI editorial team · Updated 18 July 2026 · 10 min read

For many expats, moving to Spain is the start of a beautiful adventure, but obtaining Spanish citizenship is the ultimate goal that seals their integration into this vibrant Mediterranean country. Holding a Spanish passport not only grants you the right to vote and work freely across the European Union, but it also provides a sense of permanent security, eliminating the need to renew residency permits. However, navigating the Spanish bureaucratic maze can be daunting for foreign residents. This comprehensive guide, grounded in Spanish law, breaks down the requirements, pathways, and step-by-step processes to help you successfully transition from a foreign resident to a Spanish citizen.

Spanish citizenship is primarily governed by the Spanish Civil Code (Código Civil), specifically Articles 17 to 28, rather than the general Immigration Act (Ley Orgánica 4/2000), which mostly regulates entry and residency permits. While residency permits fall under immigration law, the acquisition of nationality is a civil law matter overseen by the Ministry of Justice (Ministerio de Justicia).

To apply for citizenship, you must first establish legal and continuous residency in Spain. It is crucial to understand that holding a tourist visa or a student visa does not count toward the residency years required for citizenship. Under Spanish law, a student visa is considered a "stay" (estancia) rather than formal "residence" (residencia).

The 4 Main Pathways to Spanish Citizenship

There are several legal avenues to acquire Spanish nationality, but the vast majority of expats will obtain it through Residency. Below are the four primary pathways:

1. Nationality by Residency (Nacionalidad por Residencia)

This is the most common route for expats. You must reside legally and continuously in Spain for a specific period before applying. The standard required period is 10 years, but this timeline is significantly reduced for certain nationalities and circumstances:

2. Nationality by Option (Nacionalidad por Opción)

This pathway is designed for individuals who have a specific family connection to Spain. It allows certain foreign nationals to "opt" for Spanish citizenship. This applies to:

3. Nationality by Descent (Democratic Memory Law)

Commonly known as the "Grandchildren's Law" (Ley de Memoria Democrática), this temporary regulation allows children and grandchildren of Spaniards who left Spain due to political, ideological, or belief reasons during the Civil War and Franco’s dictatorship to claim citizenship directly, without meeting residency requirements.

4. Nationality by Naturalisation Charter (Carta de Naturaleza)

This is an exceptional and highly discretionary route granted directly by the Spanish Government via Royal Decree (Real Decreto). It is reserved for individuals with extraordinary merits, such as famous athletes, scientists, or cultural figures.

Key Requirements for Citizenship by Residency

To qualify for nationality by residency, you must meet several strict criteria set by the Spanish Civil Code and the Ministry of Justice.

You must have lived in Spain legally without interruption for the required timeframe. "Continuous" means you cannot leave the country for extended periods.

Good Civic Conduct (Buena Conducta Cívica)

The Spanish government will review your criminal record. You must submit a clean criminal record certificate from your country of origin and have no criminal record in Spain. Even minor police records, outstanding fines, or pending court cases can lead to a rejection.

Integration into Spanish Society (The CCSE and DELE Exams)

Unless you are a native Spanish speaker, you must pass two official exams administered by the Cervantes Institute (Instituto Cervantes):

Step-by-Step Guide to the Application Process

Applying for Spanish citizenship is a digital-first process. The entire application is submitted online through the electronic headquarters of the Ministry of Justice (Sede Electrónica del Ministerio de Justicia).

``` [Step 1: Pass Exams] ➔ [Step 2: Gather Docs] ➔ [Step 3: Pay Fee] ➔ [Step 4: Submit Online] ➔ [Step 5: Oath] ```

Step 1: Pass the Required Exams

Register on the Instituto Cervantes website and book your DELE A2 (if applicable) and CCSE exams. The CCSE exam fee is approximately €85, and the DELE A2 fee is around €130.

Step 2: Gather the Mandatory Documents

All documents from your home country must be legally translated into Spanish by an official sworn translator (traductor jurado) and apostilled or legalized.

Step 3: Pay the Administrative Fee

You must pay the government application fee (Tasa 790, Código 026) before submitting. The current fee is €104.05. This fee is non-refundable, even if your application is rejected.

Step 4: Submit the Application Online

Submit all documents through the Sede Electrónica using a digital certificate (certificado digital) or the Cl@ve system. Once submitted, you will receive a registration number (número de expediente) to track your application status online via the portal "Cómo va lo mío".

Step 5: The Oath of Allegiance (Jura de Bandera)

Once your application is approved, you have a maximum of 180 days to complete the final step: taking the oath of allegiance to the Spanish Constitution and the King. This can be done at your local Civil Registry (Registro Civil) or before a notary public. Once completed, you will receive your Spanish birth certificate, which you will use to get your Spanish ID card (DNI) and passport at a local national police station.

Real-Life Examples

To see how these rules apply in practice, let us look at two common scenarios for foreign residents.

Example A: Sarah (UK Citizen, 10-Year Route)

Sarah moved to Valencia in 2014 on a non-lucrative visa. She has rented an apartment for €850 a month and registered at the town hall (empadronamiento) since her arrival. Over the last 10 years, she only left Spain for a 3-week summer holiday each year.

Example B: Carlos (Argentine Citizen, 2-Year Route)

Carlos moved to Madrid in 2021 on a work visa. As an Argentine citizen, he qualifies for the accelerated 2-year residency path. He lived in Madrid for 2 years and only visited Argentina once for 2 weeks.

Common Mistakes to Avoid

Many citizenship applications are delayed or rejected due to avoidable errors. Keep these critical points in mind:

Frequently Asked Questions (FAQs)

Can I hold dual citizenship with Spain?

Generally, Spain does not allow dual citizenship. When you take the oath of allegiance, you must renounce your previous nationality. However, there are major exceptions: citizens of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea, Portugal, and France are permitted to keep their original nationality alongside their Spanish one.

How long does the Ministry of Justice take to process the application?

By law, the Ministry of Justice has 12 months to issue a decision. If you do not receive an answer within 1 year, it is legally considered a rejection by administrative silence (silencio administrativo negativo). However, applications often take between 1 to 2 years to resolve. If the 1-year deadline passes, you have the right to file a judicial appeal (recurso contencioso-administrativo) in court to speed up the decision.

Can my children get citizenship if I get mine?

Yes. If you obtain Spanish citizenship, your children who are under 18 years of age have the right to obtain Spanish citizenship by option (Nacionalidad por Opción). You can apply on their behalf at the local Civil Registry.

What happens if I fail the CCSE or DELE exams?

If you fail, do not panic. Your exam registration fee for the CCSE allows you to take the exam twice if you fail the first time or miss the date. If you fail both times, you will need to pay the registration fee again to retake it.

In Summary

General legal information, not personalised legal advice. For your specific situation, ask your question for free at AbogadoAI — answers grounded in Spanish law (BOE), in English.

Have a specific legal question?

Ask AbogadoAI and get an answer based on Spanish law (BOE), with sources — in English.

Ask for free

This is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.