Skip to content

Guide to Spanish nationality by residence in 2026

Administrative and immigration law

Guide to Spanish nationality by residence in 2026

Spanish nationality by residence is the most common route for a foreign national who legally lives in Spain to acquire citizenship. It is not an automatic process: it requires meeting a minimum period of continuous residence, proving a series of legal requirements and completing an administrative procedure that can take several months or more than a year.

Last reviewed: July 2026 · General guidance only, does not replace an assessment of your specific case.

Spanish nationality by residence application for foreigners in Spain
Meeting the exact residence period and preparing the documentation properly are what separate a file that moves forward from one that stalls or is denied.

Area: Administrative and immigration law

Reader: foreign nationals with legal residence in Spain considering applying for nationality

Sources reviewed: Civil Code, BOE, Instituto Cervantes and Ministry of Justice

This guide reviews what nationality by residence is, who can apply for it, what legal residence periods are required depending on the case, what requirements must be met — including the language and culture exams —, how the application file is processed and what mistakes tend to delay or even lead to a denied application. The aim is for anyone considering taking this step to know exactly what applies to their situation and what they need to prepare before submitting the application.

Spain regulates this matter in the Civil Code, specifically in article 22 of the Civil Code, which sets out the different residence periods depending on the applicant’s country of origin and personal circumstances. In addition, there are the requirements introduced by the reform that added the language and constitutional and sociocultural knowledge exams, now mandatory except in specific cases. The result is a procedure with clear rules on paper, but one that in practice requires careful preparation of every document and every deadline.

It is worth distinguishing this route from other related options, such as residence by investment or tax regimes for foreigners settling in Spain: nationality by residence follows a different logic, centred on integration, the length of legal stay and effective integration into Spanish society, not on investment or taxation. Anyone seeking Spanish citizenship should start from this basis before considering specific deadlines and requirements.

What nationality by residence is and who can apply

Nationality by residence is one of the routes provided under Spanish law for a foreign national to acquire Spanish citizenship derivatively, that is, not by birth, but as a result of legally residing in Spain for a set period. Unlike nationality by option or by letter of naturalisation, this route is open to any foreign national who meets the objective requirements regarding length of residence and the subjective requirements regarding civic conduct and integration, without needing a prior family link to Spain or a discretionary grant from the Government.

Any foreign national of legal age — or an emancipated minor, or a minor legally represented — who has resided in Spain legally, continuously and immediately prior to submitting the application for the period corresponding to their situation may apply. The legality of the residence is a strict requirement: periods of irregular stay, however long, do not count towards the required period, and only the time elapsed since a valid residence permit was obtained and kept in force without interruption counts.

This continuity requirement is one of the points that most often raises doubts: residence must be maintained without significant interruptions, which includes both physical presence in Spanish territory and the residence permit remaining continuously valid, with no gaps between renewals. Article 22 of the Civil Code sets out in detail both the applicable periods and the circumstances that allow them to be reduced, and it is the central legal reference for the entire procedure.

The required residence period is not fixed: it varies depending on the applicant’s country of origin and certain personal circumstances that the law considers deserving of more favourable treatment. Knowing precisely which period applies in each case is the first step before considering applying for nationality, because submitting the application before completing the exact period is one of the most common causes of denial.

  • Ten years: the general period, applicable to any foreign national who does not fall under any of the special cases below.
  • Five years: for those who have been granted refugee status or the right of asylum in Spain.
  • Two years: for nationals of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea or Portugal, as well as people of Sephardic origin. This reduced period reflects the historical and cultural ties that Spain recognises with these countries and communities.
  • One year: in special cases that the law considers to involve stronger ties to Spain, including: having been born in Spanish territory; being married to a Spanish national, with more than one year of marriage at the time of application and not legally or de facto separated; being the widow or widower of a Spanish national, provided there was no legal or de facto separation at the time of death; or having been born outside Spain to a father, mother, grandfather or grandmother who was originally Spanish.

In all cases, the calculation of the period requires residence that is legal, continuous and immediately prior to the date of application. This means it is not enough to have accumulated the required number of years across separate periods of stay: residence must be uninterrupted up to the very moment the application is filed. Any doubt about which period applies to a specific case should be resolved before starting the process, because a miscalculation can mean months of waiting for a decision that ultimately denies the application for lack of the required period.

