RolesAbroad

From work visa to permanent residence in Spain: the five year route

Spain · 5 min read · checked 26 Nov 2026

How foreign workers move from a Spanish work permit to long term residence: the five year rule, absences, national or EU status and citizenship.

In Spain, the step after a work permit is long term residence, which most people can request after five years of legal and continuous residence. It lets you live and work in Spain on the same footing as Spaniards in most jobs, and it no longer depends on a particular employer. There are two versions: a national long term permit and an EU long term permit, which also opens doors in other EU countries. Citizenship is a separate step, normally after ten years.

The five year rule

The Ministry of Inclusion's information sheet says you must have legally and continuously resided in Spanish territory during the five years before you apply. Years on a work permit, a family reunification permit or other residence permits all count. The legal basis is the Organic Law 4/2000 on the rights of foreigners, with the detailed procedure in the 2024 Regulation on foreigners, which took effect in 2025.

Time as a student is treated differently. Periods of stay for studies, student mobility, volunteering or training count at 50% of their length, and only if you hold a residence permit when you apply. So two years of study add one year towards the five.

How long you can be away

Continuous does not mean you can never travel. Absences from Spain do not break your residence if each one lasts up to six months in a row and together they stay under ten months within the five years. If the absences were for work, the total can reach eighteen months. In exceptional cases, the authority can assess absences individually.

Keep proof of your trips: boarding passes, passport stamps and letters from your employer about business travel. You may need them if your dates are questioned.

Other routes to long term residence

Some people qualify without the full five years, for example residents receiving a contributory retirement pension or a permanent incapacity pension, residents born in Spain, and young people who were in the care of a Spanish public body for the five years before reaching adulthood.

National or EU long term residence?

The EU long term residence permit needs the same five years, but adds two conditions: stable and regular resources to support yourself and your family, and public or private health insurance. For a household of two, the resources required are 150% of the IPREM, a public income index, plus 50% for each extra member. The resources can come from your own savings or from work.

The benefit is mobility. EU long term status makes it easier to obtain residence or a residence and work permit in other member states. If you might move within Europe later, the EU version is usually worth the extra paperwork.

How to apply

You can apply in the two months before your current permit expires, or within three months after it expires. You will need:

  • A full copy of your passport
  • Proof of payment of the fee on form 790 code 052
  • A criminal record certificate from the countries where you lived in the last five years, where required, legalised and translated
  • For the EU version: proof of resources and health insurance

The office has three months to decide. If it does not answer in that time, the application is treated as approved under administrative silence. After approval, you must apply in person within one month for your foreigner identity card, the TIE.

Keeping your status

Long term residence can be lost if you stay outside the EU for long periods, so do not treat it as a permit you can leave unused for years. If you plan a long stay abroad, check the current rules first. The ministry has separate procedures for recovering a lost long term permit.

From long term residence to citizenship

Under Article 22 of the Civil Code, Spanish nationality by residence normally needs ten years of legal and continuous residence. The period is five years for recognised refugees and two years for nationals of Ibero American countries, Andorra, the Philippines, Equatorial Guinea and Portugal, and for Sephardic Jews. One year is enough in some cases, such as being born in Spain or being married to a Spanish citizen for a year. The Ministry of Justice handles nationality applications, which include language and culture tests run by the Instituto Cervantes unless you are exempt.

A practical timeline

  • Years 1 to 5: renew your work permit on time and keep travel records
  • Near year 5: collect criminal record certificates and decide national or EU
  • Apply in the window around your permit expiry
  • Within a month of approval: book your TIE appointment

Questions people ask

How long does it take to get permanent residence in Spain?

Most people can apply for long term residence after five years of legal and continuous residence in Spain.

Can I travel during my five years in Spain?

Yes. Each absence can last up to six months in a row, as long as the total stays under ten months in five years, or eighteen months if the travel was for work.

Do student years count towards Spanish long term residence?

They count at 50% of their length, provided you hold a residence permit when you apply.

What is the difference between national and EU long term residence?

The EU version also requires stable resources and health insurance, but it makes moving to work in another EU country easier.

When can I apply for Spanish citizenship?

Usually after ten years of legal residence, or two years for nationals of Ibero American countries, the Philippines, Equatorial Guinea, Andorra and Portugal.

Official sources: Ministry of Inclusion, Social Security and Migration: Sheet 49, national long term residence, Ministry of Inclusion, Social Security and Migration: Sheet 50, EU long term residence, BOE: Organic Law 4/2000 on the rights and freedoms of foreigners in Spain, BOE: Royal Decree 1155/2024, Regulation of Organic Law 4/2000, BOE: Civil Code, Article 22, Ministry of Justice: Spanish nationality by residence

Jobs for this route

More guides

Join us