Skip to content
Sellado

Free guide

Spanish nationality by residence

After years of legal residence in Spain you can apply for Spanish nationality: Instituto Cervantes exams, fee 790-026 and an online application on the Ministry of Justice's electronic office.

7 stepsstart with the first one

  • Time: up to approx. 12 months
  • Cost: Free guide · Answer sheets with your details (pack) · €89

If you tick a step, we save your progress in this browser. You don't need an account.

By continuing you accept the Terms of use.

The essentials

What you need

  • The Instituto Cervantes CCSE exam (€85) and the DELE A2 or higher, unless you come from a country where Spanish is official or already hold a DELE. Children under 18 are exempt.
  • Birth certificate and criminal record certificate from your country, legalised (or apostilled) and translated.
  • Passport.
  • Proof of payment of fee 790 code 026.
  • Cl@ve or a digital certificate, and AutoFirma.

How long it takes

The legal maximum to decide is one year; there is no minimum. In practice, many applications take longer. If the year passes without an answer, the application is deemed refused (negative silence) and you can appeal.

Read what nationality requires

You need years of legal residence, good civic conduct and the Instituto Cervantes exams.

More detail

If you have lived legally in Spain for the required time, you can apply for Spanish nationality. The Ministry of Justice grants it, and it may refuse it on reasoned grounds of public order or national interest.

The Civil Code requires:

  • Legal, continuous residence immediately before the application, for the period that applies to you (10, 5, 2 or 1 year; see the next step).
  • Good civic conduct and a sufficient degree of integration into Spanish society. You prove integration with two Instituto Cervantes exams: the DELE A2 (unless you are exempt) and the CCSE.

The procedure is electronic: this guide follows the online application on the Ministry of Justice's electronic office, with Cl@ve The state system for identifying yourself online (Cl@ve PIN or Cl@ve Permanente). You register once and it works on most official sites. or a digital certificate. There is also an official paper form («Solicitud de nacionalidad por residencia», in the Ministry of Justice's list of forms), which we do not fill in. We do not work out whether you already meet the period: check it yourself against the date your legal residence started.

How do you want to do it?

Do it yourself

Free

Every step in this guide, with the official sources.

See the steps

Answer sheets with your details (pack)

€89

A gestoría or a lawyer usually charges €390 – €1,200 for this procedure, before official fees.

The same steps, and we also do this for you:

  • We give you the answer sheet for filling in the 790-026.
  • We give you the answer sheet for filling in the application on the electronic office.

You have 14 days from the purchase to withdraw and get a full refund, from your account. Right of withdrawal

One-off payment with Stripe. VAT included. You will get a numbered invoice by email. After paying you come back to this page with the pack unlocked, and we email you a link to get back in from another device.

We never see your card details. Your data is stored in the European Union.

The steps

Before you start

Answer 2 questions and you will see only the steps that apply to you.

Which case applies to you for nationality by residence?

What is your nationality?

Your answers stay in this browser until you mark a step as done; then they are saved to your file.

