How It Works How We Protect You Pricing
FAQ Contact
EN ES FR PT
Download Free
Country Guide · Spain

Tax residency in Spain

Last updated

Up to 47% income tax. Worldwide taxation. The Beckham Law at 24%. But only if you understand who qualifies and what Hacienda watches.

Scenic view of Spain highlighting its landscape and architecture

Quick facts · Spain

  • Income Tax (IRPF) 19–47% (up to 54% regional)
  • Residency threshold 183 days / calendar year
  • Key regime Beckham Law · 24% flat
  • Corporate tax 25%
  • VAT (IVA) 21%
  • Treaty network 90+ DTAs

Where it sits

Europe's fourth-largest economy — and one of its most aggressive tax authorities.

Spain draws expats with a mature tax system, the Beckham Law for newcomers, and a digital nomad visa. But Hacienda watches presence closely, and the burden of proof is on you.

FRANCE Max income tax 45% PYRENEES PORTUGAL Max 48% SPAIN Max income tax 47% (state) · Beckham Law 24% 17 autonomous communities, varying regional rates
  • Top rate

    47% state IRPF

    Progressive from 19% to 47%. Combined with the regional bracket, the top marginal rate reaches up to 54% in some communities.

  • Beckham

    24% flat

    A flat rate on income up to EUR 600K for qualifying newcomers, for six tax years. Foreign assets largely shielded.

  • Treaties

    90+ DTAs

    One of the world's largest double-taxation treaty networks, covering every major economy — and the CRS automatic exchange.

  • The rule

    183 days

    Spend 183+ days in Spain during a calendar year and you are tax resident. Sporadic absences count against you.

  • Regions

    17 communities

    Each sets its own regional IRPF bracket. Madrid vs Valencia can differ by 10+ points on the same salary.

  • EU

    Full member

    Schengen zone, eurozone, full EU regulation, and CRS automatic information exchange with 100+ countries.

Routes in

Residency & tax regimes

Spain offers several routes to residency, each with different tax implications. The Beckham Law and the digital nomad visa matter most for international professionals.

  • Art. 93 IRPF

    Beckham Law

    Flat 24% on income up to EUR 600,000 (47% above), for six tax years. Must not have been Spanish tax resident in the prior five years. Apply via Form 149 within six months of Social Security enrollment. Exempt from Modelo 720 and wealth tax on foreign assets. Open to employees, digital nomads, entrepreneurs, and R&D professionals.

  • Ley 28/2022

    Digital nomad visa

    For non-EU remote workers employed by foreign companies. Initial visa up to 1 year, residence authorization up to 3 years (renewable to 5). Minimum income ~200% of Spain's SMI (approx. EUR 2,520–2,850+/month), 3-month prior employer relationship, company not registered in Spain. Employed holders can combine it with the Beckham Law.

  • Registration

    NIE + empadronamiento

    The foundational steps every foreign resident completes. The NIE (foreigner ID number) is required for taxes, banking, contracts, and employment. Empadronamiento is mandatory municipal registration — not itself a determination of tax residency, but Hacienda treats it as evidence. Non-permanent residents renew it every 2 years.

  • Default

    Standard residency

    The default regime for residents who don't qualify for a special programme. Progressive IRPF 19–47% (state) plus the regional bracket, worldwide income taxed, wealth tax 0.2–3.5% (with exemptions), Modelo 720 foreign-asset reporting above EUR 50K, and the Solidarity Tax on large fortunes above EUR 3M.

The numbers

Tax rates

Spain's progressive IRPF combines a state and a regional bracket. The Beckham Law offers a flat alternative for qualifying newcomers.

General income (salaries, business income, pensions) is taxed on a progressive scale that starts at 19% up to EUR 12,450 and climbs through 24%, 30% and 37% to a top state rate of 47% above EUR 300,000 — before the regional bracket is added on top. Savings income (interest, dividends, capital gains) runs on its own gentler scale, from 19% up to EUR 6,000 to 30% above EUR 300,000.

Against that, the Beckham Law offers qualifying newcomers a flat 24% on income up to EUR 600,000 — often less than half the standard top rate. The gap is what makes Spain attractive on paper and punishing if you get the residency question wrong.

Top marginal income tax rate: Spain vs neighbours

Beckham Law
24%
Spain (Madrid)
43.5%
Spain (Valencia)
54%
France
45%
Portugal
48%
Andorra
10%

Maximum combined marginal rates on personal income (2026). Regional variation applies in Spain.

Where you register matters. Spain's IRPF splits into a state bracket and a regional one set by each autonomous community, so your address changes your bill. Madrid is consistently the lowest at roughly 43.5% combined (with its historic wealth-tax bonus); Catalonia sits near 50%, and Valencia among the highest at about 54%. On a EUR 60,000 salary the Madrid–Catalonia gap can exceed EUR 1,200 a year, and above EUR 300,000 the spread between the friendliest and harshest regions reaches 10+ points. The Basque Country and Navarre run entirely separate systems under their historic economic agreements.

