- 10 years of legal, continuous residence immediately preceding the application: the general rule of Article 22 of the Código Civil [1].
- 5 years for refugees; 2 years for nationals of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, and for Sephardic Jews. Citizens of Russia, Belarus, Ukraine and Kazakhstan are not on this list [1].
- 1 year is enough for, among others, people born in Spain, people married to a Spanish citizen for at least a year and not legally or de facto separated, widows and widowers, and people born abroad to a father, mother, grandfather or grandmother who were originally Spanish [1].
- Besides the period of residence you need good civic conduct and a sufficient degree of integration, the DELE exam at A2 or above and the CCSE (Instituto Cervantes), a fee of €104.05 (according to the Ministry of Justice page as of 2 October 2026), and an oath with renunciation of your previous citizenship where this is required [1][2][3][4].
- A decision takes up to 1 year from the date the application reaches the Ministry of Justice; silence means refusal [2].
How many years must you live in Spain to get citizenship?
The general rule is 10 years. Article 22 of the Código Civil requires residence to be legal, continuous and immediately preceding the application [1]. Citizenship by residence is granted by the Minister of Justice, who may refuse it on reasoned grounds of public order or national interest [1]. You have to show good civic conduct and a sufficient degree of integration [1].
Who qualifies with a shorter period?
| Period | Who | Legal basis |
|---|---|---|
| 5 years | People granted refugee status | Article 22.1 [1] |
| 2 years | Nationals of origin of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, and Sephardic Jews | Article 22.1 [1] |
| 1 year | People born in Spain; people who did not exercise their right of option in time; people under the guardianship of a Spanish citizen or institution for two consecutive years; people married to a Spanish citizen for a year and not separated; widows and widowers; people born abroad to a father, mother, grandfather or grandmother who were originally Spanish | Article 22.2 [1] |
Article 22 contains no country-based concession for citizens of Russia, Belarus, Ukraine and Kazakhstan: the general period applies to them unless another case on the list fits [1].
What does “legal, continuous and immediately preceding” residence mean?
The law does not define these words, but it requires all three conditions to be met [1]. Which stages of stay count as residence, a study estancia for example, is decided by practice, not by the text of Article 22. We found no official list of periods that count, so you should show your history of statuses and any gaps between them to a legal professional before applying. Filing a renewal on time keeps the permit in force until a decision is made (Article 200 of the Reglamento), and this helps avoid a gap [5].
What do you need once you have completed the required period?
The procedure is set by Real Decreto 1004/2015: the application is filed electronically through the Ministry of Justice system, together with a birth certificate from your country of origin with legalisation and translation, your passport, a criminal record certificate and integration documents [2][3]. You must pass two Instituto Cervantes exams: DELE at A2 or above and the CCSE (knowledge of the Constitution and of social and cultural life) [2][3]. Citizens of the 20 countries listed in Orden JUS/1625/2016 are exempt from the DELE; CIS countries are not on that list [3].
- The CCSE has 25 questions and lasts 45 minutes; to pass you need 15 correct answers out of 25 [6]. Registration has cost €85 since 2023 and gives you two attempts if you fail or do not show up [7]. The certificate is valid for four years [8].
- According to the Ministry of Justice, the citizenship fee is €104.05 (with the caveat that the amount is revised under the budget law) [4].
- Decision time: up to one year from when the application is received; silence means refusal [2].
- After a favourable decision, within 180 days you must appear before the encargado of the Registro Civil (according to the Ministry of Justice, the oath can also be taken before a notary), swear or promise allegiance to the King and the Constitution, declare that you renounce your previous citizenship where this is required, and apply for registration [1][2]. Article 23 exempts nationals of Ibero-American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, and Sephardic Jews, from the renunciation requirement [1].
How renouncing your previous citizenship fits with the law of your country is decided by that law; check it before applying.
What depends on your case
We do not know how many years of your history will count: a study estancia, arraigo, temporary protection and gaps between permits are assessed differently. We did not find the real processing time in official data. Comparison with a residence permit and permanent residence: residence permit or citizenship, residence permit or permanent residence. The full application procedure for citizens of Russia and the CIS: Spanish citizenship by residence, exams: CCSE and DELE A2. You can check your period and status in a consultation: renewal and permanent residence; to avoid gaps in residence, use the route card “Residence permit renewal”.
Frequently asked questions
How many years do you need to live in Spain to get citizenship?
Is there a shorter period for citizens of Russia, Belarus or Ukraine?
Do you have to sit exams for Spanish citizenship?
How much does Spanish citizenship cost?
How long does a citizenship application take?
Do you have to give up your previous citizenship?
Official sources
- BOE · Código Civil, Articles 21 - 26 (citizenship) ↗
- BOE · Real Decreto 1004/2015, procedure for citizenship by residence (Articles 5, 6, 11, 12) ↗
- BOE · Orden JUS/1625/2016, Article 10 and annex (exams and documents) ↗
- Spanish Ministry of Justice · Nacionalidad por residencia (fee) ↗
- BOE · Real Decreto 1155/2024, Article 200 (permit stays in force when renewal is filed on time) ↗
- Instituto Cervantes · CCSE: how the exam works ↗
- Instituto Cervantes · CCSE: price ↗
- Instituto Cervantes · CCSE: marks and certificate validity ↗
Sources reviewed on 02.10.2026. Consolidated texts and government reference pages are for information only: applying the law depends on official publications, amendments and the specific circumstances. Reviewed by lawyer Francisco Romero Jiménez (ICAB 33641) on 21.10.2026.
Turn the information into questions.
The navigator helps you gather topics for an individual review. It does not determine your right to a residence permit and does not submit an application.
Build your checklistHow ReloVictory works: a 15-minute consultation is free, a full consultation costs €121 for 45 minutes; case handling is priced by quote, and fees and translations are paid separately. The legal side is handled by the team’s lawyer, tax and administrative matters by a graduada social. More: about the team.
Prefer to do it yourself? Step-by-step guides: residence permit in Barcelona: from empadronamiento to TIE and route cards by residence ground.
Related articles
ReloVictory · Sources reviewed 02.10.2026 · Not a substitute for individual legal advice.