Step 1 of 9Depends on your case

  1. Count your ten years of residence

    What to do

    1. Check that you have ten years of legal, continuous residence.
    2. Count from your first legal residence until today, without breaks.
    3. If a shorter period applies to you, say so in your profile.

    Next: You prepare for the Instituto Cervantes exams.

    More detail

    The general period is ten years of legal, continuous residence immediately before the application.

    Shorter periods: five years if you have been recognised as a refugee; two years for nationals by origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea or Portugal, and for Sephardic Jews; one year in the cases of article 22.2 of the Civil Code (for example, if you were born in Spain or have been married to a Spanish national for a year without being separated). If one of these applies to you, say so in your profile.

    Report an error on this step
    Between 5 and 2000 characters. Do not include personal data.

    We use it only to fix the guide. More in the privacy policy.

  2. Count your two years of residence

    What to do

    1. Check that you have two years of legal, continuous residence.
    2. Count from your first legal residence until today, without breaks.
    3. Check that you are a national of that country by origin, or Sephardic.

    Next: You prepare for the Instituto Cervantes exams.

    More detail

    Because of your nationality by origin or your Sephardic origin, two years of legal, continuous residence immediately before the application are enough (article 22.1 of the Civil Code: Ibero-American countries, Andorra, the Philippines, Equatorial Guinea, Portugal and people of Sephardic origin).

    Also, when you take the oath you will not have to renounce your previous nationality: article 23 of the Civil Code exempts nationals of these countries and Sephardic Jews originating from Spain. If you have been married to a Spanish national for a year, or were born in Spain, one year is enough: say so in your profile.

    Note: article 22.1 refers to nationals by origin of these countries. If you acquired that nationality later and are not of Sephardic origin, this period does not apply to you: the general ten years applies (or the reduced period that fits your case).

    Report an error on this step
    Between 5 and 2000 characters. Do not include personal data.

    We use it only to fix the guide. More in the privacy policy.

  3. Count your shorter period

    What to do

    1. Check that you have one year of legal residence, or five if you are a refugee.
    2. Count from your first legal residence until today, without breaks.
    3. Gather the documents that prove your case.

    Next: You prepare for the Instituto Cervantes exams.

    More detail

    Depending on the case you chose:

    • If you are a refugee: five years of legal residence.
    • One year of legal residence is enough if: you were born in Spain; you did not exercise your right to opt for Spanish nationality in time; you were for two consecutive years under the guardianship, full representative curatorship, custody or foster care of a Spanish citizen or institution; when you apply you have been married for a year to a Spanish national and are not legally or de facto separated; you are the widow or widower of a Spanish national and were not separated when they died; or you were born outside Spain to a father, mother, grandfather or grandmother who was originally Spanish.

    In every case your residence must be legal and continuous, right up to the day you apply. You will also need documents that prove your case.

    Report an error on this step
    Between 5 and 2000 characters. Do not include personal data.

    We use it only to fix the guide. More in the privacy policy.

  4. Pass the Instituto Cervantes exams

    What to do

    1. Sign up on the Cervantes website with your NIE.
    2. Pass the CCSE: it costs €85 with two attempts.
    3. Pass the DELE A2, unless you are exempt.
    4. If you need an exemption, ask for it before applying.

    The CCSE includes two attempts: if you don't pass the first time, you get another go.

    Papers

    • CCSE exam passed

    Next: With the exams passed, you gather the documents.

    More detail

    There are two exams, both run by the Instituto Cervantes:

    • DELE A2 or higher (Spanish language). You are exempt if you already hold a DELE A2 or higher, or are a national of a country or territory where Spanish is an official language.
    • CCSE (constitutional and sociocultural knowledge of Spain). It costs €85 and includes two attempts and the preparation materials. There is a sitting almost every month, in Spain only. Register online on the Cervantes website with your NIE Foreigner Identity Number: your personal number in Spain. You use it with the tax office, banks, contracts and nearly every procedure..

    Children under 18 and people with judicially modified capacity are exempt from both exams. If you cannot read or write, or have learning difficulties, you can ask for an exemption (dispensa) on the Ministry of Justice's electronic office, and you must ask before the nationality application: if you file both at the same time, the nationality application is closed.

    You do not need to upload the certificates if you authorise the Ministry to check them with the Instituto Cervantes in your application.

    Documents

    • DELE diploma, level A2 or higher(Only in some situations)The price depends on the level and the country; in Spain you see it when you register on the Instituto Cervantes exams website.
    • CCSE exam passed€85 on the Instituto Cervantes exams website.
    Report an error on this step
    Between 5 and 2000 characters. Do not include personal data.

    We use it only to fix the guide. More in the privacy policy.

  5. Gather your documents

    What to do

    1. Tick each document on the list that you already have.
    2. Legalise or apostille foreign documents and translate them into Spanish.
    3. Scan them to upload with the application.

    Papers

    • Birth certificate from your country, legalised and translated
    • Passport
    • Criminal record certificate from your country of origin, legalised and translated
    • Proof of payment of fee 790 code 026

    Next: With the documents scanned, you pay the fee.

    More detail

    You upload the documents scanned to the online application. Foreign documents must be legalised (or carry an apostille if your country signed the Hague Convention; public documents from EU countries are exempt) and translated into Spanish. Check the legalisation carefully to avoid requests for more information.

    The application includes authorisations for the Ministry to check your padrón The town hall's register of residents. Signing up (empadronarse) proves where you live, and almost every other procedure asks for it. registration, your criminal record in Spain and your immigration records. If you do not give them, you must provide the padrón certificate, the Central Criminal Records certificate and your TIE Foreigner Identity Card: the photo card that proves your legal residence in Spain. It carries your NIE. yourself.

    Documents

    • Birth certificate from your country, legalised and translatedUnless you prove you are a refugee or stateless.
    • PassportUnless you prove you are a refugee or stateless.
    • Criminal record certificate from your country of origin, legalised and translatedFor adults who are not refugees or stateless. If you are from an EU country, the Spanish Central Criminal Records certificate stating that your country was consulted is accepted instead.
    • Proof of payment of fee 790 code 026
    • Documents proving your case(Only in some situations)For example, of your marriage to a Spanish national, your refugee status, your birth in Spain, your Spanish ancestry or your Sephardic origin.
    • Certificate of Puerto Rican citizenship (Certificado de ciudadanía puertorriqueña)(Only in some situations)It is indispensable: it proves your Puerto Rican citizenship, which is what gives you the two-year period, even if you were born outside Puerto Rico.
    Report an error on this step
    Between 5 and 2000 characters. Do not include personal data.

    We use it only to fix the guide. More in the privacy policy.

  6. Pay the nationality fee, 790-026

    What to do

    1. Download form 790 from the Ministry of Justice website.
    2. Fill it in, print it and pay €104.05 at a partner bank.
    3. Do not photocopy it: each form has a unique number.
    4. Keep the stamped copy to upload with the application.

    A partner bank or savings bank is all you need: you pay the form and keep the stamped copy to upload with your application.

    Cost
    €104.05

    Do it yourself, free

    Download form 790 yourself from the Ministry of Justice website and pay it at the bank.

    Official site (opens in a new tab)

    Answer sheets with your details (pack)

    We give you the answer sheet for filling in the 790-026.

    See what the pack includes

    Next: With the stamped copy, you file the application online.

    Report an error on this step
    Between 5 and 2000 characters. Do not include personal data.

    We use it only to fix the guide. More in the privacy policy.

  7. Submit your application online

    What to do

    1. Install AutoFirma and log in to the website with Cl@ve or a digital certificate.
    2. Click “Nueva solicitud”, fill in your details and create it.
    3. Attach the scanned documents.
    4. Send it from “Resumen y Envío” within two months, or it is deleted.

    You don't have to finish it in one go: it is saved, and you have two months to complete and send it.

    Where
    Ministry of Justice electronic office

    Do it yourself, free

    Fill in the application yourself on the Ministry of Justice website.

    Official site (opens in a new tab)

    Answer sheets with your details (pack)

    We give you the answer sheet for filling in the application on the electronic office.

    See what the pack includes

    Next: With the application sent, you keep the receipt and follow your file.

    Report an error on this step
    Between 5 and 2000 characters. Do not include personal data.

    We use it only to fix the guide. More in the privacy policy.

  8. Track your file

    What to do

    1. Keep the submission receipt.
    2. Check DEHú: that is where notifications arrive.
    3. If they ask you to fix something, do it within three months.

    Waiting is normal: the legal maximum is one year and many files take longer. If the year passes with no answer, you can appeal.

    Where
    Ministry of Justice electronic office

    Next: If it is granted, you take the oath before the Civil Registry or a notary within 180 days of the notification.

    More detail

    When you send the application you get a receipt with the registration date and time. You can see the stage of your file in the electronic office's Consulta telemática de expediente Your case file at the administration: the folder with your application and its documents. It has a number for checking how it is going. (no digital certificate needed); that check is not a notification. Electronic notifications arrive through DEHú.

    If they ask you to correct something, you have three months; otherwise your application is treated as withdrawn. The legal maximum to decide is one year; there is no minimum. In practice, many files take longer. If the year passes without an answer, the application is deemed refused (negative silence), and you can appeal.

    Report an error on this step
    Between 5 and 2000 characters. Do not include personal data.

    We use it only to fix the guide. More in the privacy policy.

  9. Take the oath and register

    What to do

    1. Book an appointment at the Civil Registry or with a notary.
    2. Swear or affirm within 180 days of the notification.
    3. Ask for your entry in the Civil Registry right there.

    Next: In the end, with the oath and the entry in the Civil Registry, you hold Spanish nationality.

    More detail

    If nationality is granted, you have 180 days from the notification to do the following before the Registro Civil or a notary:

    • swear or promise loyalty to the King and obedience to the Constitution and the laws;
    • renounce your previous nationality, unless you are from an Ibero-American country, Andorra, the Philippines, Equatorial Guinea or Portugal, or Sephardic;
    • ask to be entered in the Registro Civil.

    If you do not do it within that period, the grant lapses. Until the entry you must keep good civic conduct. Bring the originals of the documents you uploaded in case they need to be checked.

    Report an error on this step
    Between 5 and 2000 characters. Do not include personal data.

    We use it only to fix the guide. More in the privacy policy.

