Tax residency is the legal status that determines whether a country can tax you as a resident — often on your worldwide income, not just income earned inside that country.
It is separate from citizenship, immigration status, where your employer is based, or where your bank accounts are held. In Spain, having a NIE, TIE, visa, or residence permit does not automatically make you a Spanish tax resident.
For Americans in Spain, tax residency matters because Spain and the United States can both be relevant at the same time: Spain may tax you as a resident under Spanish rules, while the US may still require annual tax filings because you are a US citizen or green card holder.
In one sentence: tax residency determines whether Spain can tax you as a resident, while US citizenship or green-card status can keep your US tax obligations alive even after you move abroad.
HolaSam note
This is one of the first places Americans get tripped up. Many assume that living in Spain means they are taxed only by Spain. For US citizens and green card holders, US filing obligations continue regardless of where you live or which country considers you a tax resident.
When this usually comes up
This term comes up when someone moves to Spain and realizes that living in a country and being taxed by that country are not the same thing. It also comes up when preparing a first Spanish tax return, when crossing 183 days in Spain for the first time, or when a US accountant and a Spanish gestor give seemingly conflicting advice about the same income.
A concrete example: someone who moves to Spain in March and spends most of the year there may find themselves filing both a Spanish IRPF return (covering worldwide income as a Spanish resident) and a US Form 1040 (required regardless of residency). The two returns then need to be coordinated — usually through the Foreign Tax Credit — to avoid double taxation on the same income.
Why it matters for US persons in Spain
For most countries, tax residency determines the scope of your tax obligations. A Spanish tax resident pays Spanish tax on worldwide income. A Spanish non-resident pays Spanish tax only on Spanish-sourced income.
For Americans, there is an added layer: the United States works differently. US citizens and green card holders generally remain subject to US tax filing and worldwide income reporting even while living abroad. There is no Spain-style 183-day test that switches off US obligations for US citizens.
The result is a two-country filing situation. Both countries may have a claim on the same income, which is why the US–Spain tax treaty, the Foreign Tax Credit, and careful sequencing between the two returns matter so much.
How it works
Every country sets its own rules for determining tax residency. Spain uses three tests. Meeting any one of them makes you a Spanish tax resident for that calendar year:
- The 183-day rule — spending more than 183 days in Spain during the calendar year
- Economic interests — having your main base of economic activity or interests in Spain
- Family presumption — your non-legally-separated spouse and dependent minor children habitually live in Spain
Spain applies these tests on a calendar-year basis. The year runs January 1 through December 31. A change of residence during the year does not split the tax year — you are generally treated as resident or non-resident for the whole year.
Related filings and obligations
For someone who becomes a Spanish tax resident, tax residency may be relevant to:
- IRPF (Modelo 100) — Spain’s income tax return for residents, covering worldwide income
- Modelo 720 — foreign asset declaration that may be required for residents with qualifying assets outside Spain above €50,000 per reporting category
- Modelo 721 — declaration for cryptocurrency held abroad, which may apply to qualifying residents
- Impuesto de Patrimonio / ITSGF — Spain’s wealth tax and solidarity surcharge, which apply to residents above certain net worth thresholds
- US Form 1040 — required annually for US citizens and green card holders regardless of Spanish residency status
- FBAR (FinCEN 114) — may be required for US persons whose foreign financial accounts exceed $10,000 at any point during the year
Common confusion
Residency versus citizenship Many people assume that holding Spanish citizenship or a Spanish residence permit makes them a Spanish tax resident. These are separate concepts. A person may hold a residence permit or have administrative residence in a country and still not be considered a tax resident there. Tax residency is determined by the three tests above.
Physical presence versus tax residency You can live in Spain without being a Spanish tax resident — for example, if you spend fewer than 183 days there and your economic interests remain elsewhere. Conversely, you can be a Spanish tax resident without intending to be, simply by meeting one of the three tests.
Dual residency A person can be treated as tax resident by more than one country under each country’s domestic rules. Tax treaties often include tiebreaker rules to decide which country gets priority for treaty purposes, but that does not always eliminate every filing obligation.
Quick FAQ
Can I be a tax resident of both Spain and the United States at the same time?
The US–Spain tax treaty includes tiebreaker rules designed to resolve dual-residency situations. In practice, US citizens living in Spain often have filing obligations in both countries — coordinated through the treaty and available credits — rather than obligations to just one.
Does getting a Spanish NIE or residency card make me a Spanish tax resident?
No. A NIE (Número de Identificación de Extranjero) and a residency permit are immigration documents. Tax residency is determined separately, based on the three tests under Spanish tax law.
If I leave Spain before the end of the year, am I still a tax resident for that year?
It depends on whether you met one of the residency tests during that calendar year. If you spent more than 183 days in Spain before leaving, you likely met the day-count test. If you left earlier and did not meet any of the three tests, you may not be a resident for that year — but the analysis depends on your specific facts.
Sources
- Agencia Tributaria: Individual resident in Spain
- IRS: Publication 54 — Tax Guide for US Citizens and Resident Aliens Abroad
- IRS: Report of Foreign Bank and Financial Accounts (FBAR)
- US–Spain Income Tax Treaty and protocol (1990)