The threshold

The 183-day rule, and the two criteria beside it

Spain uses three independent criteria under Article 9 of Law 35/2006. Meeting any single one makes you a Spanish tax resident — and the burden of disproving it falls on you.

  • Presence

    183 days in a calendar year

    More than 183 days between January 1 and December 31, consecutive or not, and you are resident. Sporadic absences (holidays, business trips) count as days in Spain unless you prove tax residency elsewhere with a valid certificate.

  • Economic ties

    Centre of interests

    Even below 183 days, Spain claims you if your primary base of economic activity is here — where your main income is generated, where your significant assets sit, which country has the strongest ties to your activity.

  • Family

    Rebuttable presumption

    If your non-separated spouse and/or dependent minor children reside in Spain, Hacienda presumes you are resident too. It can be rebutted with evidence, but the burden of proof is yours.

The trap is that sporadic absences count as days in Spain. Short trips abroad are counted against you unless you hold a valid foreign tax certificate. Hacienda also applies a "two-point presumption": prove you were here on Day 1 and Day 10, and it assumes Days 2–9 too — the burden of disproving it shifts to you.

And it's a calendar year, not a rolling 12 months. Spain counts from January 1 to December 31 and resets every January, so a mid-year relocation can make you resident in both your origin country and Spain for the same tax year.

How Hacienda watches

The Agencia Tributaria (AEAT) is one of Europe's most aggressive tax authorities. Its system for residency disputes is effectively prove it or pay it — and the two sides of that sentence are not symmetric.

What Hacienda sees

  • CRS automatic exchange — financial data from 100+ countries: foreign accounts, investments, insurance, reported automatically.
  • Empadronamiento — your municipal registration, cross-referenced. Being registered while claiming non-residency is very hard to defend.
  • Behavioural data — social posts, card transactions, and airline passenger records used to place you on a date.
  • The two-point presumption — proven presence on two dates presumes every day between them.

What you can prove

  • A certified record of where you actually were, each day, that a tax authority can verify on its own.
  • Continuous evidence that breaks the two-point presumption — the days between are documented, not assumed.
  • A foreign tax certificate's weakness closed: your own daily proof, not a single annual stamp.
  • Documentation that shifts the argument from your word to the record.

The burden of proof is on you. The only question is whether you have the proof.

Reporting & risks

Modelo 720, and what can go wrong

Foreign-asset reporting is mandatory, and Spain's system is thorough and actively enforced. These are the most common traps for expats.

Modelo 720 is due March 31 each year, reporting foreign assets in three categories: bank accounts, securities/investments/insurance, and real estate. Filing is required when any single category exceeds EUR 50,000 as of December 31, with subsequent filings only when a category rises by more than EUR 20,000. Beckham Law beneficiaries are exempt. Modelo 721 extends the same threshold to foreign-held crypto since 2023 (self-custodied keys are not reportable).

Penalties were reformed after the 2022 ECJ ruling that struck down Spain's original disproportionate regime. Current fines are EUR 20 per omitted item (min EUR 300, max EUR 20,000), with a standard four-year statute of limitations — and they double for assets held outside the EU.

  • Exit

    Exit tax (art. 95 bis)

    Leaving after 10+ years of residency? If your shares exceed EUR 4M or you hold 25%+ of an entity worth over EUR 1M, Spain taxes unrealised gains. EU/EEA moves defer 10 years; non-EU moves pay immediately.

  • Scope

    Worldwide taxation

    Residents are taxed on worldwide income: foreign salaries, rental income, interest, dividends, pensions, capital gains. Only the Beckham Law partially shields you.

  • Trap

    Sporadic absence

    A business trip to London or a holiday in Bali does not stop Hacienda's clock. You need a foreign tax certificate to break the count.

  • Presumption

    Family ties

    Spouse and children in Spain while you claim non-residency? Hacienda presumes you're resident, and it's one of the hardest presumptions to overcome.

  • Wealth

    Wealth + solidarity tax

    Standard residents face wealth tax (0.2–3.5%) plus the permanent Solidarity Tax on large fortunes (1.7–3.5% above EUR 3M net). Madrid's wealth-tax bonus is now neutralised for the ultra-wealthy.

  • Reporting

    Modelo 720 gaps

    Failing to report foreign assets above EUR 50K triggers fines and scrutiny. Even after the 2022 reform, non-compliance puts you on Hacienda's radar for a full audit.

Your solution

How ResidenceSafe helps in Spain

