Guides
Ceasing Spanish Tax Residency: The IRPF to IRNR Transition and Exit Process for Property Owners (2026)
Ceasing Spanish tax residency moves you from IRPF to IRNR. Here is the deregistration, the final returns, the Beckham Law exit, exit tax and DTA tie-breaker.
Photo by Agus Dietrich on Unsplash
Ceasing Spanish Tax Residency: The IRPF to IRNR Transition and Exit Process for Property Owners (2026)
When you leave Spain, your tax residency does not end on the day you board the plane. Spanish tax residency is determined by complete calendar years, so the effective date of your change is either 1 January of the year you leave or 1 January of the following year, depending on how many days you spent in Spain before moving. You file a final IRPF return for the departure year, deregister your fiscal address with the Agencia Tributaria, and from the effective date you resume IRNR filing on your Spanish-source income only. If you hold property in Spain, you continue to owe IRNR on rental income, imputed income on empty homes, and capital gains tax on any future sale. The Double Taxation Agreement between Spain and your new country determines which state has primary taxing rights. Spain also updated its list of non-cooperative jurisdictions under Order HAC/649/2026 in June 2026, removing Gibraltar from the list after more than three decades, which affects the preserving rule for Spanish nationals relocating abroad.
When does Spanish tax residency actually end?
Spanish tax residency is determined by complete calendar years. The effective date of the change is either 1 January of the year you leave (if you spent fewer than 183 days in Spain before moving) or 1 January of the following year (if you passed the 183-day threshold). You set this date on Modelo 030 box 217.
The rule comes from Article 9 of Ley 35/2006, which defines a Spanish tax resident as someone who spends more than 183 days in Spain during a calendar year, has their centre of economic interests in Spain, or has a spouse and minor children resident in Spain. The AEAT guidance on Modelo 030 makes the calendar-year principle explicit: a person who moves their habitual residence mid-year and has not spent 183 days in Spain takes the 1 January date of that same year, while a person who has already passed the 183-day threshold takes the 1 January date of the following year. You are either resident or non-resident for the whole tax year, with no part-year residency split.
This matters because it determines which tax regime applies to income earned in the departure year. If you leave in March having spent only 60 days in Spain, your non-residence takes effect from 1 January of that same year, and your worldwide income for that year falls under the IRNR rules of your new country. If you leave in October having spent 250 days in Spain, you remain an IRPF taxpayer for the entire calendar year, and your worldwide income for that year is taxed under Spanish resident rules.
What forms do I file to deregister from IRPF?
Three forms drive the transition. Modelo 030 communicates the change of tax domicile and residency status to the AEAT census. Modelo 100 is the final IRPF return for the departure year. Modelo 210 is the IRNR return you file from the year non-residence takes effect, covering Spanish-source income only.
The deregistration starts with Modelo 030, filed either electronically or in person at the AEAT delegation corresponding to your Spanish tax domicile. Box 201 (tax resident in Spain) is changed to box 202 (non-resident), and box 217 records the effective date. The filing period for a change of tax domicile is three months from the date of the change, unless you submit the final IRPF return that reports the new address, in which case the communication is made on the self-assessment form itself.
The final IRPF return (Modelo 100) covers worldwide income from 1 January to the effective date of the change. The standard filing window runs from April to June of the year after departure. From the effective date of non-residence, you switch to Modelo 210 for Spanish-source income: rental income, imputed income on empty property, and capital gains on Spanish assets. The IRNR rates are 19 per cent for EU and EEA residents and 24 per cent for non-EU residents, per the consolidated text of the Non-Resident Income Tax Law (Real Decreto Legislativo 5/2004).
| Form | Purpose | When to file | What it covers |
|---|---|---|---|
| Modelo 030 | Census change of tax residence | Within 3 months of the change | Notifies AEAT of the effective date (box 217) and new address |
| Modelo 100 | Final IRPF return | April to June of the following year | Worldwide income from 1 January to the effective date |
| Modelo 210 | IRNR return | Quarterly or annually | Spanish-source income only: rental, imputed, capital gains |
| Modelo 149 | Beckham Law regime end | When the regime expires or you leave early | Communicates the end of the Article 93 special regime |
| Modelo 151 | Special IRPF for Beckham Law taxpayers | April to June of the following year | Spanish-source employment income at the 24 per cent flat rate |
How does the Beckham Law exit work?
The Beckham Law (Article 93 LIRPF) runs for the year of arrival plus five tax years under the post-2023 Ley 28/2022 reform. If you leave Spain before the regime expires, you file Modelo 149 to communicate the end. Your final year under the regime is taxed at the 24 per cent flat rate on Spanish-source employment income up to EUR 600,000, with 47 per cent above that threshold.
The regime, formally the Special Tax Regime for Workers, Professionals, Entrepreneurs and Investors Posted to Spanish Territory, was modified by the Third Final Provision of Ley 28/2022 (the Startups Act) with effect from 1 January 2023. The reform reduced the prior period of non-residency required to qualify from ten tax periods to five, and expanded eligibility to teleworkers, entrepreneurs, and highly qualified professionals. The duration remains the year of arrival plus five following tax years, giving six tax years in total. An important nuance confirmed by the AEAT Non-Resident Taxation Manual (March 2026): taxpayers who opt for the Beckham regime are not considered residents for the purposes of applying a Double Taxation Agreement, because they are taxed only on Spanish-source income. This means the DTA tie-breaker rules do not protect you while you are on the regime; your new country can still claim taxing rights over non-Spanish income.
If you leave Spain during the regime, you file Modelo 149 to notify AEAT of the end date. From that point, your Spanish-source income is taxed under standard IRNR rules. If you later return to Spain and re-acquire tax residency, you would need to meet the five-year prior non-residency condition again to re-enter the Beckham regime. The 24 per cent withholding rate that applies during the regime is set out in the AEAT manual on the special expatriate regime.
What happens to my Spanish property after I leave?
Your Spanish property continues to generate Spanish-taxable income. As a non-resident, you file Modelo 210 on rental income at 19 per cent (EU and EEA) or 24 per cent (non-EU), imputed income on empty homes at 1.1 per cent or 2 per cent of cadastral value, and 19 per cent CGT on a future sale with a 3 per cent buyer retention under Modelo 211.
The transition from resident to non-resident does not change the fact that Spanish real estate is always taxable in Spain. What changes is the scope: as a resident, you declared worldwide rental income and wealth on IRPF and wealth tax returns. As a non-resident, you declare only the Spanish elements. Rental income moves from the IRPF rental box to Modelo 210. Imputed income on a vacant property (the imputacion de rentas inmuebles) continues to apply, calculated on the cadastral value. On a sale, the buyer retains 3 per cent of the price under Modelo 211 as an advance on your 19 per cent CGT liability, and you reconcile via Modelo 210. Our non-resident property holding taxes guide and the IRNR guide set out the full annual filing calendar, and the non-resident CGT retention guide covers the sale process.
How does the DTA tie-breaker determine my residency?
When both Spain and your new country claim you as a resident, the Double Taxation Agreement tie-breaker rules decide. The OECD model order is permanent home, centre of vital interests, habitual abode, then nationality. A Spanish fiscal residence certificate from AEAT is the document you present to claim treaty relief.
The tie-breaker matters because Article 9 of Ley 35/2006 defines residency under Spanish internal law, but a DTA overrides internal law where the two countries disagree. If you spend 183 days in Spain and also meet the residency test of your new country, the treaty settles the conflict. The first criterion is where you have a permanent home available to you. If you have one in both countries, the next test is your centre of vital interests, meaning where your personal and economic ties are closer. If that is also indeterminate, the tests move to habitual abode and then nationality. The Spanish fiscal residence certificate guide explains how to obtain the AEAT certificate that proves your position, and the DTA guide covers the treaty framework for property owners.
Are there special rules for Spanish nationals leaving for non-cooperative jurisdictions?
Yes. Spanish nationals who move their tax residency to a non-cooperative jurisdiction remain IRPF taxpayers in Spain for the year of departure plus four subsequent tax years. This preserving rule, set out in Article 10 of Ley 35/2006, prevents the use of blacklisted jurisdictions to exit the Spanish tax net.
The rule applies only to Spanish nationals, not to foreign residents leaving Spain. The list of non-cooperative jurisdictions is maintained by the Ministry of Finance under the framework of Ley 36/2006 and was most recently updated by Order HAC/649/2026 of 21 June 2026, published in the BOE on 27 June 2026. This order removed six jurisdictions from the list, including Gibraltar after more than three decades of inclusion, and added the Russian Federation (for its international holding companies regime). The transitional provision confirms that for tax periods not yet concluded at the entry-into-force date, the prior list still applies. If you are a Spanish citizen moving to a country on the current list, you continue to file IRPF on your worldwide income for the departure year and the four following years, regardless of where you actually live. Only after that period does your non-resident status take effect for Spanish internal law purposes. A DTA may still apply, but the preserving rule operates as a domestic override.
The removal of Gibraltar from the non-cooperative list is significant for property owners on the Costa del Sol. British nationals living in Spain who had considered relocating to Gibraltar to exit the Spanish tax net will now find that Gibraltar is no longer treated as a non-cooperative jurisdiction, which means the four-year preserving rule no longer applies to moves there. However, Gibraltar remains outside the EU customs and VAT territory, and the UK-Spain DTA (as modified post-Brexit) still governs the taxing rights between the two.
What is the Spanish exit tax on shares?
Spain applies an exit tax on unrealised gains when a taxpayer moves their tax residency abroad, under Article 95 bis of Ley 35/2006. The provision, introduced by Ley 26/2014 with effect from 1 January 2015, triggers on the transfer of tax residency abroad if the taxpayer holds significant shareholdings. The gain is calculated as if the assets were sold at market value on the day before the residency change.
A holding is “significant” under two alternative thresholds: shareholdings with a market value exceeding EUR 4 million, or shareholdings representing at least 25 per cent of the entity’s capital with a market value exceeding EUR 1 million. The tax also captures unrealised gains on digital assets (cryptocurrencies) held by the departing taxpayer. The self-assessed tax can be deferred if you move to an EU or EEA member state, with the deferral secured by guarantees; moving to a non-EU country generally requires immediate payment unless a specific deferral applies.
This is a separate concept from the non-cooperative jurisdiction preserving rule. The exit tax crystallises unrealised gains on qualifying shareholdings (typically substantial participations in companies whose assets are mainly Spanish real estate) at the moment of departure, preventing a taxpayer from moving abroad and selling the shares free of Spanish CGT. Our exit tax guide covers the calculation, the deferral conditions, and the interaction with the preserving rule. The tax residency 183-day rule guide explains the residency test that the exit tax provisions hinge on, and the resident IRPF guide covers the regime you are leaving behind.
This guide is general information, not legal or tax advice. Rules change and individual circumstances differ. Verify current requirements with an independent lawyer (abogado) or tax advisor (gestor or asesor fiscal) before acting.
The Listyco Letter
Get the quarterly market report when it lands.
New listings, editorial pieces and our quarterly market data, delivered Sundays.
Frequently asked questions
- When does my Spanish tax residency actually end?
- Spanish tax residency is determined by complete calendar years. The effective date is either 1 January of the year you leave (if you spent fewer than 183 days in Spain before moving) or 1 January of the following year (if you passed the 183-day threshold). You set this date on Modelo 030 box 217. You remain a Spanish tax resident for the entire calendar year in which the change takes effect.
- Do I need to file a final IRPF return when I leave Spain?
- Yes. You file a final IRPF return (Modelo 100) for the calendar year in which you ceased residence, covering your worldwide income from 1 January to the effective date of the change. The standard April to June filing deadline applies the following year. From the year non-residence takes effect, you switch to IRNR (Modelo 210) on Spanish-source income only.
- What happens to my Beckham Law regime if I leave Spain early?
- The Beckham Law (Article 93 LIRPF) runs for the year of arrival plus five tax years. If you leave Spain before the regime expires, you file Modelo 149 to communicate the end of the special regime. Your Spanish-source income from the departure year is taxed under the IRNR rules at 24 per cent for EU and EEA residents, and you revert to standard IRPF treatment for any future year you resume residency.
- Does Spain have an exit tax?
- Spain applies two separate mechanisms. First, a preserving rule: Spanish nationals who move to a non-cooperative jurisdiction remain IRPF taxpayers for the year of departure plus four subsequent years. Second, Article 95 bis of Ley 35/2006 imposes an exit tax on unrealised gains in significant shareholdings (exceeding EUR 4 million, or a 25 per cent stake exceeding EUR 1 million) when any taxpayer moves their tax residency abroad. The exit tax can be deferred if you move to an EU or EEA member state.
- How does a Double Taxation Agreement affect my residency exit?
- A DTA tie-breaker determines which country has the primary right to tax you when both claim residency. The OECD model order is permanent home, centre of vital interests, habitual abode, then nationality. A Spanish fiscal residence certificate issued by AEAT is the document you present to the other country to claim treaty relief. The certificate covers one tax year and must be renewed annually.
- Did the 2026 update to Spain's non-cooperative jurisdiction list affect the preserving rule?
- Yes. Order HAC/649/2026 of 21 June 2026, published in the BOE on 27 June 2026, removed six jurisdictions from the non-cooperative list, including Gibraltar. Spanish nationals who relocate to a jurisdiction that is no longer on the list are not subject to the four-year preserving rule under Article 10 of Ley 35/2006. The transitional provision confirms that for tax periods not yet concluded at the entry-into-force date, the prior list still applies.
Sources and data
- Ley 35/2006, de 28 de noviembre, del Impuesto sobre la Renta de las Personas Fisicas (consolidated text) · BOE
- Form 030. Tax register of parties liable for tax payments - Declaration of registration, change of address and/or variation in personal data · Agencia Tributaria
- Special regime for expatriates art. 93 Personal Income Tax Law · Agencia Tributaria
- Personal income tax - Categories of taxpayer for the purposes of income tax · Punto de Acceso General (Spanish Government)
- Orden HAC/649/2026, de 21 de junio, por la que se modifica la Orden HFP/115/2023 (jurisdicciones no cooperativas) · BOE
- List of non-cooperative jurisdictions · Agencia Tributaria
- Certificados de residencia fiscal · Agencia Tributaria