Tax & Wealth · europe · ES · · 11 min read
Tax residency and wealth structuring for new Spain residents
Spain’s tax framework for new residents underwent a material reconfiguration in 2025, and the window for pre-arrival planning has narrowed. The abolition of…
Spain’s tax framework for new residents underwent a material reconfiguration in 2025, and the window for pre-arrival planning has narrowed. The abolition of the Golden Visa programme, announced by the government in April 2025 via the Moncloa portal, removed one of the most straightforward pathways to residency for capital-intensive individuals. What remains is a system that hinges on a 183-day physical-presence test, a territorial versus worldwide income distinction that traps the unwary, and a special regime — the so-called Beckham Law — that can cap tax liability on Spanish-source employment income at a flat 24 per cent for six years. For the high-net-worth individual considering a move to Spain, the difference between an optimal outcome and a costly one is determined almost entirely by actions taken before the first day of tax residence.
## The residency test: how Spain defines a tax resident
Spain’s definition of tax residence is codified in Article 9 of the Ley del Impuesto sobre la Renta de las Personas Físicas (LIRPF). An individual is considered a tax resident if they spend more than 183 days in Spanish territory during a calendar year, counted in full days of physical presence. Short absences do not reset the clock; the Agencia Tributaria (AEAT) has consistently held that temporary departures for travel or business remain counted unless the taxpayer can demonstrate tax residence in another jurisdiction for at least 183 days in that same year.
### The centre of vital interests test
A second, less well-known trigger is the “centre of vital interests” test. Even if an individual spends fewer than 183 days in Spain, they are deemed a tax resident if their spouse and minor children habitually reside in Spain. This provision, also in Article 9 LIRPF, has ensnared many executives who maintained a primary residence elsewhere but whose families remained in Spain. The AEAT’s interpretive criteria, published in its annual guidance, treat this as a rebuttable presumption — but rebuttal requires documentary evidence of another jurisdiction as the taxpayer’s habitual abode, including proof of a permanent home, professional activity, and economic interests outside Spain.
### Day-counting and the 183-day threshold
The 183-day count is not a mere formality. The AEAT has access to passenger movement records from the Dirección General de la Policía, and it cross-references entry and exit stamps with tax declarations. Partial days count as full days; a taxpayer arriving in Spain at 23:00 on 1 January and departing at 01:00 on 2 January is treated as present for both days. For high-net-worth individuals with multiple residences and frequent international travel, maintaining a precise log of physical presence is not optional — it is the single most important document in a potential audit.
## Worldwide income vs. source income: the scope of Spanish taxation
Once an individual is classified as a tax resident, Spain taxes their worldwide income. This is the default rule under Article 2 LIRPF: all income, wherever earned, is subject to Spanish personal income tax (IRPF) at progressive rates that reach 47 per cent in the highest bracket (for 2025, income above EUR 300,000). Capital gains are treated as income and taxed at a separate flat rate of 26 per cent for gains up to EUR 200,000 and 28 per cent above that threshold, as set out in the annual Budget Law.
### Foreign-source income and double-taxation treaties
Spain maintains a network of double-taxation treaties with over 90 jurisdictions, including all OECD member states. The treaties generally follow the OECD Model Tax Convention, allocating taxing rights based on source rules. For a US citizen moving to Spain, the US-Spain treaty (in force since 1991) provides that pensions and social security are taxable only in the country of residence, while capital gains from the sale of real property are taxable in the country where the property is located. The practical consequence is that a new resident must file in both jurisdictions and claim a foreign tax credit in the higher-tax country — typically Spain for earned income, the US for capital gains on US-situated assets.
### The wealth tax: a separate liability
Spain’s Impuesto sobre el Patrimonio (wealth tax) is a separate levy on net assets exceeding EUR 700,000, with rates ranging from 0.2 per cent to 3.5 per cent depending on the autonomous community. The national exemption threshold is EUR 700,000, but each region can modify it; Madrid, for example, offers a 100 per cent bonus on the wealth tax liability, effectively eliminating it for residents of that community. For a new resident with assets of EUR 10 million, the difference between residing in Madrid and residing in Catalonia can amount to over EUR 200,000 per year in wealth tax alone.
## The Beckham Law: a special regime for inbound professionals
The Régimen Especial para Trabajadores Desplazados, commonly known as the Beckham Law, was introduced in 2004 and substantially reformed in 2023. It allows qualifying new residents to elect taxation on Spanish-source income and capital gains at a flat rate of 24 per cent for the first six tax years, rather than the progressive IRPF rates. The regime applies to individuals who have not been tax residents in Spain in the five years preceding their move, and who relocate for employment or professional reasons.
### Eligibility criteria and the 2023 reforms
The 2023 reform expanded eligibility to include remote workers, digital nomads, and certain types of investment professionals. The key requirements, published by the AEAT in its official guidance, are: (a) the individual must not have been a Spanish tax resident in the previous five years; (b) the move must be for a qualifying employment relationship or professional activity; (c) the individual must not derive more than 20 per cent of their income from a Spanish source as a self-employed professional; and (d) the application must be filed within six months of becoming a tax resident. The flat rate of 24 per cent applies only to Spanish-source income up to EUR 600,000; income above that threshold is taxed at 47 per cent under the general regime.
### What it covers — and what it does not
The Beckham Law covers employment income, director fees, and professional income from Spanish sources. It does not cover capital gains from the sale of assets, rental income from Spanish property, or investment income such as dividends and interest — those remain subject to the general progressive rates or the flat capital-gains rate of 26-28 per cent. For a high-net-worth individual whose primary income is from a family office or investment portfolio, the Beckham Law offers limited benefit. It is most advantageous for salaried executives, partners in professional services firms, and senior managers with a substantial Spanish compensation package.
## Pre-arrival planning: actions that change net outcomes
The most costly mistakes in Spanish tax planning are made before the first day of residence. Once an individual is classified as a tax resident, the ability to restructure assets, change domicile, or realise gains is severely constrained by Spanish exit tax rules and anti-avoidance provisions.
### Asset realisation before the residency date
Capital gains realised before the individual becomes a Spanish tax resident are not subject to Spanish taxation, regardless of where the assets are located. The optimal strategy is to sell appreciated assets — shares, real estate, collectibles — in the tax year before the move, while the individual is still a non-resident. The Spanish exit tax (Impuesto de Salida), codified in Article 95 bis LIRPF, applies to individuals who move their tax residence out of Spain, not into it. There is no equivalent “entry tax” on unrealised gains brought into the country. The window for this planning is narrow: the residency clock starts on day one of physical presence, not on the date a residence permit is granted.
### Trust and foundation structuring
Spain does not recognise foreign trusts as transparent vehicles for tax purposes. Under Spanish tax law, a trust is treated as a separate legal entity subject to Impuesto sobre Sociedades (corporate tax) at 25 per cent, and distributions to beneficiaries are taxed as income. For a US-based family that has used a revocable living trust for estate planning, the move to Spain can trigger a double layer of taxation: the trust’s income is taxed in Spain, and distributions are taxed again in the beneficiary’s hands. The solution, if implemented before residency, is to unwind the trust and distribute assets to individuals, or to convert the trust into a Spanish-compliant structure such as a Sociedad Limitada (SL) or a fundación.
### Real property and the imputed-income rule
Spanish tax law imputes income to the owner of a second home or any property that is not the primary residence. Under Article 85 LIRPF, the imputed income is 2 per cent of the cadastral value (1.1 per cent if the value has been revised in the last ten years), taxed at the marginal IRPF rate. For a property with a cadastral value of EUR 2 million, the imputed income is EUR 40,000, generating a tax liability of approximately EUR 18,800 at the top marginal rate. This applies regardless of whether the property generates any actual rental income. The planning step is to ensure that the cadastral value is up to date and, if the property is to be rented, to register the lease with the AEAT to deduct expenses against the rental income.
## Exit tax and the risk of unintended departure
Spain’s exit tax, introduced in 2015 and expanded in 2021, applies to individuals who have been tax residents for at least 10 of the last 15 years and who move their tax residence outside Spain. The tax is levied on unrealised capital gains on shares in Spanish companies where the individual holds more than 25 per cent and the value exceeds EUR 4 million, and on any assets where the unrealised gain exceeds EUR 100,000. For a high-net-worth individual who has lived in Spain for a decade and then relocates to Portugal or Switzerland, the exit tax can amount to 26-28 per cent of the paper gain on a portfolio of Spanish-company shares.
### The 10-year rule and grandfathering
The 10-year rule is a hard threshold. An individual who has been a resident for nine years and 11 months is not subject to the exit tax; one day later, they are. The planning implication is that any decision to leave Spain should be made before the 10-year anniversary, or the taxpayer must accept the exit tax liability. There is no grandfathering for pre-existing assets; the tax applies to all qualifying shares and assets held at the time of departure.
### Comparison with other European exit taxes
Spain’s exit tax is less aggressive than Norway’s, which taxes unrealised gains on all assets regardless of value, but more aggressive than Italy’s, which applies only to assets transferred to a trust. The UK’s exit tax, introduced in 2013, applies only to temporary non-residents who return within five years. For a globally mobile high-net-worth individual, the choice of residence jurisdiction should factor in the exit tax regime of the current country, not just the tax rates of the destination.
## Wealth structuring for the long term
Once residency is established, the structural choices that minimise tax liability are largely fixed. The autonomous community of residence determines the wealth tax rate and the IRPF surcharge. Madrid, Andalusia, and the Balearic Islands offer significant advantages for wealth tax; Catalonia, Valencia, and the Basque Country impose higher rates.
### The autonomous community factor
Madrid’s 100 per cent bonus on wealth tax, codified in the Ley de Medidas Fiscales de la Comunidad de Madrid, means that a resident with EUR 10 million in net assets pays zero wealth tax, while a resident of Catalonia with the same assets pays approximately EUR 250,000 per year. The choice of community is not a one-time decision; moving between communities after residency is established is possible but requires a genuine change of habitual residence, which the AEAT scrutinises carefully.
### Holding companies and the ETVE regime
Spain’s Entidad de Tenencia de Valores Extranjeros (ETVE) regime allows a Spanish holding company to receive dividends and capital gains from foreign subsidiaries at an effective tax rate of 1-5 per cent, provided the subsidiary meets certain activity and substance requirements. For a family office that holds a portfolio of international operating companies, the ETVE structure can reduce the Spanish tax burden on repatriated earnings to near zero. The regime was approved by the European Commission in 2007 and remains in force, though the EU’s Anti-Tax Avoidance Directive (ATAD) has tightened the substance requirements since 2022.
### The digital nomad visa as an alternative
For individuals who do not meet the employment requirements of the Beckham Law, the digital nomad visa (introduced by Ley 28/2022) offers a flat tax rate of 24 per cent on Spanish-source income for the first four years, with no cap. The visa requires proof of remote work for a non-Spanish employer, sufficient financial means (EUR 28,000 per year for the applicant plus EUR 10,000 per dependent), and a clean criminal record. Unlike the Beckham Law, the digital nomad visa does not require a five-year non-residence period; it is available to anyone who has not been a Spanish tax resident in the previous five years.
## Four actionable takeaways
1. The 183-day count begins on the day of arrival, not the date a residence permit is granted, and the AEAT uses border-crossing records to verify physical presence.
2. Capital gains realised before the first day of tax residence are outside Spanish tax jurisdiction, making pre-move asset sales the single most effective tax-reduction strategy.
3. The Beckham Law caps Spanish-source employment income at 24 per cent for six years, but it does not cover investment income, capital gains, or rental income, limiting its value for portfolio-driven wealth.
4. The choice of autonomous community determines wealth tax liability more than any other factor, with Madrid offering a full exemption and Catalonia imposing rates of up to 3.5 per cent on net assets above EUR 700,000.
## Sources
- Ley del Impuesto sobre la Renta de las Personas Físicas (LIRPF), Article 9 (residency test) and Article 95 bis (exit tax): https://www.boe.es/buscar/act.php?id=BOE-A-2006-20764
- Agencia Tributaria (AEAT) guidance on the Beckham Law (Régimen Especial para Trabajadores Desplazados): https://sede.agenciatributaria.gob.es
- Moncloa portal, announcement of Golden Visa abolition, April 2025: https://www.lamoncloa.gob.es/Paginas/index.aspx
- Ley 28/2022, Digital Nomad Visa provisions: https://www.boe.es/diario_boe/txt.php?id=BOE-A-2022-22329
- Comunidad de Madrid, Ley de Medidas Fiscales (wealth tax bonus): https://www.bocm.es/boletin/CM_Orden_BOCM/2023/12/28/BOCM-20231228-1.PDF
tax-wealtheseurope