Short answer: you stop being Spanish tax resident when, in a calendar year, you spend 183 days or fewer in Spain and your centre of economic interests is no longer here, and you can prove it. There is no form that deregisters you: there is a change-of-address filing (030 or 036, within three months), an exit year you have to choose well because Spain does not split the year, a last return as a resident (or a 210 if you were no longer resident that year) and, above all, evidence. If you are a Spanish national moving to a jurisdiction on Spain’s tax-haven list, you stay taxable for four more years; if you own a company worth more than €1 million, look at the exit tax first. From abroad, Spain only taxes what you still have in Spain.
There is no deregistration form
It is the question we get most, and the answer surprises people: you do not deregister. Being tax resident is not a status you switch on and off; it is a factual situation defined by law, and the Tax Agency checks it after the fact.
What does exist are filings that go with that situation: reporting your address abroad, closing your activity if you are self-employed, registering with your consulate if you are Spanish. None of them makes you non-resident on its own. Leaving for real does. And the reverse is true too: you can leave for real and forget a filing, which costs a fine, not your residence status.
So the useful question is not “which form do I file?” but “what has to be true so Spain cannot treat me as resident?”. One article answers it.
The two tests and the family presumption
Article 9 of the Spanish Income Tax Law says you are resident if either of these is true:
- You spend more than 183 days in Spain during the calendar year. The small print: short absences count as days in Spain unless you can prove tax residence in another country. A fortnight in London does not reduce your count; a UK statutory residence test result and a certificate of residence do.
- The main base of your economic activities or interests is in Spain, directly or indirectly. This is the test that sinks most badly planned exits: the freelancer who spends the year travelling but keeps billing Spanish clients into a Spanish account, with a flat in Madrid, still has their centre of interests in Madrid.
Then there is a presumption: you are presumed resident if your spouse (not legally separated) and your dependent minor children habitually live in Spain. It can be rebutted, but it is uphill.
If your new country also treats you as resident, the tax treaty decides. Nearly all treaties break the tie in this order: where you have a permanent home available to you, where your centre of vital interests is (family, life, business), where you habitually live, and finally nationality. The first test is the home, which is why the flat you keep in Spain matters so much.
Choosing the exit year
Spain does not split the year. You are resident or non-resident for the full calendar year. Leave in September and you have already spent more than 183 days here: you are resident all year and taxed on everything you earn worldwide, including the months abroad. Your first non-resident year is the next one.
- Move in January-March: the year is clean, with room for Christmas or an emergency trip back.
- Move in April-June: possible, but count days with your boarding passes in hand, and move your centre of interests at the same time.
- Move in July or later: that year you are resident. Plan the next one as your first clean year.
Some countries do split the year (the UK under its statutory residence test, Portugal in certain cases). That does not change anything in Spain: you can be UK resident from October and Spanish resident for the whole year at once, and then the treaty decides where each income is taxed.
Where you go changes the rules
An EU or EEA country. The smoothest exit. Spain has treaties with every EU country, information is exchanged automatically and, if the exit tax reaches you, you can defer it: you only pay if you sell the shares (or leave the EU and EEA) within ten years. A rented flat in Spain pays 19 % on net rent, with expenses deductible.
A treaty country outside the EU. The UK, the US, the UAE, Switzerland, Paraguay, Panama, most of Latin America. The treaty prevents double taxation and settles residence. The exit tax can only be deferred if the move is temporary. A rented flat pays 24 % on gross rent, with no expenses.
A jurisdiction on Spain’s non-cooperative list. This is the trap, and it only applies to Spanish nationals: you remain subject to Spanish income tax for the year of the move and the four following (article 8.2), and the Tax Agency can ask you to prove 183 days there. The list was revised on 28 June 2026 (Order HFP/115/2023, amended by Order HAC/649/2026): Barbados, Dominica, Gibraltar, Seychelles and Trinidad and Tobago came off. Eighteen territories remain: Anguilla, Bahrain, Bermuda, Fiji, Guam, Guernsey, the Isle of Man, the Cayman Islands, the Falkland Islands, the Mariana Islands, the Solomon Islands, the Turks and Caicos Islands, the British Virgin Islands, the US Virgin Islands, Jersey, Palau, American Samoa and Vanuatu, plus, from 28 December 2026, Russia’s international holding company regime.
Portugal, Andorra, the UAE, Paraguay, Panama and, since June 2026, Gibraltar are not on the list.
The steps in order
The order matters more than the steps.
1. The new country first. Legal residence, a home in your name and, as soon as you can, a tax residence certificate from that country. That certificate is what stops your days abroad counting as days in Spain. Reporting your exit to Spain without it invites the Tax Agency to count your absences as presence.
2. Your Spanish home. Sell it, let it to third parties under a proper lease, or formally hand it over. If you will sell at a gain, consider selling before you leave: the main-home rollover relief and the over-65 exemption are for residents (the first also for EU and EEA residents).
3. The consulate, if you are Spanish. Register at the Consular Registry in your new country. That takes you off the municipal register and onto the roll of Spaniards abroad, the first evidence dated by a Spanish authority that you live elsewhere. Foreign nationals should de-register from the padrón at their town hall instead.
4. The Tax Agency.
- No business activity (employee leaving the job, retiree, investor): form 030 within three months of moving, with your address abroad (article 48.3 of the General Tax Law).
- Self-employed: form 036 within the month after closing the activity; it closes the activity and reports your new address in one go. Final quarterly and annual VAT and income tax filings follow.
- Employees whose Spanish employer will keep paying them abroad: form 247 in the 30 days before leaving, so you are withheld as a non-resident.
- Keep your NIE or NIF. You will need it.
5. Social Security. If you are self-employed, de-register from the RETA within three days of stopping. Contribution years are not lost, and within the EU (and under Spain’s bilateral agreements) they count towards your pension. Public healthcare is tied to residence: you will need cover in the new country from the first month.
6. Banks. Tell your Spanish banks you are now non-resident. They will ask for a non-residence certificate and stop withholding as for residents. Some do not keep non-EU non-residents as clients; better to know in advance.
7. Your company. A Spanish SL cannot follow you without consequences: it either stays with a director and management in Spain, is wound up, or is sold. A US LLC works the other way round: its management has to be where you are, and from the exit year that should show (contracts, invoices, logins).
The month-by-month calendar for a real destination is in Paraguay residency from Spain. The structure works for any destination.
Not sure how this applies to your case?
Eleven questions and we tell you whether the LLC fits, and if it does not, that too.
Your last Spanish return
If you were resident in the exit year (you left late, or your centre of interests stayed in Spain): the next spring you file the annual return (form 100) on your worldwide income for the whole year, the 720 if you held more than €50,000 abroad, and wealth tax if it applied. That is the last time.
If you were no longer resident that year: no annual return, no 720, no worldwide wealth tax. You are taxed only on Spanish income through the non-resident tax, with form 210, and the same form is how you reclaim withholding taken as a resident before you left.
The classic mistake is filing the form 100 for the exit year “to close things properly”. Filing a resident return is declaring yourself resident. File for what you were, not out of habit.
Exit tax in five minutes
The exit tax in article 95 bis taxes the unrealised gain on your shares when you leave, as if you had sold them on your last day as a resident. It only reaches you if both conditions hold:
- You were Spanish resident for at least ten of the previous fifteen years.
- Your shares are worth more than €4 million in total, or you hold more than 25 % of a company whose shares are worth more than €1 million.
Any entity counts: your Spanish SL, your US LLC, listed shares, funds. Unlisted companies are valued at the higher of net equity and five times average profit over the last three years, so an SL earning €300,000 a year is worth €1.5 million for these purposes, whatever you would sell it for.
The gain is taxed at savings rates (19-30 %). Moving within the EU or EEA, you can opt to pay only if you sell within ten years; moving temporarily to a treaty country, you can ask for deferral with guarantees, cancelled if you come back within five years without selling; otherwise it is paid with your last return. Years under the Beckham regime count as years of residence. For a freelancer with an LLC billing services, it almost never applies. For a founder with a profitable company, it almost always does. Measure it before you move anything.
What you keep paying from abroad
Leaving does not end your relationship with the Tax Agency; it changes the tax. You move from income tax on worldwide income to non-resident income tax on Spanish income only.
- A rented flat: 24 % on gross rent if you live outside the EU and EEA (UK included); 19 % on net rent inside. Form 210.
- An empty or holiday flat: deemed income (a percentage of the cadastral value) at the same rates.
- Selling Spanish property: 19 % on the gain, with the buyer withholding 3 % of the price on account.
- Dividends from a Spanish company or interest from a Spanish bank: the treaty rate, usually below the standard 19 %, if the payer has your residence certificate.
- Pensions: Social Security and private pensions are usually taxed only where you live under the treaty; government pensions usually stay in Spain.
- Wealth tax: only on assets located in Spain.
- Everything outside Spain: nothing. No income tax, no 720, no wealth tax on it.
The evidence file
The Tax Agency can review your residence for four years from the end of each year’s filing period. If an inquiry arrives, you usually have ten working days to answer, and a life cannot be rebuilt in ten days. Keep, from the first month, one folder per year:
- Home abroad: lease in your name, rent receipts, utility and internet bills.
- Home in Spain: sale deed or lease to third parties.
- Days: every flight in and out, passport stamps, and your own day-count calendar.
- Paperwork: residence permit, tax residence certificate for each year, consular or padrón changes, form 030 or 036.
- Daily life: local health cover, card spending there, local phone, children’s school, gym.
- Work: contracts and invoices issued with your new address, emails and meetings with date and place.
The costliest mistakes
- Leaving in the second half of the year and claiming non-residence for it. The 183 days were already used.
- Reporting the exit before getting the new country’s certificate. Your absences keep counting as days in Spain.
- Leaving the flat empty with your things inside. It is the first tie-breaker and you lose it.
- A family that stays without an explanation. The presumption is not broken by a lease abroad.
- Billing Spanish clients into a Spanish account as before. That is your centre of interests saying you never left.
- Filing the annual return “just in case”. It declares you resident.
- Not reclaiming the exit-year withholding. Form 210 gets it back; many people leave it on the table.
- Using an old tax-haven list. The 2026 list is not the 2023 one.
- Finding out about the exit tax during an audit. It is measured first.
How we do it at Cheq
We start with an exit audit: days, home, family, activity, company, exit tax and what you keep in Spain, with a figure for what you save and what leaving costs. If it pays, we choose the destination and the year, handle residence and the tax certificate with legal partners in the country, close Spain in order with your adviser or ours, and set up the company and banking where you will actually be. The evidence file is built from month one. It starts with a feasibility call.
In short
Stopping being a Spanish tax resident is not a filing: it is leaving for real and being able to prove it. Pick an exit year and leave in the first quarter, get residence and a tax certificate in the new country first, deal with your Spanish home, report your address with the 030 or 036 within three months, and file either your last resident return or, if you were already non-resident, the 210. If you are Spanish and the destination is on the tax-haven list, Spain keeps you for four more years; if your company is worth more than €1 million, the exit tax comes first. After that, Spain only taxes what you have in Spain.
Sources
- Spanish Income Tax Law 35/2006, consolidated text (BOE): articles 8.2 (quarantine), 9 (residence), 93 (Beckham regime) and 95 bis (exit tax).
- General Tax Law 58/2003, consolidated text (BOE): article 48.3 (tax address) and article 66 (limitation period).
- Order HFP/115/2023 on non-cooperative jurisdictions, consolidated with Order HAC/649/2026 (BOE) and the Spanish Tax Agency’s list.
- Spanish Tax Agency: form 030, form 036 and form 720.
This article is general information, current as of November 2026, and does not replace advice on your own case.
Explore the full guide
Frequently asked questions
How do I deregister as a tax resident in Spain?
There is no deregistration. What exists is the duty to report your new tax address abroad within three months: form 030 if you have no business activity, or form 036 if you are self-employed (which also closes the activity). The form does not make you non-resident. You become non-resident when you stop meeting the article 9 tests of the income tax law, and you prove it with facts if the Tax Agency asks.
Is spending fewer than 183 days in Spain enough?
No. The 183 days are one of two tests, and meeting either keeps you resident. The other is having the main base of your economic activities or interests in Spain. Spain also presumes you are resident if your spouse and minor children live here. And short trips abroad count as days in Spain unless you can show tax residence in another country.
If I leave in July, am I non-resident from July?
No. Spain has no split year: you are resident or non-resident for the whole calendar year. Leave in July after more than 183 days here and you are resident all year, including the months abroad; your first non-resident year is the next one. That is why moves are planned for the first quarter.
What happens to the Beckham regime when I leave?
It simply ends: the regime only applies while you are Spanish resident. If you leave during the six-year window, the year you leave is taxed under Beckham if you were still resident that year, and from then on you are a non-resident taxed only on Spanish income. Since Beckham taxpayers already file as quasi non-residents, the exit is usually simpler for them than for ordinary residents, but the article 9 tests still decide when you stop being resident.
I am British. Does Brexit change anything?
Yes, in two places. If you keep a rented flat in Spain and live in the UK, you pay 24 % on the gross rent with no expenses deductible, instead of 19 % on net rent for EU and EEA residents. And the EU-only exit-tax deferral does not apply to a move to the UK. The Spain-UK tax treaty still prevents double taxation and decides residence if both countries claim you.
How long can the Spanish Tax Agency review my exit?
Four years from the end of the filing period for each year. For the exit year that means up to about five years after you leave, which is why the evidence (lease abroad, flights, the new country's tax residence certificate, consular registration) is kept from the first month.