Did this guide help you?

We only count the answer, with no data about you.

Read the full guideWho needs it, what to bring and how long it takes

How to apply for Spanish nationality by residence (2026)

If you have lived legally in Spain for the required time, you can apply for Spanish nationality. The Ministry of Justice grants it, and the procedure is electronic.

Who can apply

Anyone with legal, continuous residence immediately before the application, for the period that applies to them:

  • Ten years: the general case.
  • Five years: recognised refugees.
  • Two years: nationals by origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea or Portugal, and Sephardic Jews.
  • One year: people born in Spain, married to a Spanish national for a year without being separated, widows or widowers of a Spanish national, born abroad to a parent or grandparent who was originally Spanish, under Spanish guardianship, custody or foster care for two years, or who did not opt in time.

If you are a citizen of Puerto Rico, the two-year period applies to you. What counts is Puerto Rican citizenship, which you prove with the Certificado de ciudadanía puertorriqueña, not your place of birth: if you were born in the mainland United States and hold that citizenship, choose Puerto Rico as your nationality in Sellado and bring the certificate. The Ministry has at times applied ten years to applicants born in the United States; if that happens to you, ask for a review.

You must also show good civic conduct and sufficient integration into Spanish society.

What you need

  • The Instituto Cervantes CCSE exam (€85) and the DELE A2 or higher, unless you come from a country where Spanish is official or already hold a DELE. Children under 18 are exempt.
  • Birth certificate and criminal record certificate from your country, legalised (or apostilled) and translated.
  • Passport.
  • Proof of payment of fee 790 code 026.
  • Cl@ve or a digital certificate, and AutoFirma.

