Irina Firsova Author Irina Firsova Immigration lawyer in Spain, member of the Barcelona Bar Association no. 46.385 9 min read Message the author

Do years in another EU country count towards Spanish permanent residence?

As a general rule, years spent in another European Union country do not count towards Spanish permanent residence. The five-year period runs from the date of your first Spanish residence card, and previous residence in Bulgaria, Poland or Portugal is reset to zero.

There is one exception — the EU Blue Card. Only its holder in Spain can add together periods of residence in different EU countries.

And here is the crucial detail most people get wrong: the key is a Spanish Blue Card on which you have lived for the last two years. Then years in other EU countries are added to them: on a Blue Card, a national permit for highly qualified employment, a research permit, with international protection, and years of study at half (article 176 of RD 1155/2024). An ordinary permit for work, business, family reunification or for the financially independent will not count.

What counts, by type of permit

Will years in another EU country count?The key: a Spanish Blue Card for the last 2 yearsCountDo not countEU Blue Cardnational work permitnational highly qualified permitbusiness and self-employmentresearch permitfinancially independentinternational protectiondigital nomad visastudy — at halffamily reunification5 years in the EU · absences up to 12 months in a row, 18 in total · no job contract needed
Terracotta marks the permits whose years add up. Without a Spanish Blue Card for the last two years, even they do not (article 176 of RD 1155/2024).
Permit held in another EU country Counts towards Spanish permanent residence
EU Blue Card (Tarjeta Azul-UE) yes, if the conditions are met
National work residence permit no
National permit for highly qualified employment yes, if you now hold a Spanish Blue Card
Research permit yes, on the same condition
International protection yes, on the same condition
Student residence permit at half, on the same condition
Business or self-employment residence permit no
Residence permit for the financially independent no
Another country’s digital nomad visa no
Family reunification residence permit no

The logic is simple: the Blue Card is a pan-European instrument created by an EU directive specifically for the mobility of skilled workers within the Union. That is why only its holder gets the credit, and what counts are the permits the directive treats as equivalent: a national permit for highly qualified employment, a research permit, international protection and study at half. The other permits are national: they apply in their own country and have no effect outside it.

How combining periods on a Blue Card works

The mechanism is laid down in the EU directive on highly qualified workers and transposed into Spanish law.

Conditions for Spanish long-term residence

  1. Five years in total in EU countries on a Blue Card, a national permit for highly qualified employment, a research permit or with international protection; years of study count at half. Years in different states are added together.
  2. The last two years in Spain, and also on a Spanish Tarjeta Azul-UE, not on another permit.
  3. Absences from the EU of no more than 12 months in a row and 18 months in total.

An employment contract is not a separate requirement for EU long-term residence itself: it is needed for the Blue Card. For long-term residence you need sufficient means and health insurance (Ministry of Inclusion information sheet 50).
An example. A person worked for three years on a Blue Card in Lithuania, then moved to Spain and obtained a Tarjeta Azul-UE here. After two years of Spanish residence they apply for long-term residence: three plus two gives the required five, and the last two years were spent in Spain.

Had they come to Spain on a digital nomad visa, the three Lithuanian years would not have counted and the clock would have started again from zero.

Mobility: moving between EU countries

The Blue Card also offers an earlier advantage. After 12 months of residence on it in the first EU country, you can move to a second one and apply for a card there under a simplified procedure. The application is filed in the new country shortly after entry.

There is also an option with a lower threshold: 6 months of residence on a Blue Card in different EU countries also gives the right to apply for a Spanish Tarjeta Azul-UE.

This differs significantly from ordinary national residence permits, where moving means starting the procedure from scratch.

The first thing to check

Before making plans, find out the exact name and legal basis of your card in the first country.

People often call any work residence permit obtained in Europe a “Blue Card”. Yet it is a specific document with a specific name — EU Blue Card, Blaue Karte EU, Niebieska Karta UE, Sinya karta na ES (Bulgarian). If there is no such wording, look at the legal basis: a national permit for highly qualified employment, a research permit, international protection and study also count, but an ordinary work permit does not.

It is worth checking the card itself or the decision granting the permit. Wording such as “temporary residence permit with the right to work” indicates a national permit, not a Blue Card.

Why the mechanism rarely applies

The Blue Card is not issued to every working professional, but only when fairly strict conditions are met: higher education or proven professional experience, an employment contract with a salary above the set threshold, and an occupation that matches the list.

In countries with low wages the threshold turns out to be well above the market average, and employers more often hire staff on national permits — it is simpler and cheaper.

Hence the typical situation: a person lives and works conscientiously in another EU country for several years, yet for Spanish permanent residence those years count for nothing.

What to do if you did not have a Blue Card

Previous residence in the EU does not vanish without a trace, but it works differently — not as years that count, but as an advantage when applying.

  • The clock for Spanish permanent residence starts again — from the date of your first Spanish card. Five years of continuous residence and the absence limits are counted from that date.
  • The five years to permanent residence are part of the ten years to citizenship. It is one timeline, not two periods back to back.
  • You can apply from your current country of residence. If you hold valid residence in Bulgaria, you fall under the consular district of the Spanish consulate in Bulgaria and apply there, not in your country of citizenship. This is often more convenient and quicker. All the options step by step are in the article on moving from Bulgaria to Spain.
  • Experience of legal residence in the EU makes preparation easier: you have a European banking history, a tax history and a social security record. All of this strengthens your file.

