Spain's tax system catches many international buyers by surprise. You purchase a property in Málaga or Valencia, spend your summers there — and then one day AEAT sends a letter telling you that you owe tax on your worldwide income.
Understanding exactly when and how Spanish tax residency kicks in is one of the most valuable things any international client can do before relocating or buying property.
The 183-Day Rule — and Why It's Not the Only Rule
The most widely known trigger for Spanish tax residency is the 183-day rule: if you spend more than half the year (183 days or more) on Spanish territory, you become a tax resident for that calendar year.
But that's only the starting point. Spanish law also considers you a tax resident if your centre of economic interests is in Spain — meaning the majority of your assets, investments, or business activity is located there. And if your spouse or dependent children reside in Spain, the law presumes you are a resident unless you can prove otherwise.
Many clients count nights carefully to stay below 183 days — then discover they're still tax residents because their main asset is a Spanish property generating rental income.
What Changes When You Become a Spanish Tax Resident
The shift from non-resident to resident is significant:
- As a non-resident (IRNR): You pay a flat 19–24% tax on Spanish-source income only (rental income, capital gains from Spanish assets, etc.)
- As a resident (IRPF): You pay progressive income tax on your global income, ranging from 19% up to 47%
This means foreign dividends, rental income from overseas properties, pension income, and capital gains from investments held abroad all come into scope.
Beckham's Law: The Expat Tax Regime
Spain introduced a special regime — informally known as Beckham's Law — that allows qualifying new residents to pay a flat 24% tax on Spanish-source income for up to six years, rather than being taxed on worldwide income at progressive rates.
To qualify, you must:
- Not have been a Spanish tax resident in the previous five years
- Move to Spain as a result of an employment contract, or as a director of a Spanish company
- Apply within six months of registering with Social Security
Reforms in 2023 expanded eligibility to digital nomads, remote workers employed by foreign companies, and entrepreneurs meeting certain criteria — making this one of the most attractive inbound tax regimes in Europe.
The Wealth Tax Dimension
Spain also levies a Wealth Tax on net assets above a certain threshold. For tax residents, this applies to worldwide assets. For non-residents, it applies only to Spanish-situated assets.
Rates and exemptions vary significantly by autonomous community. Madrid currently applies a 100% bonification (effectively zero), while Catalonia, Andalucía, and Valencia apply meaningful rates. This regional variation makes where you register your fiscal residency within Spain a material planning decision.
Key Planning Considerations
- Assess your day count early — keep a record of travel, particularly if you split time between multiple countries
- Understand treaty positions — Spain has double-tax treaties with over 90 countries, and the tie-breaker rules differ significantly
- Structure before you arrive — once you become resident, unwinding offshore structures can trigger immediate taxation. Pre-residency restructuring is far cleaner
- Choose the right community — the regional tax differences can run to tens of thousands of euros annually
- Apply for Beckham's Law promptly — the six-month window is strict and there is no appeal mechanism if you miss it
Non-Residents: What You Still Owe
Even if you avoid Spanish tax residency, you remain subject to Spanish taxes on Spanish-source income and assets:
- Rental income from Spanish property is taxable at 19% for EU/EEA residents, 24% for others
- Capital gains from selling Spanish property are taxed at 19–23%
- Imputed income tax applies to properties not rented out (based on cadastral value)
- Inheritance and gift tax applies to Spanish-situated assets regardless of the recipient's residency
This article is for informational purposes only and does not constitute tax or legal advice. Consult a qualified advisor before making decisions based on your specific circumstances.