Short answer: there is no single “6 months a year” rule any more. Spain’s Supreme Court struck down the automatic loss of temporary residence for long absences in 2023. What matters now depends on your permit: non-lucrative residents must prove they lived in Spain more than 183 days in the calendar year to renew, long-term residents lose their status after 12 consecutive months outside the EU, and anyone working towards long-term residence must keep absences within 6 months at a time and 10 months in total over five years.
Tax residency (the 183-day test) is a separate rule. It decides where you pay income tax, not whether you keep your residence card.
How long can you leave Spain without losing residency? The rules by permit type
|
Your situation |
What the absence rule is |
Official source |
|---|---|---|
|
Temporary residence (general) |
No automatic loss for being away more than 6 months in a year (Supreme Court, 2023). Each renewal checks its own requirements. |
Supreme Court judgment 731/2023 |
|
Non-lucrative residence (renewal) |
You must have lived in Spain for real for more than 183 days in the calendar year. |
Ministry information sheet 7 |
|
Digital nomad (international teleworker) |
See the section below. |
Law 14/2013 |
|
Applying for long-term residence (national or EU) |
Absences of up to 6 consecutive months, and no more than 10 months in total over the 5 years (18 months if the absences are for work). |
Ministry information sheets 49 and 50 |
|
National long-term residence (once granted) |
Lost after 12 consecutive months outside the EU. It can be recovered. |
Ministry information sheet 53 |
|
EU long-term residence (once granted) |
Lost after 12 consecutive months outside the EU, or more than 6 years outside Spain. It can be recovered. |
Ministry information sheet 54 |
|
Tax residency |
More than 183 days in Spain in the calendar year, or your main economic interests in Spain. |
Income Tax Law, article 9 |
Temporary residence: what changed with the Supreme Court ruling
For years, the old immigration regulation (Royal Decree 557/2011, article 162.2.e) said a temporary residence permit could be cancelled if you stayed outside Spain for more than six months in a one-year period. Many websites still repeat that rule.
On 5 June 2023, the Supreme Court declared that article null (judgment 731/2023). The court found that the Immigration Law does not give the regulation a legal basis to cancel a temporary permit for this reason, so a six-month absence in a year can no longer extinguish your temporary residence by itself.
The current regulation, Royal Decree 1155/2024, has applied since 20 May 2025. For the non-lucrative permit, it now checks at renewal how long you actually lived in Spain (see below). Other permits have their own renewal requirements, so check yours before planning a long absence.
Does Spanish residency expire?
Your temporary permit has an end date and must be renewed on time. Travelling does not change that date. The question is whether you meet the renewal requirements of your permit when the time comes, and for some permits that includes how long you actually lived in Spain.
Non-lucrative visa: the 183-day renewal requirement
This is the rule that catches most retirees and financially independent residents. According to the Ministry’s information sheet on non-lucrative renewals, you must show that you lived in Spain in a real and effective way for more than 183 days during the calendar year. If you renew successfully, the new permit is valid for two years.
In practice, that means you can still travel, but your time in Spain has to add up to more than half the year. Plan long trips home, extended holidays and family visits around that number, and keep evidence of where you were.
-
Keep a simple travel log with exit and entry dates.
-
Save boarding passes and passport stamps in one folder.
-
Keep proof of everyday life in Spain: your empadronamiento (town hall registration), lease or deeds, utility bills and local bank activity.
For the full requirements and the application process, see our Non-Lucrative Visa page.
Digital Nomad Visa: absences for remote workers
The digital nomad permit is regulated by Law 14/2013 (the Entrepreneurs Law), not by the general immigration regulation, and it is processed by a separate unit (the UGE). Remote workers travel a lot, so this is worth getting right before you book a long trip.
Its renewal rules are not the same as those of the non-lucrative visa. If you plan long periods away, confirm before you travel whether your renewal requires a minimum stay in Spain.
Your visa does not decide your tax position either. If you spend more than 183 days a year in Spain you will normally be a Spanish tax resident (see the tax section below). Eligibility and income thresholds are on our Digital Nomad Visa page.
Long-term residence: absences while you qualify
After five years of legal and continuous residence you can apply for long-term residence, either national or EU. According to the Ministry’s information sheets 49 and 50, the five years still count as continuous if your absences:
-
last no more than six consecutive months each time, and
-
add up to no more than ten months in total over the five years, or
-
add up to no more than eighteen months in total if they were for work reasons.
For national long-term residence, absences caused by duly justified force majeure are assessed case by case.
How long can you be out within the first 2 years?
If you hold a non-lucrative permit, each renewal looks at your presence in the calendar year (more than 183 days). If your plan is long-term residence, every absence from day one also counts towards the 6-month and 10-month limits above. A long stay abroad in year one can cost you the five-year count later, even if it caused no problem at your first renewal.
Long-term residence: how long can you be outside Spain without losing it?
Once you have national long-term residence, information sheet 53 lists the main ways it ends: being outside the European Union for twelve consecutive months, or acquiring EU long-term residence in another member state.
EU long-term residence is lost after twelve consecutive months outside EU territory, after obtaining the same status in another member state, or after more than six years outside Spain (information sheet 54). That last point matters if you move to another EU country: you can stay within the EU longer, but not indefinitely.
Two things people often mix up:
-
The card versus the status. The TIE card of a long-term resident is renewed every five years. Renewing the card is a document update; it does not re-examine your status.
-
Recovery. If you lose either status through absence, Spain has a specific procedure to recover it (form EX-11). You can apply at an immigration office in Spain or at a Spanish consulate abroad. The administration has three months to decide, and if it does not reply in that time the application is deemed approved.
Absences and Spanish nationality
Nationality by residence (article 22 of the Civil Code) requires residence that is legal, continuous and immediately before the application: ten years in general, or shorter periods for some nationalities and situations. A valid card is not always enough on its own; long or frequent absences can be examined when your file is reviewed.
If citizenship is your long-term goal, document your presence from the start. Our Spanish Citizenship page covers the full route.
Tax residency: the 183-day rule is a different test
Under article 9 of the Spanish Income Tax Law (Law 35/2006), you are a tax resident in Spain if either of these applies:
-
you spend more than 183 days in Spain during the calendar year. Sporadic absences count as days in Spain unless you prove you are tax resident in another country; or
-
the main centre or base of your business or economic interests is in Spain.
The law also presumes you are resident if your spouse (not legally separated) and dependent minor children live in Spain, unless you prove otherwise.
So the same person can pass one test and fail the other. A non-lucrative resident who spends 200 days in Spain meets the renewal rule and will usually also be a Spanish tax resident. Assess both with the right professional.
Will my residence card expire if I stay more than 3 months outside Spain?
No. The expiry date printed on your TIE does not change because you travel, and no general rule cancels a residence card after three months abroad. What matters is the rule for your permit type in the table above. Before a long trip, make sure your card is valid for the whole stay so you can return without problems. Our NIE/TIE page explains renewals.
What to do if you already exceeded the limit
Do not assume everything is lost, and do not wait until your renewal date. Gather evidence of your ties to Spain and of the reason for the absence, and get advice on which route applies to your permit.
Planning a long trip, a renewal or a nationality application? Book a free 15-minute consultation and we will check which absence rule applies to you.
Sources
-
Consejo General del Poder Judicial: Supreme Court annuls the six-month absence rule (2023)
-
Ministry of Inclusion: Sheet 7, non-lucrative residence renewal
-
Ministry of Inclusion: Sheet 49, national long-term residence
-
Ministry of Inclusion: Sheet 53, recovery of national long-term residence
-
Ministry of Inclusion: Sheet 54, recovery of EU long-term residence