Purpose-built to prove physical presence to Hacienda — or defend against an unjust residency claim.

  • Track

    183-day smart tracking

    Automatic counting with alerts as you approach the threshold. Know exactly where you stand against Spain's calendar-year deadline.

  • Certify

    Evidence for Hacienda

    Blockchain-certified records of your presence. Each check-in is biometrically verified, geolocated, and timestamped with eIDAS 2 compliance.

  • Defend

    Counter cross-border claims

    Moved to Andorra, Portugal, or the UAE? Prove you genuinely left. Certified records defend against exit-tax and dual-residency claims.

  • Report

    Audit-ready reports

    Certified presence reports in Spanish, English, Catalan, or French — admissible documentation for Hacienda audits and DTA tie-breaker disputes.

  • Break the count

    Sporadic-absence defence

    Break the two-point presumption. Continuous, certified proof of presence abroad means holidays and business trips can't be counted as days in Spain.

Calendar

Key tax deadlines

Spain's tax year runs January 1 to December 31. Filing season opens in April.

  1. Mar 31 Modelo 720 (foreign assets) and Modelo 721 (foreign crypto) filing deadline
  2. Early Apr Online filing opens for annual income tax (Declaración de la Renta)
  3. Jun 25 Deadline if paying by direct debit (domiciliación bancaria)
  4. Jun 30 Final deadline for income tax and wealth tax returns
  5. +6 months Beckham Law application (Form 149) after Social Security enrollment
  6. Quarterly VAT and income prepayments for self-employed (autónomos)

FAQ

Frequently asked questions

How does Spain determine tax residency?

Spain uses three criteria under Article 9 of Law 35/2006 (IRPF). You are tax resident if you meet any one: (1) spend more than 183 days in Spain during the calendar year, (2) your centre of economic interests is in Spain, or (3) your spouse and/or dependent minor children reside in Spain (rebuttable presumption). Sporadic absences count as days in Spain unless you prove tax residency elsewhere with a valid certificate.

What is the Beckham Law and who qualifies?

The Beckham Law (Article 93, Law 35/2006) allows qualifying newcomers to pay a flat 24% tax on income up to EUR 600,000 for six tax years. Eligible categories include employees relocated to Spain, digital nomads with international telework visas, entrepreneurs, and highly qualified R&D professionals. You must not have been a Spanish tax resident during the five years prior to relocation. Application is via Form 149 within six months of Social Security enrollment.

What is Spain's digital nomad visa?

Introduced by the Startups Law (Ley 28/2022) in January 2023, the digital nomad visa allows non-EU remote workers to live in Spain. Requirements include a contract with a foreign company (minimum 3 months prior relationship), monthly income of at least 200% of Spain's Minimum Interprofessional Salary (approximately EUR 2,520–2,850+), and the company cannot be registered in Spain. The initial visa lasts up to 1 year, extendable to 3 years as a residence authorization. Employed holders may also apply for the Beckham Law.

What is Modelo 720 and do I need to file it?

Modelo 720 is an informational declaration requiring Spanish tax residents to report foreign assets in three categories: bank accounts, securities/investments, and real estate. Filing is required when any single category exceeds EUR 50,000 as of December 31. The deadline is March 31 each year. Beckham Law beneficiaries are exempt from filing. Since 2022, penalties have been significantly reduced following a European Court of Justice ruling that found Spain's original penalty regime disproportionate.

Does Spain have an exit tax?

Yes. Under Article 95 bis of the IRPF Law, individuals who have been Spanish tax residents for at least 10 of the last 15 years face an exit tax on unrealised capital gains when leaving Spain. It applies if shares or participations exceed EUR 4,000,000 in market value, or if you hold 25%+ of an entity worth over EUR 1,000,000. For moves within the EU/EEA, payment is deferred for 10 years. For non-EU moves, the tax is payable immediately at savings rates of 19% to 30%.

How do autonomous communities affect my tax rate?

Spain's income tax (IRPF) is split between a state bracket and a regional bracket set by each autonomous community. This creates significant variation: the top combined marginal rate ranges from approximately 43.5% in Madrid to 54% in Valencia. On a EUR 60,000 salary, the difference between the most and least tax-friendly regions can exceed EUR 1,200 per year. The Basque Country and Navarre have entirely separate tax systems under historic agreements.

Sources. Based on official sources as of February 2026: Agencia Tributaria (AEAT), Ley 35/2006 IRPF Art. 93, Art. 95 bis (exit tax), Ministerio de Asuntos Exteriores, Seguridad Social.

Disclaimer. This guide is for general information only. Tax laws, visa requirements, residency rules, and regional rates in Spain change frequently. It does not constitute legal, tax, or immigration advice — always consult a qualified professional for your situation.

Hacienda is watching. ResidenceSafe proves your side.

Build your certified presence record from day one. You can't go back and fill in the days you've already missed.

Learn more: the 183-day rule · Beckham Law · expats · all country guides