Spanish nationality by residence
You can apply after living in Spain legally and continuously for a period that depends on your country and your situation.
Who is it for?
- Foreign nationals legally resident in Spain.
Requirements
- Legal, continuous residence immediately before the application: 10 years as a general rule.
- 5 years if you have refugee status.
- 2 years if you are originally from a Latin American country, Andorra, the Philippines, Equatorial Guinea or Portugal, or of Sephardic origin.
- 1 year if you were born in Spain, if you have been married to a Spanish citizen for a year and are not separated, if you are the widow or widower of a Spanish citizen, or if your father, mother, grandfather or grandmother were Spanish by origin, among other cases.
- Good civic conduct and sufficient integration: as a rule, passing the DELE A2 and the CCSE test of the Instituto Cervantes.
Documents you need
- Valid passport and residence card (TIE).
- Birth certificate from your country, legalised or apostilled and translated.
- Criminal record certificate from your country of origin, legalised or apostilled and translated.
- Certificate of registration with the town hall (empadronamiento).
- DELE A2 and CCSE certificates, or the Instituto Cervantes exemption.
- If you apply through marriage: marriage certificate registered in the Spanish Civil Registry.
- Proof of payment of the fee (form 790, code 026).
Foreign documents usually have to be legalised or apostilled and translated into Spanish by a sworn translator. Always bring originals and copies.
Official forms and links
Links to official government websites: they open in a new tab and always have the current version.
Step by step
- Prepare for and pass the Instituto Cervantes exams (if they apply to you).
- Gather the documents and scan them.
- Pay the fee at the bank.
- Submit the application on the Ministry of Justice e-office, with a digital certificate or Cl@ve (or through a professional).
- Respond to any requests for documents.
- If granted, you have 180 days to swear or promise allegiance and request registration in the Civil Registry.
Keep in mind
- Long periods outside Spain can break continuous residence.
- People from Spanish-speaking countries do not take the DELE; minors take neither exam.
- Except for Latin America, Andorra, the Philippines, Equatorial Guinea, Portugal and France, when you swear allegiance you renounce your previous nationality before Spain.
Official sources
- Código Civil, artículo 22
- Ministerio de Justicia: nacionalidad española
- Instituto Cervantes: DELE y CCSE
General, summarised information. Rules and requirements can change and every case is different: always check the official source or ask for guidance.
Last reviewed: 11/22/2026