Spanish Nationality by Residence: Requirements and Process
Getting Spanish nationality is the dream of thousands of foreigners who have established their home, their work, and their family in Spain. This process, although exciting, is often perceived as a bureaucratic labyrinth full of strict requirements, rigorous deadlines, and complex documentation that can generate great uncertainty. In this definitive guide written by the legal team at AbogadoAI, we break down in a clear, rigorous, and accessible way everything you need to know to successfully apply for your Spanish nationality by residence, based on current legislation so that you can take this step with total confidence.
The legal framework: What does Spanish law say?
The granting of Spanish nationality by residence is not an arbitrary discretionary act, but a procedure regulated by our legal system. The fundamental pillar of this process is found in the Spanish Civil Code, specifically in Articles 21 and 22, which regulate the timeframes and substantive conditions for a foreign citizen to acquire Spanish status.
Furthermore, this procedure is complemented by the _Ley Orgánica 4/2000, de 11 de enero, sobre derechos y libertades de los extranjeros en España y su integración social_ (known as the _Ley de Extranjería_ / Immigration Law) and its corresponding Regulation (approved by Royal Decree 557/2011), in addition to European Union directives on free movement that facilitate the residence of EU citizens.
For the Ministry of Justice to grant nationality, the applicant must prove the concurrence of two essential factors: legal, continuous residence immediately prior to the petition, and a sufficient degree of integration into Spanish society, coupled with good civic conduct.
Required residence periods: How long must you wait?
The general rule in Spain requires a residence period of 10 years. However, Spanish legislation is particularly generous with certain groups, drastically reducing this timeframe depending on the country of origin or the personal circumstances of the applicant.
Below, we detail the specific periods established in Article 22 of the Civil Code:
The general period: 10 years
This is the default period applicable to most foreign citizens from third countries (for example, citizens of Morocco, China, the United States, or Pakistan) who do not meet any of the reduction conditions detailed below.
The intermediate period: 5 years
Reserved exclusively for those individuals who have obtained the status of refugee or beneficiary of international protection.
The historical agreement period: 2 years
This is one of the most frequently used periods and benefits nationals by origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea, Portugal, or individuals of Sephardic origin.
Important legal note: To benefit from this 2-year period, the applicant must be a national by origin of these countries. For example, an Indian citizen who has naturalised as Argentine cannot immediately benefit from the 2-year period if they do not hold said nationality by birth or according to the criteria of origin set by the doctrine of the _Dirección General de Seguridad Jurídica y Fe Pública_ (General Directorate of Legal Certainty and Public Trust).
The minimum period: 1 year
The law reduces the legal residence requirement to just 1 year for the following special cases:
- Anyone born in Spanish territory (children of foreigners born in Spain).
- Anyone who has not timely exercised their right to opt for Spanish nationality.
- Anyone who has been legally subject to the guardianship, wardship, or foster care of a Spanish citizen or institution for two consecutive years.
- Anyone who, at the time of the application, has been married to a Spanish citizen for one year and is not legally or de facto separated.
- The widow or widower of a Spanish citizen, if at the time of the spouse's death they were not legally or de facto separated.
- Anyone born outside of Spain to a father or mother, grandfather or grandmother, who was originally Spanish.
The three mandatory substantive requirements
It is not enough to simply let time pass in Spain; your residence must meet three strict legal characteristics to count towards nationality:
1. Legal residence
Time spent on a student visa, volunteering, or in irregular situations (such as _arraigo_ (social/labour integration residency) before it is granted) does not count towards the nationality timeframe. A student period is considered a "stay" (_estancia_), not "residence" (_residencia_) according to the _Ley de Extranjería_. You must hold an active residence authorisation (whether it is for work, non-lucrative residence, family reunification, or a Union citizen family member card).
2. Continuous residence (Watch out for trips outside Spain!)
Residence must be uninterrupted. Prolonged absences from Spanish territory can break the chain of continuity and lead to the denial of your application.
- For the 10-year period, it is recommended not to be outside of Spain for more than 6 consecutive months in total.
- For the 2-year or 1-year periods, any absence exceeding 3 consecutive months can be grounds for denial due to lack of continuity.
3. Good civic conduct and integration
Good civic conduct is proven by the absence of a criminal record in Spain and in your country of origin. In addition, the applicant must demonstrate integration by passing two official exams designed by the _Instituto Cervantes_ (Cervantes Institute):
- The DELE exam (level A2 or higher): Spanish language test (nationals of Spanish-speaking countries are exempt).
- The CCSE exam: Test of constitutional and sociocultural knowledge of Spain (mandatory for everyone, except minors or legally incapacitated individuals).
The financial cost of the process: Key fees and amounts
Starting this procedure requires financial planning. These are the key financial amounts you will need to pay during the process:
- Administrative fee (Form 790 code 026): Currently costs 105.10 €. This is a mandatory fee for the Ministry of Justice to process your application. It is non-refundable in case of denial.
- CCSE Exam (Instituto Cervantes): The registration fee is 85 €.
- DELE Exam (A2 or higher): The cost varies depending on the level and the exam centre, but usually ranges between 130 € and 180 €.
- Sworn translations and legalisations: Depending on the volume of documents from your country of origin (birth certificate, criminal record certificate), estimate between 100 € and 300 €.
Practical examples of calculating timeframes and viability
To better understand how these rules apply in real life, we analyse two common scenarios:
Example 1: The case of Jefferson (Ecuador)
Jefferson arrived in Spain on a student visa in September 2018. In March 2021, he successfully modified his status to a residence and employment authorisation as an employee. Since then, he has worked uninterruptedly and has only travelled to Ecuador for 20 days during the Christmas holidays in 2022.
- Viability analysis: Although Jefferson has been in Spain since 2018 (6 years), his first years as a student do not count as legal residence. His "legal residence" clock started in March 2021. As a citizen of Ecuador (an Ibero-American country), his required timeframe is only 2 years.
- Result: Jefferson completed the 2 years of legal and continuous residence in March 2023. Since his absence from the country was only 20 days, he meets the continuity requirement and can already apply for Spanish nationality.
Example 2: The case of Amira (Morocco)
Amira obtained her residence card through family reunification in January 2014. In June 2019, she travelled to Morocco to care for a sick relative and remained there for 8 consecutive months, returning to Spain in February 2020 to continue her residence. In the year 2024, she decides to submit her application for nationality under the general 10-year period.
- Viability analysis: Although the total period from 2014 to 2024 adds up to 10 years, Amira broke the "continuity" of her residence by spending 8 consecutive months outside of Spain in 2019.
- Result: The Ministry of Justice will deny her application if she counts from 2014. Her legal and continuous residence clock reset upon her return in February 2020. Therefore, Amira must wait until February 2030 to safely complete the 10 continuous years, unless she marries a Spanish citizen, which would reduce her timeframe to 1 year.
Step-by-step practical procedure to apply for nationality
The procedure is carried out online through the electronic headquarters of the Ministry of Justice. Follow these ordered steps to avoid errors:
- Preparation and passing of exams: Register for and pass the CCSE and DELE exams (if applicable) at the _Instituto Cervantes_. Save the certificates of passing in PDF format.
- Obtaining documents from your country of origin: Request your birth certificate and criminal record certificate from your country of origin. Both documents must be duly legalised (via the Hague Apostille or diplomatic channels) and translated into Spanish by a sworn translator (_traductor jurado_) authorised by the Spanish Ministry of Foreign Affairs.
- Gathering documents in Spain: Obtain your _certificado de empadronamiento_ (town-hall registration certificate, collective and historical), a complete copy of your valid passport (all pages, even blank ones), and your valid _tarjeta de identidad de extranjero_ (TIE / foreigner identity card).
- Payment of fee 790-026: Download the fee form, pay the 105.10 € through your bank or via electronic payment, and keep the receipt with the barcode.
- Online submission: Access the Ministry of Justice platform using your _Certificado Digital_ (Digital Certificate). Fill out the interactive form, attach all digitalised documentation in PDF format, and digitally sign the application.
- Waiting phase and resolution: The Ministry of Justice has a legal timeframe of 1 year to issue a resolution. If no response is received after this period, it is understood to be rejected by negative administrative silence (although the administration still has the obligation to resolve and, usually, favourable resolutions arrive later).
- The Oath of Allegiance: Once you receive the notification of approval, you have a period of 180 days to perform the _jura_ (act of oath or promise of loyalty to the King and obedience to the Constitution) before the Civil Registry of your home address or before a Notary. After this act, you will be issued your Spanish birth certificate so you can go to the National Police to obtain your Spanish DNI (ID card) and passport.
Errors you must avoid
Making a mistake during the application phase can result in years of delay or a direct denial. Pay special attention to these critical points:
- Submitting the application too early: Do not send the application if you are missing even two days to complete the required legal timeframe. Compliance with the residence period is analysed with reference to the exact date of submission of the application; if you submit it before completing it, it will be automatically denied and you will lose the application fee.
- Having active police records: Many people confuse criminal records (judicial) with police records (arrests that did not go to trial or were archived). An active police record in the databases of the Civil Guard or National Police can be grounds for denial due to lack of "good civic conduct". You must cancel them before starting the procedure.
- Expired passports or documents: The applicant's passport must be valid at the time of submitting the application. Similarly, watch the expiration date of the criminal record certificates from your country of origin, which usually have a validity of only 3 or 6 months from their issuance.
- Not declaring all trips outside the country: Hiding trips outside of Spain is a serious mistake. The Ministry of Justice automatically cross-checks border movements with the National Police. Any discrepancy or concealment will be grounds for suspicion and potential denial.
Frequently Asked Questions (FAQ)
Can I apply for nationality if I have a criminal record?
As a general rule, no. Having an active criminal record in Spain or in your country of origin is an almost certain cause for denial for failing to meet the "good civic conduct" requirement. The first thing you must do is serve the sentence and, subsequently, apply for the cancellation of your criminal record at the Ministry of Justice before applying for nationality.
What happens if my residence card expires during the process?
Nothing happens, as long as you submit the renewal of your residence card within the legal timeframes (60 days before its expiration or up to 90 days after). Your status in Spain will remain legal for the purposes of the nationality file.
Do minors have to take the Instituto Cervantes exams?
No. Minors under 18 years of age and individuals with judicially modified capacity are exempt from taking both the DELE language exam and the CCSE cultural knowledge exam.
Can I lose my original nationality when acquiring Spanish nationality?
Spain formally requires you to renounce your previous nationality during the oath ceremony, except for nationals of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea, Portugal, and citizens of Sephardic origin, who benefit from dual nationality agreements and can keep both.
How long does the Ministry of Justice actually take to respond?
Although the law establishes a timeframe of 1 year, administrative reality varies. Some files submitted in an impeccable online format are resolved in 3 to 6 months thanks to automation processes, while others can take 1 to 2 years if they require the correction of documents.
In summary
- The general required legal residence period is 10 years, reduced to 2 years for Ibero-Americans and to 1 year for spouses of Spanish citizens or those born in Spain.
- Residence must be legal, continuous, and immediately prior to the application, paying special attention not to exceed the limits for trips outside the country.
- It is mandatory to prove integration through the official CCSE and DELE exams (the latter only for non-Spanish speakers) of the _Instituto Cervantes_.
- You must completely lack criminal and police records to meet the requirement of good civic conduct.
- The cost of the administrative application fee is 105.10 €, to which you must add the cost of exams, translations, and legalisations.
- The submission of the file must be done online through the electronic headquarters of the Ministry of Justice.
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 freeThis is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.