Requirements: DELE/CCSE exam, good civic conduct, integration

Meeting the residence period is a necessary condition, but not a sufficient one. Alongside the length of legal residence, the regulations require proof of a series of additional requirements intended to demonstrate the applicant’s genuine integration into Spanish society.

Good civic conduct

This is proven through the criminal record certificate from the country or countries where the applicant has resided over the last five years, duly apostilled or legalised and, where applicable, translated, together with the Spanish criminal record certificate. Having a criminal record does not always prevent the grant, but it does require each case to be assessed individually based on the nature and seriousness of the offences, as well as the time elapsed since they were expunged.

CCSE exam (Constitutional and Sociocultural Knowledge of Spain)

This is mandatory for all applicants, with no exceptions based on nationality, and assesses knowledge of Spain’s institutions, history, culture and territorial organisation. It is a multiple-choice test that must be passed before or during the processing of the application file, and it remains valid for a set period.

DELE A2 exam (Diploma of Spanish as a Foreign Language)

This is required to prove sufficient knowledge of the Spanish language, except for nationals of countries whose official language is Spanish, who are exempt from this requirement. The DELE exam run by the Instituto Cervantes is the official test recognised for this purpose, and it is worth booking a sitting well in advance, since places and exam dates are not always immediately available.

Report or evidence of integration

Although not always required as a separate document, the overall assessment of the application file takes into account the applicant’s genuine degree of integration: continuity of residence, family or professional ties in Spain, and the absence of circumstances that contradict an intention to settle in the country on a stable basis. This is precisely one of the aspects where a prior review of the file by a professional is most useful, as it makes it possible to anticipate which documentation best supports this proof of integration before the Administration requests it.

How the application file is processed and what documentation is needed

The Spanish nationality by residence application file is processed online through the Ministry of Justice, via its electronic office, through a procedure that combines submitting an application, paying the corresponding fee and providing supporting documentation. The Ministry of Justice’s electronic office centralises the entire process, including checking the status of the file once submitted.

The documentation typically required includes:

Application file document checklist

  • Historical certificate of registration (empadronamiento), proving continuous residence at the declared address or addresses throughout the required period.
  • Criminal record certificate from the country of origin (and from any other country of residence over the last five years), apostilled or legalised as appropriate, and translated if not in Spanish.
  • Birth certificate, likewise apostilled or legalised and translated where applicable.
  • Proof of continuous legal residence, such as successive residence cards, their renewals and the validity periods of each one.
  • Certificates of having passed the DELE A2 and CCSE exams, where required depending on the case.
  • Proof of means of support (employment status, employment contract, employment history) supporting the applicant’s socioeconomic integration.
  • Additional specific documentation, depending on the reduced-period case invoked: family record book or marriage certificate with a Spanish national, spouse’s death certificate, or birth certificate of Spanish ancestors, among others.

Once the complete application has been submitted, the Administration reviews the file, may request additional documentation or corrections, and finally issues a decision. The procedure can take several months or even more than a year, depending on the Administration’s workload and the complexity of the specific file. Once nationality is granted, there is still a further step: swearing or promising loyalty to the King and obedience to the Constitution before the Civil Registry, an essential step for the grant to take effect.

Common mistakes that delay or lead to a denied application

Most application files that are delayed or ultimately denied share a small number of causes, nearly all of them avoidable with proper preparation:

Common mistake Usual consequence
Interruptions in continuous legal residence Break the continuity required under article 22 of the Civil Code, even if the rest of the time is correct.
Submitting the application before completing the exact period Requires waiting for a new calculation and resubmitting all the documentation.
Incomplete or incorrectly apostilled/legalised documentation Foreign certificates without the correct legalisation process or without a sworn translation.
Failing to properly prove integration or civic conduct Insufficient evidence of genuine integration or poorly explained criminal record.
Errors or omissions in the application form Lead to requests for correction that extend the processing time.
Not passing the DELE A2 or CCSE exams in time Or submitting them outside the validity period required when the file is decided.

Each of these mistakes, on its own, may seem minor, but in practice they are the most common reason a file drags on for extra months or ends up denied, forcing the whole process to start again. Reviewing the documentation in advance, before submitting the application, significantly reduces this risk.

