Irina Firsova Author Irina Firsova Immigration lawyer in Spain, member of the Barcelona Bar Association no. 46.385 7 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 with it are periods of residence in different EU countries added together.

And here is the crucial detail most people get wrong: what is added together is not just any years in the EU, but specifically years on a Blue Card. If in the first country you had an ordinary residence permit — for work, study or business — those years will not count under any circumstances.

What counts, by type of permit

Will years in another EU country add up: only periods on an EU Blue Card are combined

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
Student residence permit no
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. All 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. 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. A valid employment contract in Spain at the time of application.

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 your document does not contain such wording, combining periods does not apply.

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, part of them counts.

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.

What to do in your situation

  1. Determine the type of your card in your current EU country. Look for the exact wording “EU Blue Card” in the document.
  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 a national residence permit — 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, of which the last two years in Spain on a Spanish Tarjeta Azul-UE, plus a valid employment contract in Spain.

Will the years count if I lived in the EU on an ordinary work residence permit?
No. Only periods on a Blue Card are combined. National permits — work, study, business, family reunification — do not have this effect.

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, part of them counts.

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 the EU Blue Card: periods on it are added together.
  • Conditions: five years in the EU on a Blue Card, the last two in Spain, an employment contract.
  • An ordinary work, student or business 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

A question about your situation?

or leave your contact and we will write first
We reply within an hour during working hours

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