Editorial transparency and use of artificial intelligence
This article forms part of the CostaLuz Lawyers blog and is published for general informational and educational purposes only. It was prepared with the assistance of artificial intelligence tools and is pending substantive review and editorial approval by Maria de Castro, a Spanish-qualified lawyer registered with the Cádiz Bar Association under number 2745, founder of CostaLuz Lawyers and the person responsible for the editorial review of the published content.
This article does not constitute legal, tax, immigration, employment, estate-planning or investment advice and does not replace an individual assessment and the professional work of the appropriate CostaLuz Lawyers specialist. No action or omission should be based solely on this information.
If you have lived and worked in Spain and are now leaving, your tax obligations do not end when you change your address. A Spanish Tax Exit Review with CostaLuz Lawyers covers your residency status, past filings, Beckham Regime implications and any open items that Hacienda could raise after you leave.
Reviewed by María Luisa de Castro, abogada (ICA Cádiz nº 2745). CostaLuz Lawyers has advised international clients on Spanish tax, property and residency since 2006.
Every year we speak with clients who spent three, five, sometimes ten years building a life in Spain, and who, when the time comes to leave, have given very little thought to what they leave behind from a tax point of view. The removal van is booked and the school places are sorted. The Spanish tax file is still open.
These are not careless people. In most cases they filed every IRPF return on time, paid what they were asked to pay, and assumed that a clean filing history means a closed position. It does not. Leaving Spain is a tax event of its own, and the year you leave is usually the year that needs the most care.
The assumption that costs people money
Prefer to talk? Call us (EN/ES) on +34 919 499 342
The assumption is simple, and almost everyone we meet has made it at some point: I filed my declaration every year, so when I go, I go clean.
What that assumption misses is that Spain does not operate a split tax year. Your residency is decided for the whole calendar year, not for the months you were physically here. If you have spent more than 183 days in Spain during the year you leave, Hacienda will generally treat you as a Spanish tax resident for that entire year, on your worldwide income, including the months after the removal van pulled away. A departure in September usually means your Spanish residency ends on 1 January of the following year, not on the day you handed back the keys.
That single mechanism is behind most of the difficult conversations we have with people who left Spain two or three years ago. It produces a final Spanish return that nobody expected to file, sometimes alongside a first return in the new country covering the same income. Where a double taxation treaty applies, that overlap is usually resolvable. It is far easier to resolve before it happens.
None of this is a trap. It is a mechanism, and mechanisms can be planned around once you know they are there. The clients who leave Spain cleanly are rarely the ones with the simplest affairs. They are the ones who looked at the position before they moved, while they still had the calendar, the paperwork and the choices in front of them.
What a Spanish Tax Exit Review covers
The review is a structured look at eight things, in the order they tend to matter. Some will take us five minutes. One or two will be the reason you came.
- Your residency position in the year of departure. Whether Spain treats you as resident for the whole of that year, and what that means for income you receive after you go.
- The final IRPF return. What has to go in it, when it is due, and how it interacts with the first return you file in your new country.
- Your Beckham Regime position, if you had one. The regime has its own paperwork on the way out, and its own one-month deadline. See our guide to the Beckham Law and how it is applied in Spain.
- Exposure to the exit tax on shareholdings. It applies to very few people. When it does apply, it is significant, and it is rarely noticed in time.
- Prior years still open to review. Hacienda’s right to assess a tax debt generally lasts four years, so the returns you filed while resident do not close the moment you board the plane.
- Foreign asset reporting. If you declared assets abroad while resident, we look at what your final Modelo 720 position is and what stops when residency stops.
- Spanish assets you are keeping. A property you let out moves onto the non-resident regime and Modelo 210. Non-residents also have their own wealth tax position, which Supreme Court case law has recently reshaped. If you are selling instead, the 3% retention and the capital gain belong in the same conversation.
- Administrative closure. Notifying your change of tax domicile, arranging where Hacienda’s letters go, and obtaining a certificate of tax residence in your new country so a treaty can actually be applied.
Points one to five are where the money usually is. Points six to eight are where the avoidable annoyance usually is, and in our experience they are the ones people are most grateful to have sorted.
Why leaving Spain does not close your file with Hacienda
Filing a return is not the same as closing a year. Under Spain’s General Tax Law, Hacienda’s right to assess a tax debt generally runs for four years, counted date to date. That period can be interrupted by any formal action, which restarts the clock, and a narrower right to examine losses or deductions carried forward from earlier years can reach back further still. So “four years” is the default, not the whole story, and it is why we ask to see the returns you filed while you were resident rather than only the one you are about to file.
Two practical consequences follow. The first is that Hacienda’s letters go to the last address it holds for you, which is often a flat you no longer live in, in a country you have left. The second is that leaving does not make you invisible: tax authorities exchange information routinely, and a treaty that protects you from double taxation is also the instrument that tells each side where you are.
This is not a reason to be anxious. It is a reason to look. Hacienda can review earlier years, and identifying an open item now means you can address it on your own initiative, which in our experience leaves considerably more options than answering a formal notice two years later from another country, with documents you have since put in storage.
Situations that need particular attention
Four situations account for most of the complexity we see.
The Beckham Regime. The special impatriate regime runs for the year you become resident plus the five following years. Leaving is a separate event from the regime expiring, and it has its own form: the end of your displacement to Spanish territory must be communicated to Hacienda through Modelo 149 within one month. One month is not long when you are packing a house. We often see people who applied for the regime meticulously and then let it lapse informally on the way out.
The change of tax residence itself. Filing Modelo 030 tells the census where you have gone, within three months of the move, and it is not the same thing as ceasing to be a tax resident. Residency is a question of fact, and if two countries both consider you resident, the treaty tie-breaker decides. That argument is much easier to win with a certificate of tax residence from the new country in your hand.
Income received in the year you leave. A severance payment, a final bonus, the sale of the Spanish home, a pension lump sum. The timing of these, relative to your departure date and to the 183-day threshold, often decides which country taxes them, and at what rate. This is the item where a conversation held in March is worth a great deal more than the same conversation held in December.
Share options and unrealised gains. Options that vested during your Spanish years but are exercised after you leave usually have to be apportioned between the two countries. Separately, Spain’s exit tax can bring forward the taxation of unrealised gains on shareholdings, but only for people who have been Spanish tax residents for at least ten of the previous fifteen years and whose holdings exceed high thresholds set by law, with a deferral available for moves within the EU, the EEA or Switzerland. Almost nobody leaving Spain comes close to those thresholds. The few who do are, in our experience, the least likely to know the rule exists.
How we work
We do not ask you to arrive at a meeting and explain your last six years from memory.
Before we meet, we send you a list of the documents we need. It is written for your situation, not printed from a template, because the papers that matter for someone who ran a company here are not the papers that matter for someone who retired here. We then study what you send us in advance, so that by the time we speak we already know where your position is straightforward and where it is not.
The meeting itself is spent on the two or three points that carry real risk. That is the whole purpose of preparing first. An hour spent reading your returns aloud helps nobody; an hour spent on the question of which country taxes your severance payment can change the outcome.
A few related questions come up so often that we have written them up separately. If you are British and keeping a property let out in Spain, whether you are taxed twice on that rent has a clear answer. If you had a Spanish mortgage, it is worth knowing that claims over abusive mortgage clauses do not require you to still be living in Spain. If you are leaving for the summer rather than for good, the shorter list of things to sort is the one you want. And if you expect to come back one day, the route back is often the non-lucrative visa, which has an income requirement worth knowing about long before you need it.
Book your Spanish Tax Exit Review
If you are leaving Spain this year, or next, the useful moment to look at your tax position is now, while the year is still open and the documents are still to hand. Our tax team works with international clients on exactly this every day, and has done since 2006.
Tell us where you are going and roughly when. We will tell you what we need to see, and whether there is anything here worth a conversation.
Frequently asked questions
Does filing my IRPF every year mean my Spanish tax position is closed when I leave?
No. Filing a return is not the same as closing a year. Hacienda’s right to assess a tax debt generally runs for four years under Spain’s General Tax Law, and that period can be interrupted by a formal action. Returns you filed while resident remain open to review after you leave.
If I leave Spain in September, am I a Spanish tax resident for that year?
Usually yes. Spain has no split tax year: residency is decided for the whole calendar year. If you spent more than 183 days in Spain that year, you are generally treated as resident for the entire year on your worldwide income, and the loss of residency takes effect on 1 January of the following year.
I was on the Beckham Regime. What do I have to do when I leave Spain?
The end of your displacement to Spanish territory must be communicated to Hacienda using Modelo 149, within one month of the displacement ending. Leaving Spain and the regime expiring are two different events, each with its own paperwork. This is the deadline we see missed most often.
Can Hacienda review my Spanish tax years after I have left the country?
Yes, it can. The general limitation period is four years, counted date to date, and it restarts if a formal action is taken. A narrower right to examine losses or deductions carried forward from earlier years reaches further back. Identifying an open item before you leave normally gives you more options than responding to a notice from abroad.
I am keeping my Spanish property. What changes when I stop being a resident?
Your Spanish property moves onto the non-resident regime. Rental income is declared through Modelo 210 rather than in your IRPF return, wealth tax is assessed on your Spanish assets under the non-resident rules, and Hacienda will send notices to the last address it holds for you. These are the items worth arranging before you move, not after.
Leaving Spain this year or next?
Email your questions to marialuisa@costaluzlawyers.es and our team gives you a free written analysis of your situation before any review begins. Tell us where you are going and roughly when; you can attach any documents or forms.
Deadlines and thresholds in this guide reflect Spanish law as at 2026 (art. 93 and art. 95 bis of Ley 35/2006 IRPF; art. 66 of Ley 58/2003 General Tributaria) and can be revised. Limitation periods can be interrupted, and every departure depends on its own facts and on the applicable double taxation treaty. This is general information and does not constitute legal advice — every case requires individual analysis. Reviewed by María Luisa de Castro, CEO at CostaLuz Lawyers (ICA Cádiz 2745), advising international clients on Spanish tax, property and residency since 2006.
Lee este artículo en español: Revisión Fiscal de Salida de España.
Reviewing your residency status before you leave is one side of the coin — see how resident and non-resident property tax rules actually differ on the other.
If your destination country wants proof of your prior Spanish tax status, this is the document to request — see our guide to the Spanish tax residency certificate.
Dealing with an inheritance in Spain?
We guide foreign heirs through the entire Spanish inheritance and probate process. Bilingual help across southern Spain since 2006.
Email María LuisaRead our Spanish inheritance guide
Client line (EN/ES): +34 919 499 342 · marialuisa@costaluzlawyers.es · Costaluz Lawyers — María Luisa de Castro, ICA Cádiz nº 2745.
