Route card · Spain

Spanish citizenship by residence: how to apply on your own

Citizenship by residence (nacionalidad por residencia) is granted to people who have lived in Spain legally and continuously for the required period, passed the Instituto Cervantes exams and shown good conduct. The procedure is the same across Spain: you apply online, the Ministry of Justice decides, and the oath is taken before a notary or at the Registro Civil. Below are 15 steps, from working out your period to getting a DNI and passport.

In brief

Residence period
10 years
5 years for refugees, 2 years for certain countries, 1 year in the cases of article 22 Código Civil
Exams
DELE A2 and CCSE
both run by Instituto Cervantes, exemptions exist
Fee
€104.05
form 790, code 026; exams are paid separately
Application
Online
Ministry of Justice sede, with a digital certificate or through a representative
Decision
Up to 1 year
after a year with no reply, the application is deemed refused
Oath
180 days
from notification of the decision, otherwise the decision lapses

Who this route is for

A route for people who already live in Spain with a residence permit or long-term residence and want to apply for citizenship without intermediaries. Article 22 of the Código Civil requires residence to be legal, continuous and immediately before the application, and the applicant to show good civic conduct (buena conducta cívica) and sufficient integration into Spanish society.

PeriodWho (article 22 Código Civil)
10 yearsGeneral rule
5 yearsPeople granted refugee status
2 yearsNationals by origin of Latin American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, and Sephardic Jews
1 yearPeople born in Spain; those who did not exercise their right to opt for Spanish nationality in time; those who were under the guardianship or care of a Spanish citizen or institution for two consecutive years; those married to a Spanish citizen for one year; widows and widowers of Spanish citizens; people born abroad to a parent or grandparent who was originally Spanish

Citizens of Russia, Ukraine, Belarus and Kazakhstan usually fall under the general 10-year period, unless they qualify under the “1 year” row. Before you start, read the overview of citizenship by residence and the comparison residence permit or citizenship: at the oath you declare that you renounce your previous citizenship, so weigh this decision in advance.

Spanish citizenship by residence: 15 steps

  1. Work out your residence period

    Find out which period under article 22 of the Código Civil applies to you: 10, 5, 2 years or 1 year. The period counts legal residence, not the date you first arrived.

    Where: Código Civil, article 22Timing: before collecting documentsCost: free

    When you need help: a one-year ground through ancestors or guardianship, or a disputed period. Show such cases to a citizenship lawyer.

  2. Check that your residence is legal and continuous

    The law requires legal, continuous residence immediately before the application. It does not give a figure for acceptable absences, so long trips abroad and gaps between permits are reviewed before applying.

    Where: your resolutions, TIE, passportTiming: before applyingCost: free

    When you need help: there were periods without status, long absences or changes of grounds with gaps.

  3. Pass DELE A2 or confirm your exemption

    The regulation (Real Decreto 1004/2015, article 6) requires a DELE diploma at A2 level or higher. Exempt are nationals of the Spanish-speaking countries listed in article 6 and people who already hold DELE A2 or higher; a DELE diploma does not expire.

    Where: Instituto Cervantes, exam centresTiming: according to the exam calendarCost: see the Instituto Cervantes page

    When you need help: you cannot read and write, or you have a disability. Special conditions apply, so check the procedure in advance. More details: CCSE and DELE A2.

  4. Pass the CCSE

    The CCSE tests knowledge of Spain’s Constitution, history and culture. Registration costs €85 and gives up to two attempts if you fail the first or do not turn up. Results arrive in about 20 days, and the certificate is valid for citizenship for 4 years.

    Where: Instituto CervantesTiming: exams almost every month, results in about 20 daysCost: €85 (since 2023)

    When you need help: usually you don’t; you can realistically do this step yourself.

  5. Get your birth certificate with an apostille and a sworn translation

    The regulation requires a birth certificate from your country of origin, legalised and translated where necessary. For Hague Convention countries, the apostille replaces legalisation.

    Where: civil registry office or archive in the country of birth, sworn translatorTiming: depends on the issuing countryCost: apostille and translation at the providers’ rates

    When you need help: the spelling of your name differs in the certificate, or the document was issued by a state that no longer exists.

  6. Get a criminal record certificate from your country of origin

    Adult applicants attach a criminal record certificate from their country of origin, legalised and translated (article 5 of the regulation). Refugees and people whose legal capacity has been limited by a court are exempt.

    Where: authorities of your country of citizenship, consulateTiming: depends on the countryCost: issuing country’s rates

    When you need help: the certificate shows entries, even spent ones, or you cannot get it from your country.

  7. Deal with the Spanish criminal record certificate

    The Spanish certificate is not on the article 5 document list: under article 8, the Ministry of Justice itself requests the mandatory report from the Ministry of the Interior. If the authority asks for the certificate separately, you can get it online.

    Where: Ministry of Justice, sedeTiming: when the authority asksCost: see the authority’s page

    When you need help: you have had fines, arrests or open cases in Spain, as these affect the assessment of “good conduct”.

  8. Get a registration certificate (padrón)

    A volante or certificado de empadronamiento confirms your address and years of residence; in Barcelona it is issued by the Ajuntament. The regulation does not include it in the mandatory list, but your address determines which Registro Civil handles the oath, and the certificate is useful for a requerimiento and for the DNI.

    Where: Ajuntament de Barcelona (municipal rule)Timing: for the DNI, issued within the last three monthsCost: see the Ajuntament page

    When you need help: you do not live at your registered address, or you were not registered for part of the period.

  9. Gather proof of integration and means

    Article 22 requires sufficient integration, and the regulation proves it through the exams and the documents in article 6. The regulation has no closed list of evidence of means or employment, so prepare in advance whatever shows your life in Spain.

    Where: Seguridad Social, Agencia Tributaria, education centresTiming: before applyingCost: see the authorities’ pages

    When you need help: you have no stable income or have tax debts. Go through this with a gestor before applying.

  10. Pay the fee with form 790, code 026

    The fee to start the procedure is €104.05 and is updated by the budget law. Form 790 is downloaded from the Ministry of Justice sede; each form has its own number, so you cannot reuse a copy.

    Where: Ministry of Justice sede, bankTiming: before applyingCost: €104.05

    When you need help: usually you don’t; check the amount on the sede before paying.

  11. Apply through the Ministry of Justice sede

    The procedure is electronic at every stage (article 3 of the regulation). You apply yourself with a digital certificate or Cl@ve; otherwise a representative applies on your behalf (mandato o poder). A draft application is kept for two months and then deleted.

    Where: sede.mjusticia.gob.esTiming: drafts are deleted after 2 monthsCost: the fee from step 10

    When you need help: you have no certificate or Cl@ve, or you are unsure about your documents. Applying through a representative is safer.

  12. Respond to requerimientos

    If the file is incomplete, the authority will send a request (requerimiento). You have three months from notification to reply; otherwise the applicant is treated as having withdrawn the application (article 10 of the regulation).

    Where: Ministry of Justice sedeTiming: 3 months to replyCost: free

    When you need help: the request concerns conduct, criminal record or residence, not just a missing copy.

  13. Wait for the decision and know the deadlines

    The decision must be made and served within one year of the application being received. If there is no reply within a year, the application is deemed refused (silencio negativo, article 11 of the regulation), and whether to appeal is decided separately.

    Where: Ministry of Justice sedeTiming: up to 1 yearCost: free

    When you need help: a year has passed with no reply, or you have been refused. Appeal deadlines are short, and you need a lawyer.

  14. Take the oath before a notary or at the Registro Civil

    The decision takes effect if, within 180 days of notification, you swear or promise loyalty to the King and obedience to the Constitution and the laws, declare that you renounce your previous citizenship where this is required, and ask for the entry to be registered (article 23 of the Código Civil). Since 2021 you can choose a notary or the Registro Civil.

    Where: notary or Registro CivilTiming: 180 days from notificationCost: ask the notary or the Registro Civil

    When you need help: renouncing your previous citizenship under article 23 has consequences under your country’s laws (property, inheritance, military service, entry). Ask a lawyer who knows the law of both countries before the oath.

  15. Get registered at the Registro Civil, then get your DNI and passport

    The Registro Civil records the acquisition of citizenship. For your first DNI you need a certificación literal de nacimiento from the Spanish Registro Civil issued within the last six months and a registration certificate issued within the last three months. After the DNI you apply for a passport.

    Where: Registro Civil, Policía NacionalTiming: the regulation gives the Registro Civil 5 days to registerCost: for the DNI fee, see the Ministry of the Interior page

    When you need help: the registration is delayed or has errors in names and dates.

