Spanish taxes have a reputation for complexity, but the system runs on one hinge question: are you a Spanish tax resident or not? Everything else - what income Spain can tax, which forms you file, whether your foreign assets must be declared - hangs off that answer. This guide explains the residency tests the Agencia Tributaria actually applies, what each status means for your money, and the obligations that catch new expats in their first two years.
1. The residency tests
You are considered habitually resident in Spain when any of these is true (Agencia Tributaria manual, art. 6 Ley IRNR wording):
- The 183-day rule: you spend more than 183 days in Spain during the calendar year. Sporadic absences count as days in Spain unless you can prove tax residence in another country - and if that other country is a non-cooperative jurisdiction, the tax authority can demand you prove 183 days of presence there.
- Center of economic interests: the main core or base of your economic activities or interests is in Spain, directly or indirectly. You can fail the day count and still be resident under this test (classic case: your business, clients or main assets are Spanish).
- The family presumption: if your non-legally-separated spouse and dependent minor children are habitually resident in Spain, you are presumed resident too, unless you prove otherwise. Moving your family ahead of you "for the school year" while you commute is not the loophole people imagine.
Note the wording: these are alternative tests, and the burden of proof sits with you. A residence permit is not tax residence - the Agencia Tributaria states explicitly that you can hold administrative residence in a country without being its tax resident, and vice versa.
2. Residency is all-or-nothing
A rule that surprises almost everyone: you are resident or non-resident for the entire calendar year - moving to Spain does not split your tax year. Arrive in October 2026 and, if you meet a residency test, you are a Spanish tax resident for all of 2026, with the worldwide-income consequences that carries. Timing a move across a year boundary, and documenting it, is one of the highest-value pieces of tax planning a new expat can do.
3. If you are resident: worldwide income
Spanish tax residents pay IRPF on their worldwide income: salary, freelance income, pensions, rents, dividends, interest and capital gains, wherever earned. The general scale is progressive and set partly by your autonomous community; savings income has its own scale. In practice you will file an annual return (modelo 100, filed April-June for the previous year) - most new residents need a gestor or tax adviser at least for the first one. Cross-border relief comes from double-taxation treaties (section 6), which usually work through exemptions or credits for tax already paid abroad.
One major exception: if you moved to Spain for work, you may be able to opt into the special impatriate regime (the Beckham Law) - flat 24% on employment income up to 600,000 EUR, foreign investment income mostly outside the Spanish net, for your arrival year plus five. Read that guide before your first filing season; the opt-in deadline is short.
4. Modelo 720: the foreign-assets declaration
The obligation most expats discover late: Spanish tax residents must file modelo 720, an informative declaration of assets held abroad, when any of three categories exceeds 50,000 EUR: bank accounts, securities/investments/insurance, and real estate. It is purely informative (no tax due with it), filed once by 31 March for the previous year-end position, and again only when a category grows by more than 20,000 EUR or you close an asset. The brutal sanction regime the EU struck down was replaced by ordinary statute-of-limitations rules, but late or missing filings still draw fines. If you arrive with property or investments abroad, modelo 720 belongs in your first-year checklist.
5. If you are not resident: IRNR
Non-residents pay the Non-Resident Income Tax (IRNR) only on Spanish-source income. Per the Agencia Tributaria's current rate table:
- General rate: 19% for residents of the EU, Iceland and Norway; 24% for everyone else.
- Dividends, interest and capital gains: 19%.
- Non-resident property owners owe an imputed-income tax on their Spanish home even when it sits empty (a percentage of the cadastral value, declared annually with modelo 210).
Pensions paid to non-residents have their own scale. If your country has a treaty with Spain, its rates and exemptions override these defaults - check the treaty first.
6. Double-taxation treaties
Spain has treaties with most countries expats come from. Two things to understand from the Agencia Tributaria's own explanation:
- Dual residence can happen. Each state applies its own tests, so both may consider you resident. Treaties resolve it with tie-breakers, in order: where you have a permanent home available; where your personal and economic relations are closer (center of vital interests); where you habitually live; nationality; and finally mutual agreement between the authorities.
- Residence certificates are the proof. Tax residence is accredited with a certificate from the other country's tax authority, valid for one year. When a Spanish institution or the AEAT questions where you are resident, this certificate is the document that talks.
Common treaty reliefs: foreign pensions taxed only in the paying country, employment income taxed where the work is physically done, and credits for foreign tax paid on the same income. The details differ per treaty - the US-Spain and UK-Spain treaties, for example, treat government pensions very differently from private ones.
7. Your first year, step by step
- Track your days in Spain from day one (a simple spreadsheet works) and keep evidence of your move date: flight, lease, padrón registration.
- Decide your residency position for the arrival year honestly, applying the three tests - and remember residency covers the whole calendar year.
- If you moved for work, evaluate the Beckham Law opt-in immediately; the modelo 149 window is six months.
- Get your NIE - every tax form needs it.
- Inventory your foreign assets against the 50,000 EUR modelo 720 categories.
- Read your country's treaty with Spain for your main income types (pension, salary, dividends, rent).
- File on time: modelo 720 by 31 March and the IRPF return April-June (or IRNR modelo 210 if non-resident).
- Budget for a gestor or cross-border tax adviser for year one - the fee is small against the mistakes it prevents.
8. Mistakes that get expensive
- Assuming the visa decides your taxes. An NLV or DNV makes you an immigration resident; tax residence follows the 183-day and interests tests. Different systems, different calendars.
- The split-year myth. There is no partial-year residency in Spain (section 2).
- Forgetting modelo 720 because "it is only informative". It is, and fines apply anyway.
- Ignoring the family presumption when one spouse moves first.
- Double-taxed by default. Treaties do not apply themselves - you claim them, with residence certificates and correct forms.
- DIY cross-border filings. One treaty article misread costs more than years of gestor fees.
This guide is free and independent. It currently contains no affiliate links; if we later add partner links we will label them clearly. This is not tax advice - cross-border taxation turns on your specific facts, so confirm yours with a licensed tax adviser.
- Agencia Tributaria - Manual de tributación de no residentes: La residencia de las personas físicas (183-day rule, economic interests, family presumption, whole-year residency, treaty tie-breakers, residence certificates): agenciatributaria.gob.es
- Agencia Tributaria - Tipos de gravamen en el IRNR sin establecimiento permanente (19% EU/Iceland/Norway, 24% others; 19% dividends/interest/gains): sede.agenciatributaria.gob.es
- Agencia Tributaria - Modelo 720, declaración informativa sobre bienes y derechos en el extranjero: sede.agenciatributaria.gob.es