Steps

  1. Pass the CCSE and, if it applies to you, the DELE A2. If you need an exemption from the exams, ask for it before you apply.
  2. Download form 790-026 from the Ministry of Justice's electronic office, pay it at a bank and keep the receipt.
  3. File the application online on the Ministry of Justice's electronic office and attach the scanned documents. You have two months from creating it to send it.
  4. Track your file online. If they ask you for something, you have three months to provide it.
  5. If nationality is granted, within 180 days swear or promise before the Registro Civil or a notary, renounce your previous nationality if required, and ask to be entered in the Registro Civil.

What it costs

Fee 790-026 is €104.05 according to the Ministry of Justice, and you pay it even if nationality is refused. The CCSE costs €85. The DELE price depends on the level and the country.

How long it takes

The legal maximum to decide is one year; there is no minimum. In practice, many applications take longer. If the year passes without an answer, the application is deemed refused (negative silence) and you can appeal.

Sources

  • Spanish Civil Code, articles 21 to 23 (BOE, consolidated text).
  • Royal Decree 1004/2015, regulation of the nationality-by-residence procedure (BOE).
  • Law 19/2015, seventh final provision (BOE).
  • Ministry of Justice electronic office and website: nationality by residence, form 790-026 and notices on exemptions and legalisation.
  • Instituto Cervantes: CCSE exam and DELE diplomas.

Official sources

Change log (8)My file