How GraciaCalbet Can Help You

At GraciaCalbet, we have been advising on immigration and nationality matters for more than 45 years, supporting foreign residents in Spain through the entire process: from the exact calculation of the residence period applicable to each case, through the review and legalisation of foreign documentation, to submitting and following up the application file with the Ministry of Justice.

Our team assesses each situation individually — marriage to a Spanish national, Sephardic ancestry, ten years of continuous residence, refugee or asylum cases — to identify the correct period, anticipate which documentation will take longer to prepare (apostilles, sworn translations, historical registration certificates) and avoid the mistakes that most often delay or lead to denied applications.

We also work with highly complex documentation profiles: people with a residence history in several countries, foreign business owners and executives with intermittent stays for professional reasons, or applicants who need to coordinate obtaining certificates in different jurisdictions. You can find out more about the full scope of our services in immigration and nationality, as well as the other areas of administrative law we advise on. If you would like us to review your specific case, you can contact our firm and we will let you know which period applies to you and what documentation you need to prepare.

Immigration and nationality consultation

Find out which period applies to you and what documentation you need before submitting the application.

Frequently Asked Questions (FAQs)

How long do I need to reside in Spain to apply for nationality by residence?+

It depends on the case. The general period is ten years of legal, continuous residence immediately prior to the application. It is reduced to five years for those recognised as refugees or granted asylum. Nationals of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea, Portugal and people of Sephardic origin need only two years. And there are special one-year cases, such as having been born in Spain, being married to a Spanish national for more than one year without separation, being the widow or widower of a Spanish national without prior separation, or being descended from a father, mother or grandparent who was originally Spanish.

Which exams do I need to pass to obtain Spanish nationality?+

Two exams are required: the CCSE, which assesses constitutional and sociocultural knowledge of Spain, mandatory for all applicants without exception; and the DELE A2, which proves knowledge of the Spanish language, required for everyone except nationals of Spanish-speaking countries, who are exempt. Both exams remain valid for a set period, so it is worth booking a sitting well in advance.

What does it mean for residence to be legal, continuous and immediately prior?+

It means that only the time during which the applicant has held a valid residence permit, in force without interruption and with no gaps between renewals, counts, and that this period must run right up to the moment the application is submitted. Periods of irregular stay, however long, do not count. An interruption in the residence permit, even if later corrected, can break the required continuity and force the calculation of the period to start again.

What foreign documentation do I need and how do I legalise it?+

Documents issued abroad, such as the criminal record certificate or the birth certificate, must be legalised by means of an Apostille of The Hague (if the country of origin is a signatory to the convention) or through consular channels otherwise, and translated by a sworn translator if they are not in Spanish. This is one of the steps that tends to take the most time in practice, so it is worth starting it well in advance.

How long does it take to resolve a nationality by residence application?+

There is no fixed period: the procedure can take several months or even more than a year, depending on the Ministry of Justice’s workload and the complexity of the specific file. Requests for correction due to incomplete or incorrectly legalised documentation extend the process further. Submitting a complete file, correctly documented and free of errors from the outset is the most effective way to reduce these timeframes.

What happens if my nationality application is denied?+

A denial can be appealed through administrative channels and, where applicable, through the courts, but it is worth first analysing the specific reason for the denial: an insufficient residence period, interruptions in continuity, inadequate documentation or doubts about civic conduct or integration. In many cases, the denial does not close the door for good, but simply means the application must be resubmitted once the cause behind it has been resolved.

Can I keep my original nationality when I obtain Spanish nationality?+

Spain automatically allows dual nationality, with no need to renounce the nationality of origin, for nationals of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea, Portugal and people of Sephardic origin. For all other nationalities, Spanish law requires formally renouncing the previous nationality during the oath or promise before the Civil Registry, although in practice the effect of that renunciation also depends on the legislation of the country of origin.

Is it mandatory to hire a lawyer to process nationality by residence?+

It is not mandatory; the process can be carried out directly by the applicant through the Ministry of Justice’s electronic office. However, given the strict deadlines, the complexity of legalising foreign documentation and how often small mistakes delay or lead to denied applications, many applicants choose specialist advice to review the file before it is submitted.


GRÀCIACALBET logo
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.