- Five years of lawful, continuous residence in Spain before you apply. This is a condition both for the national status (Article 183 of the Reglamento) and for larga duración-UE status (Article 176) [1][3][4].
- Trips abroad do not break continuity if none lasts more than six months in a row and together they add up to no more than ten months over five years. For work-related trips the total can be up to eighteen months. A trip due to force majeure is assessed separately [1][3].
- For larga duración-UE, years on a study estancia count at 50% of their length if you already hold residence when you apply. The text of Article 183 contains no such rule for the national status [1][3][4].
- You can apply within the two months before your current permit expires. If you already meet the conditions while your permit is still valid, this limit does not stop you applying earlier [1].
- For the DNV, the two periods under Ley 14/2013, three years followed by a two-year renewal, add up to five years. These years count towards permanent residence as temporary residence (articles 31 and 32 of Ley Orgánica 4/2000), and continuity is proven under the general rules of Articles 176 and 183 [1][5].
Long-term residence in Spain: how many years you need and what the status is
In Russian-language texts, “permanent residence” usually means residencia de larga duración: an authorisation to live and work in Spain indefinitely on the same terms as Spanish citizens [2][3]. There is a national status (larga duración nacional) and larga duración-UE status under Directiva 2003/109/CE. The second also makes it possible to obtain authorisation in other EU countries under those countries’ conditions [4]. The differences are covered in the article larga duración and larga duración-UE.
The basic condition for both is five years of lawful, continuous residence in Spain before you apply [1][2]. “Lawful” means that the years count when you held a residence permit or when it remained valid because you had applied for renewal. “Continuous” limits trips abroad.
The status is not the same as the card: the plastic TIE card of a long-term resident is first renewed after five years, then every five years until the holder turns thirty and every ten years after that. If you miss a card renewal, the status does not end because of it [1].
Which periods count towards the five years
| Period | Does it count? | Rule |
|---|---|---|
| Temporary residence (no lucrativa, work, DNV, family, arraigo) | Yes, as lawful residence | Art. 183.1 and 176 Reglamento [1] |
| Time on renewal pending a decision | Yes: the permit stays valid if the application was filed on time | Art. 64, 80, 86 [1] |
| Study estancia | For UE at 50%, provided you hold residence when you apply | Art. 176.a [1][4] |
| Study estancia for the national status | Not mentioned in the text of Article 183 or in information sheet 49 | Art. 183 [1][3] |
| Living without a permit or after a lapse of more than three months | Not counted as lawful | Art. 183.1 [1] |
| Trips out of Spain | Depends on length and total | Art. 183.2 [1] |
A separate point about gaps. If there was a period between two permits when you held no document, that is not lawful residence, and the break can move the date from which the five years are counted. We did not find in public sources how the authority treats short gaps within the three-month window for filing a renewal [1]. This is one of the questions best settled before you apply.
Permitted absences: six months in a row and ten in total
Continuity of residence is not broken by trips of up to six months in a row if their total does not exceed ten months over five years. For work-related trips the total can be up to eighteen months, with the same limit of six months in a row. Trips due to force majeure, backed by documents, are assessed by the authority case by case. Nor is continuity broken by working abroad under a contract with registered NGOs, foundations or associations recognised as being of public interest on cooperation projects [1][3]. These rules do not apply if the trips were made irregularly [1].
| Situation over five years | In a row | Total | Conclusion under the text of Article 183 |
|---|---|---|---|
| Three trips of three months each | up to 6 months | 9 months | Continuity is kept |
| One trip of seven months | more than 6 months | 7 months | Continuity is broken |
| Four trips of three months each | up to 6 months | 12 months | Broken if the trips were not for work |
| Three work trips of five months each | up to 6 months | 15 months | Kept under the work limit (up to 18) |
This illustrates the rule; it is not a calculation for a specific situation. The text does not say what “work-related trips” means for a remote worker on a DNV, so it is safer for them to work to the ten-month limit. In detail: long absences and residence permit renewal.
Warning. Additional provision 6 of Ley 14/2013 allows renewal despite absences of more than six months a year for the visas and permits of investors and of employees of companies whose activity abroad is run from a base in Spain, but it specifies that continuity for permanent residence or citizenship must still be proven [5]. The text does not say whether this rule extends to the DNV. In any case, the softer renewal rule does not apply to counting the five years.
How to count the five years step by step
- List all your statuses with dates taken from the resolutions: initial stay, study, no lucrativa, work, DNV, renewals. Next to each one, add the end date: a start date alone is not enough.
- Separate the lawful periods from the unlawful gaps. For each gap, note the reason and the date the renewal was filed.
- Collect the dates of all your trips abroad: departure and return dates from tickets and passport stamps. Work out the longest trip and the total of all trips.
- Decide which status you are applying for. Larga duración-UE also requires stable, regular means and health insurance; for the national status, the ministry’s information sheet does not list these conditions [1][3][4].
- Check whether you need to apply in the window before your permit expires or can apply straight away because you already meet the condition [1].
Put your years of study on a separate line, marked “50%”: if you apply for UE, these months count as half; if you apply for the national status, check in advance whether they count at all.
When to apply for long-term residence: two months before expiry or earlier
The application for permanent residence is filed within the two months before your current permit expires. Applying in this period extends the permit until a decision is made. The same holds for applying within three months after expiry, but with the risk of a fine [1]. Exception: if you hold a valid permit and already meet the conditions of Article 183 or 176, this limit does not apply and you can apply earlier [1].
You apply at the oficina de extranjería of the province where you live. With the application you submit form EX-11, your full passport, proof of payment of the fee (tasa) and, where required, criminal record certificates from the countries you lived in over the last five years. For school-age children, a certificate of school attendance is needed [1][3][4]. The decision period is three months, and silence means approval. After a favourable decision, you have one month to apply for the TIE [1].
Long-term residence after the digital nomad visa: three plus two
A DNV permit under Ley 14/2013 is issued for up to three years, and the renewal is for two years [5]. That gives five years of permits in total, which by length meet the condition for permanent residence. You will need to apply in the window before the second period ends, unless you meet the conditions earlier [1][5]. A year on a consular DNV visa counts too: under article 74 quater.2 of Ley 14/2013 the visa itself entitles you to live and work in Spain, so it is legal residence.
The DNV raises a separate question: remote work often goes hand in hand with travel. For permanent residence, the limit on trips described above applies; for DNV renewal, Ley 14/2013 sets no minimum period of residence. In detail: DNV renewal after three years.
Common calculation mistakes
- Counting from the date of your first NIE or your first entry. What counts is lawful residence, not any time spent in the country [1].
- Adding up years under different regimes without checking which of them were lawful residence. Study and short stays enter the calculation differently from residence.
- Not adding up the total of all trips and looking only at the longest one.
- Treating a remote worker’s trips as “work-related” and planning on the eighteen-month limit without proof.
- Forgetting that a renewal filed more than three months late breaks lawful residence [1].
- Applying a few days before the permit expires, with no time to spare for documents.
- Confusing the validity of the permit with the validity of the long-term resident’s TIE: they are different things [1].
When you need an individual review
An individual calculation is needed if your history includes study, a change of residence ground, a gap between permits, long trips abroad or years on a visa. These are exactly the points where the text of the Reglamento leaves questions open, and the decision is taken by the oficina de extranjería when it checks your time of residence: on its own initiative it checks your previous periods and requests a Spanish criminal record certificate and a police report [1].
How we can help
We build a table of your residence from your resolutions and tickets, check your trips against the rules of Articles 176 and 183, and help you choose between the national status and larga duración-UE. The calculation for your history remains individual. Book a consultation. Sections: renewal and documents; step-by-step procedure: route card “Residence permit renewal”.
Frequently asked questions
How many years do you need to live in Spain for permanent residence?
Do years of study count towards the five years for permanent residence?
How long can you be away from Spain without losing the right to permanent residence?
Can you apply for permanent residence before your current residence permit expires?
Does the DNV count towards the five years for permanent residence?
How long does it take to process a permanent residence application in Spain?
Do you lose permanent residence if you do not renew your TIE card?
Official sources
- BOE · Real Decreto 1155/2024 (Reglamento), Articles 175-178, 182-185, 201 ↗
- BOE · Ley Orgánica 4/2000, Article 32 (residencia de larga duración) ↗
- Ministry of Inclusion · Hoja 49: larga duración nacional ↗
- Ministry of Inclusion · Hoja 50: larga duración-UE ↗
- BOE · Ley 14/2013, Articles 74 quinquies, 76 and additional provision 6 ↗
- BOE · Orden PJC/617/2025, Article 2 (how fees are paid for online and in-person filing) ↗
Sources reviewed on 02.10.2026. Consolidated texts and government reference pages are for information only: applying the law depends on official publications, amendments and the specific circumstances. Reviewed by lawyer Francisco Romero Jiménez (ICAB 33641) on 21.10.2026.
Turn the information into questions.
The navigator helps you gather topics for an individual review. It does not determine your right to a residence permit and does not submit an application.
Build your checklistReloVictory terms: a 15-minute consultation is free, a full consultation costs €121 for 45 minutes; case handling is priced by quote, and fees and translations are paid separately. The team’s lawyer handles the legal side, and a graduada social handles tax and administrative matters. More: about the team.
Prefer to do it yourself? Step-by-step guides: residence permit in Barcelona: from empadronamiento to TIE and route cards by residence ground.
Related articles
ReloVictory · Sources reviewed 02.10.2026 · Not a substitute for individual legal advice.