Common mistakes on this route

  • Counting the period from the first arrival on a tourist visa: only legal residence counts.
  • Applying when the residence permit has already expired and no renewal has been filed: residence must be legal immediately before the application.
  • Taking the CCSE too early: the certificate is valid for citizenship for 4 years.
  • Attaching a birth certificate without an apostille, or with an ordinary rather than a sworn translation.
  • Missing the three-month deadline to reply to a requerimiento and losing the application.
  • Finding out about the decision late and failing to take the oath within 180 days.
  • Not checking in advance what renouncing previous citizenship means under their own country’s laws.

Frequently asked questions

How many years do you need to live in Spain for citizenship?
The general rule is 10 years of legal and continuous residence. Refugees need 5 years; nationals of Latin American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, and Sephardic Jews need 2 years; in certain cases under article 22 of the Código Civil, for example marriage to a Spanish citizen, 1 year.
How much does it cost to apply for citizenship?
The procedure fee is €104.05 with form 790, code 026. You pay separately for the CCSE (€85 with two attempts), DELE A2, apostilles, sworn translations and certificates.
Can I apply without a digital certificate?
The procedure is electronic. Without your own digital certificate or Cl@ve, a representative applies on your behalf with a poder; professional representatives are required to work electronically.
What happens if there is no reply within a year?
Under article 11 of Real Decreto 1004/2015, the application is deemed refused. Discuss the next steps with a lawyer, as appeal deadlines are short.
Do I have to give up Russian, Ukrainian or other citizenship?
Article 23 of the Código Civil requires you to declare at the oath that you renounce your previous citizenship; there are exceptions for Latin American countries, Andorra, the Philippines, Equatorial Guinea, Portugal and Sephardic Jews. How this plays out under your country’s laws depends on that country’s law, so ask a lawyer in advance.
Where do you take the oath in Barcelona?
Before a notary or at the Registro Civil where you live. The deadline is 180 days from notification of the decision; otherwise the decision granting citizenship lapses.

Go through your situation

If your residence period is disputed, there were gaps in your status or there are questions about your certificates, you need a review before applying. First consultation: 15 minutes free. Full individual consultation: €121 for 45 minutes. Case handling is priced by quote; fees and translations are paid separately, and appeals are not included. The Ministry of Justice makes the decision, and we do not promise the outcome. ReloVictory is a relocation centre, not a law firm: the team’s lawyer handles the legal side, and a tax and administrative specialist (graduada social) handles tax and administrative matters.

Book a consultation

Related articles

Sources

Sources checked on 3 October 2026. The fee is revised by the budget law, so check the amount on the sede before paying. This material is for information only and does not replace advice from a lawyer or a tax and administrative specialist.

How does this apply to your situation?

Choose your first step with a short quiz or discuss your questions with the ReloVictory team.