Leaving Spanish tax residencyArticle 6 of 6 · 7 min read
When Hacienda says you are still resident after you left
For people who have left Spain and face a Hacienda challenge to their departure. It explains the grounds Hacienda uses, how an inspection runs, what happens if Hacienda wins, how the tax treaty protects you, and how long Hacienda can look back.
Terms used
- Hacienda — Hacienda is Spain's tax authority, the body that checks returns and issues tax bills.
- Acta — The acta is the inspector's written proposed assessment, issued before the final tax bill.
- TEAR — The TEAR is the regional economic-administrative tribunal, where you can challenge a tax assessment before going to court.
- Modelo 720 — Modelo 720 is the annual declaration of assets and accounts held abroad.
Key rules
- Challenge deadline: You have one month to challenge the final assessment by reposición appeal or TEAR claim.
- Inspection length: An inspection should finish within 18 months, extendable to 27.
- Look-back period: Hacienda can assess a year for four years from the end of its voluntary filing period, but appeals and Hacienda's actions restart the clock.
- Dual residence: If two countries claim you, the treaty tie-breaker decides, and you can ask for a mutual agreement procedure.
- Criminal risk: Criminal tax exposure becomes possible above 120,000 euros of unpaid tax in a year.
What Hacienda looks at
Hacienda can treat you as still resident in Spain even if you moved abroad. It builds that case on a few grounds:
- You spent more than 183 days in Spain in the calendar year. Short trips abroad still count as days in Spain unless you hold a tax residence certificate from the other country.
- Your centre of economic interests is in Spain, for example your main income, business or assets.
- Your spouse and minor children live in Spain. Hacienda presumes this means you live there too.
In practice it also checks whether you kept a home in Spain, still work or run a business there, keep using Spanish bank accounts and cards, and have family and social ties. The warning below lists the usual departure mistakes.
How the process works
It usually starts with a notice from Hacienda asking for documents. Read it carefully and answer on time. The documents are listed below.
Next come a hearing, then a proposed assessment (an "acta"), then the final tax bill. An inspection should finish within 18 months. Hacienda can extend that to 27.
If you disagree with the final bill, you have one month to challenge it. You can file a reposición appeal with Hacienda itself, or go straight to the economic-administrative claim (TEAR). If that fails, you can appeal to the contentious-administrative court.
What happens if Hacienda wins
You are taxed in Spain on your worldwide income for the disputed years. You get credit for tax you paid abroad on that income. You may also owe wealth tax and have to file Modelo 720, the declaration of assets held abroad.
Late-payment interest runs on the unpaid amount (around 4% in 2025). Penalties of 50% to 150% of the unpaid tax can apply, depending on the infraction. Criminal exposure becomes possible when the unpaid tax is above 120,000 euros in a year.
Treaty protection
If your new country also treats you as resident, Spain's tax treaty with that country decides where you count as resident. Most treaties apply the same order of tests:
- Where you have a permanent home available.
- Where your personal and economic ties are closest.
- Where you habitually live.
- Your nationality.
If the tests do not settle it, the two tax authorities resolve it by mutual agreement procedure. You can ask for this. Where your treaty includes an arbitration clause, arbitration applies too. Check your treaty's wording with a tax adviser.
Time limits
Hacienda can assess a year for four years, counted from the end of the voluntary filing period for that year. The clock stops and restarts when Hacienda acts to assess the tax, when you appeal, or when you take certain actions yourself. An inspection that runs over its time limit loses the effect of stopping the clock for the period that passed. Keep your records for at least this long, and longer if an inspection has started.
Choosing between options
How do you respond if both Spain and your new country treat you as resident?
-
Rely on the treaty tie-breaker: You are resident in both countries and a double tax treaty exists: it decides by permanent home, then centre of vital interests, then habitual abode, then nationality.
-
Ask for a mutual agreement procedure: The tie-breaker does not settle it: you can ask both tax authorities to agree, and the treaty's arbitration clause applies if it has one.
-
Accept Spanish residence for the disputed years: Hacienda succeeds: you pay Spanish tax on worldwide income with credit for foreign tax paid, possible Wealth Tax and Form 720, late-payment interest and penalties of 50% to 150% of the unpaid tax.
Start with the treaty order of ties; move to a mutual agreement procedure only if those ties do not decide it.
Timeline and deadlines
-
Hacienda opens an inspection or verification, often with a notice asking for documents: at the start of the inspection
-
You answer the notice and attend the hearing: after the notice, before the proposed assessment
-
Hacienda issues a proposed assessment and then the final tax bill: after the hearing
-
The inspection should finish: within 18 months, extendable to 27 months
-
Challenge the assessment by a reposición appeal or an economic-administrative claim (TEAR): within 1 month of the assessment
-
Appeal to the contentious-administrative court if the earlier challenge fails: after the earlier challenge is decided
-
Hacienda's right to assess the year expires: 4 years after the end of the voluntary filing period
Documents you need
-
Tax residence certificate from your new country, issued by its tax authority, to show you are resident there and to counter days counted as presence in Spain
-
Travel records showing the days you spent in and out of Spain in the year you left
-
Leases or other proof of where you have lived, in Spain and in your new country
-
Bank statements covering the years Hacienda is questioning
Checklist
-
Read the notice and list every document it asks for
-
Gather your travel records, leases, tax residence certificate and bank statements
-
Answer the notice with the documents requested
-
Attend the hearing and review the proposed assessment
-
File a reposición appeal or a TEAR claim within 1 month if you disagree with the assessment
-
Check whether 4 years have passed since the end of the voluntary filing period for the year in question
Departure mistakes that keep you tax resident
-
Leaving your family in Spain: If your spouse and dependent minor children stay in Spain, Hacienda (Spain's tax agency) presumes you are still resident, even if you work abroad. The presumption can be challenged, but it is a hard case to win. Gather proof that your life and income are now elsewhere, such as a tax residence certificate from your new country and records of where you spend your days.
-
Keeping your economic centre in Spain: Keeping your main job, business, main assets or main income sources in Spain can keep you resident, often even when you spend fewer than 183 days there. Hacienda treats family and economic centre as decisive in those cases. Move your work, income and main assets to your new country, and keep documents that show the change and its dates.
-
Keeping a home available in Spain: A home you still own or can use in Spain reads as a tie that you have not really left. Sell or rent out the home on a documented contract, or be ready to show why it no longer serves as your residence.
-
Leaving banking, social and administrative ties untouched: Active Spanish bank accounts, memberships, your padrón registration (the town hall residents list) and a Spanish address on official records all suggest you still live there. Update your address, deregister from the padrón and move your day-to-day banking and bills to your new country.
How Hacienda weighs each tie varies by case, so check your own situation with a tax adviser who handles Spanish departures.
Frequently asked questions
What happens if both Spain and my new country say I am resident?
Yes, a double tax treaty can settle it, because it ranks the ties in a fixed order: a permanent home available to you, then your centre of vital interests, then where you habitually live, then nationality. If that still does not decide it, you can ask for a mutual agreement procedure between the two tax authorities, and some treaties add arbitration.
Can I be prosecuted if Hacienda wins its residency case?
Criminal exposure is possible only when the unpaid tax is above 120,000 euros for a single year. Below that, the usual consequences are tax on worldwide income, late-payment interest and penalties of 50% to 150% of the unpaid tax, depending on the infraction.
Do I still get credit for tax I paid abroad if Hacienda treats me as resident?
Yes, Spain taxes your worldwide income for the disputed years but gives credit for foreign tax you already paid on that income.
More in Leaving Spanish tax residency
Need certainty before you act?
For important relocation decisions, speak with a qualified human specialist.
Always verify important information with the relevant official authority or a qualified adviser before acting. This website uses large language models together with various public data sources, official government documents and other established sources. Due to the amount of data on this website, some information might be wrong. Information may also be incomplete or outdated.