# Spain Long-Term Residence — Longest Time Away

Residency rule, Spain. Page: https://usecountr.com/trackers/residency-es-long-term-spell/

## Summary

To get long-term residence in Spain you need 5 years of legal and continuous residence before you apply. No single absence from Spain in those 5 years may be longer than 6 months in a row. One longer absence breaks the continuity, and the immigration office can refuse the application, even if your total time away is small. This is true for work absences too. A second limit applies at the same time: all absences together must not be more than 10 months in the 5 years, or 18 months for work reasons.

- Limit: 6 months outside Spain in a row
- Period: Each single absence in the 5 years before you apply
- Sister limit: 10 months away in total in the 5 years, 18 for work reasons
- What can happen: The 5 years are not continuous and the application can be refused
- Law: Royal Decree 1155/2024, articles 176 and 183
- Run by: The immigration office (Oficina de Extranjería) of your province

## Who it applies to

- People with a temporary residence permit in Spain who plan one long stay abroad.
- People who must return to their home country for many months, for illness or family care.
- People whose employer wants to send them abroad for half a year or more.
- People who already had one long absence and want to know when they can apply for long-term residence.

## The rule

Royal Decree 1155/2024, the immigration regulation, sets the conditions for both long-term permits: article 183 for national long-term residence (larga duración) and article 176 for EU long-term residence (larga duración-UE). Both ask for legal and continuous residence in Spain during the 5 years before the application.

Both then say that continuity is not affected by absences from Spain of up to 6 months in a row, as long as the sum of the absences is not more than 10 months in the 5 years. So each absence has its own limit of 6 months. This page is about that limit. The total of 10 months is the sister rule, Spain Long-Term Residence — Total Time Away.

Work does not lift the limit for one absence. For absences for work reasons the regulation raises the total to 18 months, but it repeats the words up to 6 months in a row. A posting of 8 months breaks continuity in the same way as a private stay of 8 months.

For the national permit, article 183 names two cases where a longer absence does not break continuity. One is force majeure that is properly proved, which means an event outside your control; the office judges each case. The other is employment with a registered non-governmental organisation, foundation or association of public benefit, working abroad on research, development cooperation or humanitarian projects. Exits from Spain made in an irregular way are not protected at all.

This limit is about getting long-term residence. Your temporary permit has its own conditions for renewal. The regulation applies from 20 May 2025 and replaced Royal Decree 557/2011.

Why it exists: Five years of residence are meant to show that Spain is where you live. A stay of more than half a year in another country looks like a move, not a trip. The limit gives the office a clear line, so that it does not have to judge each long absence, and it leaves a narrow door open for events that a person cannot control.

## Counting the days

You count each absence by itself: the calendar months from the day you leave Spain to the day you return. Time in any other country counts, including other EU countries.

1. Write down the day you leave Spain.
2. Add 6 calendar months to that date. If you leave on 2 February 2027, the limit is reached on 2 August 2027.
3. Return to Spain before that date and keep proof of the return, such as a boarding pass or an entry stamp.
4. Look back over the 5 years before your planned application and check that no earlier absence was longer than 6 months.
5. If one was, count 5 new years from the day you returned from that absence, and check the total of 10 months as well.

How Countr counts it: Countr counts the days of your current absence from Spain for Spain Long-Term Residence — Longest Time Away. It treats 6 months as 180 days and warns you 30 days before. Six calendar months are 181 to 184 days, so the card warns a few days before the regulation would, never after. When you return to Spain the count starts again from zero. The card watches your current absence only. A past absence longer than 6 months inside the 5 years already broke the count although the card shows nothing, so check your History. If the app cannot see where you were on a day, the count starts over, so gaps make the number smaller, never bigger.

## Examples

### Five and a half months away

Aisha leaves Spain on 2 February 2027 to care for her father and returns on 20 July 2027. That is 168 days. Six months would have been reached on 2 August 2027, so she is under the limit. Her other trips in the 5 years add 60 days, which gives 228 days in total, under 10 months. Her residence stays continuous.

### Seven months away, small total

Pablo leaves on 1 March 2026 and returns on 1 October 2026, which is 7 months. It is his only trip in 5 years, so his total is under 10 months. That does not help: one absence was longer than 6 months in a row. The 5 years before his planned application in 2028 are not continuous. He can count 5 new years from his return on 1 October 2026.

### A work posting of eight months

Yuki's employer in Madrid sends her to Japan from 10 January 2027 to 10 September 2027, 8 months. She thinks work absences are allowed up to 18 months. That figure is the total for work absences. Each absence must still be 6 months or less. Her posting breaks continuity. Two postings of 4 months with a return to Spain between them would have kept it.

## Exceptions

- For the national permit, an absence caused by force majeure that you prove does not affect continuity. The office decides whether the situation was exceptional.
- For the national permit, people employed by recognised organisations who work abroad on research, development cooperation or humanitarian projects keep continuity.
- People who held an EU Blue Card and apply for the EU permit through that route may be away from the European Union for up to 12 months in a row, with 18 months in total in the 5 years.
- Exits from Spain made in an irregular way are not covered by the allowed absences.
- Once you hold long-term residence, a different limit applies to keeping it: 12 months in a row outside the European Union.

## Common misconceptions

- "Work trips can be as long as I need." Work reasons raise only the total, from 10 to 18 months. Each single absence is still limited to 6 months in a row.
- "If my total is under 10 months, one long trip is fine." Both limits apply together. A single absence of more than 6 months breaks continuity even when it is your only trip.
- "Six months means 180 days exactly." The regulation says months. Six calendar months are 181 to 184 days, depending on the months. Counting 180 days keeps you on the safe side.
- "Time in another Schengen country is not an absence." For getting long-term residence the regulation counts absences from Spanish territory. Any country outside Spain is an absence.

## Questions and answers

### What is the longest single trip I can take out of Spain before long-term residence?

Up to 6 months in a row. A longer absence breaks the continuity of the 5 years, unless you prove force majeure or work for a recognised cooperation organisation, for the national permit.

### Does a short visit to Spain in the middle of a long stay abroad reset the count?

A real return ends that absence, and the next one starts a new count of 6 months. The days of both absences are still added for the total limit of 10 months, so two stays of 5 months each with a short visit between them already reach it.

### What happens if I was away for more than 6 months once?

The 5 years that include that absence are not continuous. You can apply for long-term residence when 5 years have passed since you came back, if your temporary permit was renewed in the meantime.

### Does the limit apply to the EU long-term permit and the national one?

Yes. Article 176 for the EU permit and article 183 for the national permit use the same words: absences of up to 6 months in a row, and no more than 10 months in total in the 5 years.

### Do the days of departure and return count as days away?

The regulation does not say, because it counts in months from date to date. If you are near 6 months, plan your return some days early.

### What is force majeure for this rule?

The regulation gives no list. It means an event that you could not control or avoid. You must prove it with documents, and the office that decides your application judges whether the situation was exceptional.

## Sources

- [BOE - Real Decreto 1155/2024, Reglamento de Extranjería, artículos 176 y 183](https://www.boe.es/buscar/act.php?id=BOE-A-2024-24099)
- [BOE - Ley Orgánica 4/2000 on the rights and freedoms of foreigners in Spain, artículo 32](https://www.boe.es/buscar/act.php?id=BOE-A-2000-544)

---
Countr is an app for iPhone that counts your days in every country for visa, tax and residency rules, from the photos on your phone and your location. It explains rules and counts days. It does not give legal or tax advice. https://apps.apple.com/app/country-days-tracker-countr/id6810720800
