Most people arrive in Spain on a visa tied to a purpose — retirement savings, a remote job, a company, a course of study. Each of those permits is renewable, but each also carries conditions you must keep proving year after year. What many newcomers do not realise on arrival is that the clock is also running toward a very different kind of status: long-term residence, reachable after five continuous years of legal residence, which frees you from those purpose-based conditions almost entirely. This page explains what long-term residence is, the two forms it takes, what counts toward the five years, and — importantly — how it differs from becoming a Spanish citizen.
On this page
Two statuses after five years What the five years actually means Absences and the continuity rule What long-term residence grants you The EU version and mobility across Europe How it differs from Spanish citizenship How time on each route counts Documents and the application process Renewing and keeping the status alive Frequently asked questions
"The five-year mark is the quiet turning point in most of my clients' lives here. Up to that day they are always proving something — income, a job, a course. After it, they simply live in Spain. My job in the years before is to make sure the record is clean and the absences never break the thread, so that when the moment comes the application is a formality, not a fight."
— Lola Jurado · Immigration lawyer, Ilustre Colegio de Abogados de Málaga (nº 10907)
Two statuses after five years
Spanish law offers two closely related long-term statuses, and it is worth understanding both from the outset because they are easy to confuse. The first is the residencia de larga duración — the national long-term residence. The second is the residencia de larga duración-UE — the EU long-term residence, which transposes the European Union's long-term residents directive into Spanish law.
Both are reached after the same headline five-year qualifying period, and both give an indefinite right to live and work in Spain. The essential difference lies in what happens outside Spain: the national version is a purely domestic status, while the EU version carries a portable set of rights that can help you relocate to another EU member state without starting from zero. For someone who intends to stay in Spain indefinitely, the national status may be perfectly sufficient; for someone who might one day move elsewhere in Europe, the EU version can be worth the additional requirements it usually carries.
What the five years actually means
The qualifying period is five years of continuous and legal residence in Spain. Two words in that phrase do a great deal of work. "Legal" means residence held under a valid authorisation — a visa or residence permit — rather than mere physical presence; time spent in Spain irregularly does not build the entitlement. "Continuous" means the residence must not have been broken by absences beyond the limits the law allows, which we come to below.
Crucially, the five years does not have to be spent on a single type of permit. You may have arrived on a non-lucrative visa, switched to a work authorisation, and finished the period on a digital nomad permit — and the years can still add up, provided each was a period of legal residence. This is one of the most useful features of the framework: the long-term clock keeps ticking across changes of purpose, so long as you never fall out of legal status in between.
Absences and the continuity rule
Because the residence must be continuous, time spent outside Spain during the qualifying period is limited. As a general guide, the rules permit only a certain amount of absence before continuity is treated as broken — commonly framed as a limit on how many months you may spend abroad across the whole five-year period, together with a cap on any single uninterrupted absence. The exact figures should be confirmed for your case, because they are precisely the kind of detail that decides an application, and they differ between the national and the EU status.
What matters in practice is the mindset: long-term residence rewards people who have genuinely made Spain their home, not those who hold a permit while living mostly elsewhere. Long trips, extended stays in another country, or a pattern of spending half the year abroad can jeopardise the count. If your life during the five years involves significant time outside Spain, it is worth mapping your absences early rather than discovering a problem when you apply.
What long-term residence grants you
The appeal of the status is stability. Once granted, long-term residence gives you an indefinite right to reside and to work in Spain — as an employee or on your own account — under broadly the same conditions as Spanish nationals in the labour market. You are no longer tied to the purpose that first brought you: a retiree who took the non-lucrative route is no longer barred from working; a founder is no longer bound to a specific company; a student is no longer limited to studying.
The practical benefits build on that core:
- No purpose-based conditions to keep proving — you are not renewing on the basis of savings, income, a job or enrolment each cycle.
- Longer, simpler renewals — the long-term card is renewed on a longer cycle than the annual or biennial permits that precede it, and the renewal is essentially confirmation of an existing right rather than a fresh assessment.
- Greater security of status — long-term residence is harder to lose than a purpose-based permit and offers stronger protection, which matters for mortgages, employment and long-term planning.
- Freedom in the labour market — you may work, change jobs, become self-employed or stop working without your immigration status being at stake.
The EU version and mobility across Europe
The residencia de larga duración-UE adds a dimension the national status does not have: mobility rights within the European Union. A holder of EU long-term residence acquired in Spain can, in principle, use that status to move to another EU member state to work, study or carry on an activity, following that country's procedure for admitting EU long-term residents from another state — rather than applying from scratch as an ordinary third-country national.
This does not mean automatic free movement in the way an EU citizen enjoys it; the destination country still runs its own process and may set conditions. But it is a meaningfully lighter path than starting a fresh immigration application in another country with no prior status. For someone whose future may involve Germany, the Netherlands, Portugal or another member state, the EU version is the one to aim for. In exchange, it typically asks for additional evidence at the application stage — usually stable and regular resources and health coverage — so the two statuses are not interchangeable, and which you pursue should follow from where you expect your life to go.
How it differs from Spanish citizenship
This is the distinction that causes the most confusion, so it is worth stating plainly: long-term residence is not citizenship. When you hold long-term residence you remain a foreign national. You keep your original passport and nationality, you are not a Spanish or EU citizen, and you do not vote in national elections. What you gain is the right to stay indefinitely and to work freely — a very strong right, but a residence right.
Citizenship is a further, larger step. For most nationalities it generally requires ten years of legal residence, not five, and it involves an application to become Spanish — typically including an oath of allegiance and, for most applicants, examinations on the language and on Spanish society. For nationals of a privileged group — Ibero-American countries, Andorra, the Philippines, Equatorial Guinea, Portugal, and people of Sephardic origin — the residence requirement is much shorter, commonly two years. Spain also generally expects most applicants to renounce their previous nationality, though the privileged nationalities are typically exempt. Timelines and conditions should be confirmed for your nationality.
| Long-term residence | Spanish citizenship | |
|---|---|---|
| Time in Spain | 5 years | 10 years (2 for privileged nationalities) |
| Nationality | You stay a foreign national | You become Spanish |
| Passport | Your original passport | Spanish/EU passport |
| Tests / oath | None for the residence itself | Oath and, for most, language and society exams |
| Right to work | Yes, indefinitely | Yes, as a citizen |
Many people treat long-term residence and citizenship as consecutive milestones on the same journey: reach long-term residence at five years for security, then apply for citizenship later once the longer clock has run. If citizenship is your ultimate goal, our note on Spanish citizenship by residency sets out how that longer route works and how the two fit together.
How time on each route counts
A frequent and important question is whether the years spent on a particular visa "count" toward the five. As a general rule, periods of legal residence count — but not all periods count equally.
- Non-lucrative visa — years of legal residence on the non-lucrative route generally count in full. Retirees who took this path, covered in our guide to the non-lucrative (retirement) visa, are often working steadily toward long-term residence without realising it.
- Digital nomad visa — time as a legal resident on the digital nomad authorisation generally counts in full toward the five years.
- Work and highly-qualified permits — employment-based and highly-qualified professional residence generally counts in full.
- Student stay — time spent under a student authorisation is not ordinary residence. For the EU long-term route, Spain's current rules can count student stay at 50% once the applicant is in a residence situation. See the dedicated guide to student years and long-term residence before relying on the arithmetic.
If your five years is a patchwork of different permits, the safest approach is to build a timeline of every authorisation you have held, mark the student periods that may be halved, and check the arithmetic before you assume you have reached the threshold. The route from a purpose-based permit toward this indefinite status is also explored, from the retiree's perspective, in our note on going from the non-lucrative visa to permanent residency.
Documents and the application process
The application for long-term residence is a formal administrative procedure, submitted once you have completed and can evidence the qualifying period. While the precise document list depends on your circumstances and the version you are applying for, an application typically involves:
- A valid passport, and your existing residence card (TIE).
- Proof of the five years of continuous legal residence — the chain of prior visas and permits, with dates.
- Evidence supporting continuity — empadronamiento history, and records that show Spain was your centre of life.
- For the EU version, additional proof such as stable resources and health coverage, as its conditions require.
- The relevant application form and payment of the corresponding fee, followed by fingerprinting and collection of a new TIE reflecting the long-term status.
Because the decision turns heavily on the residence record, the real work is usually preparation: assembling a clean, dated chain of authorisations and addressing any absence or gap before it becomes a question from the administration. An application that is well-documented on continuity is generally straightforward; one where the record is patchy is where difficulties arise.
Renewing and keeping the status alive
Long-term residence is granted indefinitely, but the physical card still has to be renewed periodically, and the underlying status can be lost if you spend too long outside Spain — or, for the EU version, outside the European Union — after it is granted. The absence rules that protect the status once you hold it are distinct from the ones that governed the qualifying five years, and, like those, the exact periods should be confirmed rather than assumed.
The practical takeaway is that long-term residence rewards a genuine, ongoing connection to Spain. It is designed for people who live here, and it can slip away from people who acquire it and then effectively move away for extended periods. If your circumstances after obtaining the status will involve long spells abroad, it is worth understanding the specific limits — including protections such as a return authorisation for planned longer absences — before you travel, so a long trip never quietly costs you a status that took five years to earn.
Frequently asked questions
Is long-term residence the same as permanent residence?
In everyday language people call it "permanent residence", and it is indefinite. Formally, Spanish law calls it long-term residence — the national residencia de larga duración and the EU residencia de larga duración-UE. Both are reached after five years of legal residence.
Do I have to choose between the national and the EU version?
They are distinct statuses. The EU version adds mobility rights to other EU states but usually asks for extra evidence such as stable resources and health cover. Which to pursue depends on whether you might later move elsewhere in Europe. Confirm the requirements for your case.
My student years — do they count?
Time spent as a student is often counted at half toward the five years. If you began in Spain as a student, build a careful timeline before assuming you have reached the threshold.
Can I lose long-term residence after I get it?
Yes — extended absences from Spain, or from the EU for the EU version, can cause the status to lapse. The exact permitted absences should be confirmed, and a return authorisation may help for planned longer trips.
General information, not legal advice. Qualifying periods, absence limits and document requirements change and vary between the national and EU statuses; the periods flagged here must be confirmed for your nationality, route and year. A lawyer–client relationship begins only with a signed engagement.