How continuity is calculated and which absence limits apply is covered in detail in the article on permanent residence in Spain.

Two types of Spanish permanent residence: an important difference

Those who plan to keep moving around Europe should understand the difference. The second option is often called EU permanent residence — in Spanish documents it is residencia de larga duración-UE.

National permanent residence EU permanent residence
Right to live in Spain indefinite indefinite
Moving to another EU country gives no advantage makes getting status there easier
Counting years of study do not count count in part
Loss of status under the rules of Spanish law after a long absence from the EU

If you have already moved within the Union and do not rule out moving again, the second option is preferable.

A separate note on years of study

Another trap related to the main question.

Student status in Spain is estancia, a stay, not residencia, residence. For national permanent residence, years on a student visa do not count at all. For EU permanent residence, years of study count at half — including years of study in another EU country, if for the last two years you have lived in Spain on a Blue Card.

That is why the student visa, the most accessible in terms of requirements, works poorly as a relocation strategy: it gives you a legal stay but does not bring you closer to permanent status.

Tell us your situation — we reply within the hour

or leave your contact and we will write first
We reply within an hour during working hours. We never call without warning.

What to do in your situation

  1. Determine the type of your card in your current EU country. A Blue Card, a permit for highly qualified employment, a research permit, international protection and study can all count.
  2. If it is a Blue Card — consider moving to Spain specifically on a Tarjeta Azul-UE, not on another permit. Only then will the years add up.
  3. If it is an ordinary permit for work, business or family — choose your Spanish route based on your source of income, and leave your previous years out of the calculation.
  4. Check where to apply. If you hold valid residence in another EU country, you usually apply through the Spanish consulate there.
  5. Calculate both periods at once — to permanent residence and to citizenship. They run on the same timeline, and this affects which route you choose.

Frequently asked questions

Do years living in another EU country count towards Spanish permanent residence?
As a general rule, no. The five-year period runs from the date of your first Spanish residence card. The exception is residence on an EU Blue Card.

What is needed to combine years on a Blue Card?
Five years in total in EU countries on a Blue Card, a national permit for highly qualified employment, a research permit or with international protection (years of study at half), of which the last two years in Spain on a Spanish Tarjeta Azul-UE. Absences of up to 12 months in a row and 18 in total. No separate employment contract is required for EU long-term residence.

Will the years count if I lived in the EU on an ordinary work residence permit?
No. An ordinary work permit, business and family reunification do not count. What counts is a Blue Card, a national permit for highly qualified employment, a research permit, international protection and study at half — and only if for the last two years you have lived in Spain on a Blue Card.

Will the years count if I move to Spain on a digital nomad visa?
No. It is a national Spanish permit and does not provide for combining periods. The clock starts from your first Spanish card.

How can I tell whether I have a Blue Card or an ordinary residence permit?
By the wording on the document: EU Blue Card, Blaue Karte EU, Niebieska Karta UE and the like. If there is no such name, it is a national permit.

Can I move from one EU country to another on a Blue Card?
Yes. After 12 months of residence in the first country you can move to a second one and apply for a card there under a simplified procedure. There is also an option after 6 months of residence in different EU countries.

Where do I apply if I live in another EU country?
Usually at the Spanish consulate in your country of legal residence: you fall under its consular district by residence, not by citizenship.

Do years of study count?
For national Spanish permanent residence — no: student status gives a stay, not residence. For EU permanent residence — at half, including years of study in another EU country, if for the last two years you have lived in Spain on a Blue Card.

Are the five years to permanent residence part of the ten years to citizenship?
Yes, it is one timeline. You do not need to wait a separate ten years after obtaining permanent residence.

Which is better for moving around Europe later?
EU permanent residence: it makes getting status in another EU country easier. National permanent residence offers no such advantages.

Key points

  • As a general rule, years in another EU country do not count towards Spanish permanent residence.
  • The only exception is a Spanish EU Blue Card: its holder can add together years in the EU.
  • Conditions: five years in the EU on a Blue Card, a highly qualified permit, a research permit or with international protection (study at half), the last two years in Spain on a Blue Card, absences of up to 12 months in a row and 18 in total.
  • An ordinary work, business or family residence permit from another country does not have this effect.
  • The first step is to check the exact name of your card on the document.
  • Without a Blue Card, the clock starts from your first Spanish residence permit.
  • You can usually apply from your current country of residence in the EU.

Your situation can only be assessed on the basis of your documents: the type of card in the first country determines whether the years add up. We will review your status, calculate the timelines and choose a route for Spain: consultation. On choosing a route — see our overview of residence permits in Spain.

Read next

Ask a question

Describe your situation — we will reply within the hour

or leave your contact and we will write first
We reply within an hour during working hours. We never call without warning.

We use cookies to improve your user experience, analyze traffic and personalize content. Learn more in our Privacy Policy.