Tax & Residency guide
Spain tax residency: the 183-day rule and the Beckham Law
How Spanish tax residency works, the second-tier tests beyond 183 days, and the Beckham Law special regime that taxes new arrivals at a flat rate on Spanish-source income only.
Spain considers you a tax resident if you spend more than 183 days in Spain during a calendar year, or if your center of economic interests is in Spain, or if your spouse and minor children habitually live in Spain (a rebuttable presumption). Any one of these is enough. Spanish tax residents are taxed on worldwide income at progressive rates that reach ~47% — unless they elect the Beckham Law special regime, which taxes new arrivals at a flat 24% on Spanish-source income only (up to €600,000), with foreign-source income largely excluded, for up to 6 years.
The 183-day test
You are tax-resident in Spain if you spend more than 183 days in Spanish territory during a calendar year.
Key nuances of how Spain counts:
- Sporadic absences count toward the 183. If you spend most of the year in Spain but take a 3-week trip to Argentina, those 3 weeks may still be counted as Spanish days unless you can prove tax residence elsewhere. This is the “sporadic absence” rule — Spain shifts the burden of proof onto you.
- Both arrival and departure days count as Spanish days.
- The tax year is the calendar year — January to December.
The “sporadic absence” rule is unusual and aggressive. Most countries count days based on physical presence. Spain effectively says: if you’re “habitually here,” brief departures don’t break the count unless you produce a tax-residence certificate from the country you went to.
The center-of-economic-interests test
Independent of day-counting, you are Spanish-resident if your center of economic interests — your main business, professional activity, source of income, or significant assets — is in Spain. This test can establish residency with fewer than 183 days in Spain if your business or asset center is there.
The family-presumption test
Spanish law presumes you are tax-resident in Spain if your spouse (not legally separated) and dependent minor children habitually reside in Spain. The presumption is rebuttable — you can defeat it with strong evidence of tax residence elsewhere — but the default is against you.
This catches a lot of “I work abroad while the family stays in Spain” arrangements.
Worldwide income at progressive rates
A standard Spanish tax resident is taxed on:
- General income (employment, self-employment, rentals) at progressive state + autonomous-community rates totaling roughly 19% to 47% (varies by region; Madrid is lower, Catalonia is higher).
- Savings income (interest, dividends, capital gains) at progressive rates 19% to 28%.
- Wealth tax on net worth above regional thresholds (varies by autonomous community; Madrid effectively zero, Catalonia and the Balearics aggressive).
- Solidarity wealth tax (state-level) on net worth above ~€3 million — an additional layer the regions cannot waive.
Spain has an extensive treaty network, so foreign tax paid is generally creditable.
The Beckham Law — the impatriate regime
Named after David Beckham (one of the first high-profile users in 2003), Spain’s Special Tax Regime for Impatriates is one of the more generous regimes in Europe for qualifying new arrivals.
What it does
For up to 6 years total (the year of arrival + 5 following years), you pay tax in Spain as a non-resident for tax purposes — meaning:
- Spanish-source income (employment income, business income) is taxed at a flat 24% up to €600,000, then 47% above.
- Foreign-source income is generally not taxed in Spain at all. Foreign employment, foreign dividends, foreign rentals, foreign capital gains — all outside Spain’s reach during the Beckham period.
- Spanish wealth tax is calculated only on Spanish-situs assets.
- You do not have to file Spain’s Form 720 (foreign-asset disclosure).
For higher earners with substantial foreign income, this regime can cut a tax bill by 50–70% compared with normal Spanish residency.
Who qualifies
To elect Beckham, you must meet all of:
- Not have been Spanish tax resident in any of the 5 prior tax years (recently reduced from 10).
- Move to Spain because of a qualifying activity, which generally means:
- An employment contract with a Spanish employer (most common path).
- Becoming a director of a Spanish company (subject to limits on ownership).
- Highly-qualified worker or researcher under specific categories.
- Innovative entrepreneurial activity with ENISA-validated status.
- Digital nomad visa holders can also elect Beckham under recent rule updates — a meaningful expansion.
- Not derive income from a Spanish permanent establishment unrelated to the qualifying activity.
- Elect the regime by filing Form 149 within 6 months of registering with Spanish Social Security or receiving the work documentation. Miss the deadline and you lose the entire 6-year benefit.
How long it lasts
- Year of arrival + 5 following years. Total 6 tax years.
- After year 6, you become a normal Spanish tax resident with worldwide taxation.
- You can opt out of the regime mid-period (with consequences).
What Beckham does NOT cover
- Foreign capital gains within Beckham: Spanish capital gains tax on the sale of Spanish-situs assets remains. Foreign capital gains generally remain outside, but the rules around large dispositions are nuanced.
- Social security contributions: Beckham is income-tax only. Spanish social security contributions still apply to qualifying employment.
- Inheritance / gift tax: Beckham does not change Spain’s inheritance and gift tax exposure, which can be significant in some regions.
Beckham + the digital nomad visa
The 2023 expansion that opened Beckham to digital nomad visa (DNV) holders is a major opening. A non-Spanish-employer remote worker can now relocate to Spain, hold a DNV, elect Beckham, and pay flat 24% on Spanish-sourced income (typically a portion of their employment income deemed Spanish-source under Spanish rules) while foreign income remains outside Spain.
The exact treatment of remote employment income under Beckham — how much of it is “Spanish-source” and how much is “foreign-source” — depends on contract structure and is a matter for a Spanish tax advisor.
When Spanish tax residency starts and ends
Spain does not generally apply split-year treatment — if you become resident in a calendar year, you’re treated as resident for the entire year (with treaty relief for income earned before your move, in some cases).
To formally cease Spanish tax residency, you must:
- Stop meeting the day-count, economic-interests, and family-presumption tests.
- File a final Spanish tax return as a resident for the departure year (or in some cases, an earlier non-resident return).
- Update your fiscal residence with the Agencia Tributaria.
- Ideally obtain a tax residency certificate from your new country of residence.
The most common Spain residency mistakes
- Believing 183 days is the whole rule. Economic-interests and family-presumption tests both bypass the day count.
- Not understanding “sporadic absence.” Days you spent on vacation away from Spain may still be counted as Spanish.
- Missing the Beckham election deadline. 6 months from regularization. Miss it and the regime is gone.
- Assuming the digital nomad visa automatically gives you Beckham. The visa is necessary but not sufficient — you still have to elect.
- Forgetting Form 720. Spanish residents (not Beckham electors) must declare foreign assets above €50,000 in three categories. Penalties for non-filing are extreme.
- Underestimating the wealth tax. Some regions (notably Madrid) effectively waive it; others (Catalonia, Balearics) apply it aggressively to net worth as low as €700,000.
Related reading
- What is tax residency?
- 183-day rule by country
- Portugal NHR rules — Spain’s closest peer regime
- Digital nomad visas in 2026
- Avoiding accidental tax residency
The Beckham regime is most valuable when you can document day counts precisely — Spanish residency is calendar-year-based and one extra week in Spain can change a tax position by tens of thousands. DaysAbroad keeps the count exact.