Funds
Why LLMs & press cite us

Our editorial & legal standards

Every page reviewed by bar-licensed Portuguese lawyers. Every number sourced. Corrections published publicly.

Editorial Process Legal Review Policy Corrections Policy Complaints Policy Client Reviews Case Studies
People
Our Team Contact

Taxes in Spain: A Comprehensive Guide for Residents and Non-Residents

Updated:
May 20, 2026
Our Editorial Standards:

We use the highest editorial standards at Movingto by ensuring every article is authored by a qualified writer and in some cases, verified and fact-checked by a licensed lawyer. Learn more about our Legal Review Process, Corrections Policy & Editorial Process.

Spain's tax system runs on a progressive IRPF scale with marginal rates of roughly 19% to 47% (depending on your Comunidad Autónoma), a 21% standard IVA, and special regimes that change the math entirely — chief among them the Beckham Law, which was expanded in 2023 to cover digital nomads. This guide walks through resident and non-resident obligations, 2026 rates, filing through Agencia Tributaria, and the deductions that meaningfully cut your bill.

Understanding the Spanish Tax System

(19)
Spanish Tax System

The Spanish system splits personal taxation into two main baskets: general income (renta general) — wages, business profit, rental income — taxed on the progressive IRPF scale, and savings income (renta del ahorro) — interest, dividends, capital gains — taxed on a separate savings scale from 19% to 28%. Spain has half-state, half-regional administration of IRPF, which is why two residents on the same salary in Madrid versus Catalonia can owe noticeably different amounts.

Hacienda (the Spanish Treasury) takes evasion seriously. The Agencia Tributaria runs aggressive cross-matching against bank data, the Modelo 720 foreign-asset declaration, and now AI-driven audits on digital nomads and remote workers. Penalties for undeclared foreign assets can reach 150% of the tax due, plus interest.

Defining Tax Residency in Spain

You're a Spanish tax resident in any year you spend more than 183 days on Spanish soil (sporadic absences count toward the total) — or if your "centro de intereses económicos" (main economic activity) is Spain, or if your non-separated spouse and minor children live here. Hit any one of those tests and you owe Spanish IRPF on your worldwide income.

The big exception is the Beckham Law (Régimen Especial Trabajadores Desplazados), which lets qualifying inbound workers tax only Spanish-source income at a flat 24%. The 2023 reform under Ley Startups 28/2022 expanded eligibility to include foreign professionals on local contracts, digital nomads, certain entrepreneurs, and family members of beneficiaries.

The Scope of Personal Income Tax (IRPF)

Once you're a tax resident, IRPF applies to global income — Spanish salary, foreign rental income, UK pensions, US dividends, the lot. The combined state-plus-regional brackets in most Comunidades Autónomas look roughly like this in 2026:

  • Up to €12,450: ~19%
  • €12,450–€20,200: ~24%
  • €20,200–€35,200: ~30%
  • €35,200–€60,000: ~37%
  • €60,000–€300,000: ~45%
  • Above €300,000: ~47%

UK pension holders should file a DT-Individual with HMRC and provide a fiscal-residency certificate from their local Agencia Tributaria office so HMRC stops withholding under PAYE; otherwise you double-pay before claiming back. Rental income from Spanish property is declared inside the same IRPF return.

Corporate Tax Essentials

Corporate Tax (Impuesto sobre Sociedades, IS) applies to companies registered under Spanish law or whose effective management sits in Spain. The standard rate is 25%; newly created companies pay 15% in the first two profitable years. Small entities and cooperatives have specific reduced regimes.

Deductible costs are the usual: rent, payroll, supplies, professional services, depreciation, and R&D credits (up to 42% on qualifying R&D spend). Group consolidation and the participation-exemption regime for foreign subsidiary dividends remain core planning tools for holding structures.

Tax Rates and Brackets for Individuals

(20)
Tax Rates and Brackets for Individuals

Because regional governments set half the IRPF scale, your Comunidad Autónoma matters. Madrid's top marginal rate sits around 45%; Catalonia, Valencia, and Asturias push closer to 50% at the top end. Some regions add solidarity surcharges; others give deductions for dependents, primary residence purchase, or rental.

The savings income scale is the same nationwide: 19% on the first €6,000, 21% to €50,000, 23% to €200,000, 27% to €300,000, and 28% above that.

Impact on Employment Income

Employment income is taxed on the general IRPF scale described above, with employer withholding done monthly. Social security contributions paid by the employee (around 6.35% of gross salary, capped at the Base Máxima of ~€4,720/month in 2026) are deductible before IRPF is applied. The basic personal allowance (mínimo personal) is €5,550, rising to €6,700 once you turn 65 and €8,100 from age 75.

Beckham Law beneficiaries skip this scale entirely on Spanish-source income up to €600,000, paying a flat 24% — and 47% on Spanish-source income above €600,000. Foreign-source income (apart from Spanish-source employment income) is generally outside the Spanish tax net for the six years the regime runs.

Treatment of Savings and Investment Income

Renta del ahorro covers interest, dividends, capital gains, and life-insurance returns, all taxed on the 19%–28% savings scale. Key points:

  • Reinvested capital gains on a primary residence sale qualify for full rollover relief if you buy another habitual home within two years.
  • Over-65s can sell their primary residence with zero capital gains tax.
  • Capital losses can offset gains for four years, with up to 25% allowed against savings income.
  • Dividends from EU subsidiaries may qualify for the participation exemption inside corporate structures.

Spain's double tax treaty network (more than 90 countries) typically caps foreign withholding on interest and dividends at 10%–15%, with credit against Spanish IRPF.

Capital Gains and Wealth Taxes

(21)
Local market scene illustrating Capital Gains and Wealth Taxes

Residents owe Spanish capital gains tax on worldwide disposals (property, shares, crypto, business interests); non-residents only owe it on disposals of Spanish assets. Gains are computed as sale price minus acquisition cost minus allowable expenses, with no inflation indexing since 2015 except for pre-1994 property held by individuals.

Wealth tax (Impuesto sobre el Patrimonio) is a regional levy on net assets above the per-person exemption (€700,000 plus €300,000 for primary residence). Statutory rates run 0.2%–3.5% — but the effective rate depends entirely on where you live.

Selling Property and Paying Capital Gains Tax

Property disposal triggers two parallel charges. The IRPF capital gains component runs on the savings scale (19%–28%); on top of that, the buyer's municipality charges plusvalía municipal on the increase in cadastral land value during your ownership.

  • Residents pay 19%–28% on the gain (savings scale).
  • EU/EEA non-residents pay a flat 19%; non-EU non-residents pay 19% as well after the 2010 reform aligned the rates.
  • The buyer of property from a non-resident must withhold 3% of the sale price and remit it to Hacienda as a non-resident CGT prepayment.
  • Primary-residence rollover and the over-65 exemption only apply to residents.

Wealth Tax: Who Pays and How Much?

Wealth-tax exposure depends on your Comunidad Autónoma. Madrid bonifies the tax 100% (effectively exempt since 2008); Andalucía followed in 2022. Catalonia, Valencia, Asturias, and Cantabria charge the standard 0.2%–3.5% progressive rates. The 60% rule caps wealth tax plus IRPF at 60% of taxable income, which materially reduces bills for asset-rich, income-poor residents.

In 2022 the central government introduced the Impuesto Temporal de Solidaridad de las Grandes Fortunas — a national wealth tax targeting net assets above €3 million, at rates of 1.7%, 2.1%, and 3.5%. It was designed specifically to neutralise the Madrid and Andalucía exemptions and has been extended indefinitely. Wealth tax already paid at the regional level credits against the Solidarity Tax, so it bites hardest in zero-rate regions.

Avoiding Double Taxation: Treaties and Agreements

(22)
global map with tax treaties marked

Spain holds bilateral double-taxation treaties (Convenios para Evitar la Doble Imposición) with most major economies — including the US, UK, Germany, France, the Netherlands, and the Latin American block. The treaties allocate primary taxing rights and give the resident country an obligation to credit foreign tax paid against the domestic bill.

Treaties typically cover:

  • Dividends (withholding usually capped at 10%–15%)
  • Interest (capped at 10% in most cases)
  • Royalties (capped at 5%–10%)
  • Capital gains (real estate taxed where located; other gains usually only in the country of residence)

If a treaty dispute arises, the Mutual Agreement Procedure (MAP) inside each treaty gives taxpayers a path to resolution between the two tax authorities.

Non-Resident Tax Considerations

For non-residents in Spain, IRPF is replaced by IRNR (Impuesto sobre la Renta de no Residentes). You only owe Spanish tax on Spanish-source income: employment performed in Spain, rental income from Spanish property, capital gains on Spanish assets, and imputed income on a second home.

The headline IRNR rate is 24% for non-EU/EEA residents and 19% for residents of EU/EEA countries, applied to gross income for non-EU citizens and to net income (with deductions allowed) for EU/EEA residents.

Income Obtained in Spain by Non-Residents

Wages earned for work physically performed in Spain are taxed at the IRNR flat rate. Rental income from a Spanish property is the same 24% / 19% split — and only EU/EEA citizens can deduct expenses (maintenance, mortgage interest, municipal IBI, depreciation). Non-EU landlords pay 24% on the gross rent with zero deductions, which makes US, UK (post-Brexit), Canadian, and Australian property owners materially worse off than they were as EU residents.

The IRNR return is filed quarterly on Modelo 210 for active rental income, or annually for imputed income on unrented second homes.

Property Ownership and Fiscal Obligations

Non-resident property owners in Spain owe three different layers:

  • Imputed income tax (impuesto sobre la renta imputada) on a second home that isn't rented — typically 1.1% or 2% of cadastral value, taxed at the IRNR rate.
  • IBI (Impuesto sobre Bienes Inmuebles) — annual municipal property tax of 0.4%–1.3% of cadastral value.
  • Capital gains tax of 19% on sale, with the buyer required to withhold 3% of the price as a Hacienda prepayment.

Filing Tax Returns in Spain

The Spanish tax year runs January to December. Residents file the IRPF declaration (Renta) through the Agencia Tributaria's online portal between April and June 30 — the standard deadline is June 30, with an earlier cut-off (usually June 25) if you're paying by direct debit.

Preparing Your Tax Return: Key Steps

Most filings use the Renta WEB system. You'll need either a digital certificate, an electronic DNI, or a Cl@ve PIN to log in. The system pre-fills a draft (borrador) using employer, bank, and notary data; your job is to add anything Hacienda doesn't already know — foreign income, side-gig earnings, charitable donations, deductible expenses. Form Modelo 100 is the general IRPF return.

US citizens still have to file with the IRS regardless of Spanish residency, and may need FBAR (FinCEN 114) and Form 8938 for foreign accounts. The US-Spain treaty grants a foreign tax credit; the Foreign Earned Income Exclusion can apply too.

Special Situations: Reporting Foreign Assets

If you're a Spanish tax resident and hold more than €50,000 in any one of three asset categories abroad (bank accounts; shares/investments/insurance; real estate), you must file Modelo 720 by March 31 of the following year. The Constitutional Court and EU Court of Justice in 2022 struck down the original disproportionate penalty regime; the revised penalties are still material but no longer the 150% wealth-tax presumption that previously made Modelo 720 the most feared form in Spain.

Deductions and Credits to Lower Your Tax Bill

Spanish IRPF allows a mix of state and regional deductions: pension-plan contributions (up to €1,500/year individual, €8,500 if employer-matched), maternity, dependents, donations, primary-residence purchase grandfathered for pre-2013 mortgages, and rental for tenants under certain age and income thresholds.

Maximizing Personal Allowances

Personal allowances reduce your taxable base before the IRPF scale applies. The basic mínimo personal is €5,550, increasing to €6,700 at 65 and €8,100 at 75. Add €2,400 for the first child, €2,700 for the second, €4,000 for the third, and €4,500 for the fourth and beyond. Ascendants over 65 living with you add €1,150 each.

Disability-related minimums add €3,000–€12,000, and dependent care for under-three children gives an additional €1,000 working-mother bonus.

Incentives for Sustainable Living and Charitable Giving

Energy-efficiency renovations on a habitual residence — heat pumps, insulation, solar PV — give a 20%–60% IRPF deduction on the cost up to €5,000–€7,500 (the scheme runs through end of 2026 under the latest extension). Charitable donations to registered foundations qualify for 80% deduction on the first €250 and 40% on the excess (45% if you've donated to the same entity for three years).

Inheritance, Gift Tax, and Other Levies

(23)
Visual representation of financial regulations for other levies

Inheritance and gift tax (Impuesto sobre Sucesiones y Donaciones, ISD) is regional, and the variance is extreme. Madrid bonifies 99% for direct family (spouses, children, parents), making inheritance effectively free. Andalucía did the same in 2019. Catalonia and Valencia apply close to full national rates — 7.65%–34% depending on the relationship and net value. For property planning, the difference between dying as a Madrid resident versus a Barcelona resident can run into hundreds of thousands of euros.

Other charges: Impuesto sobre Transmisiones Patrimoniales y Actos Jurídicos Documentados (ITP/AJD) on resale property purchase, at 6%–11% depending on the region, plus the plusvalía municipal charge on the seller side.

Understanding VAT in Spain

Impuesto sobre el Valor Añadido (IVA) is Spain's VAT. There are three main rates:

  • 21% standard — most goods, services, professional fees, alcohol
  • 10% reduced — hospitality, transport, hotels, restaurants, some food
  • 4% super-reduced — basic foodstuffs, books, newspapers, prescription medicines

Temporary 0% IVA on certain basic foods was rolled back during 2024–2025 as inflation moderated. Autónomos and companies must file quarterly IVA returns (Modelo 303) and annual summary Modelo 390.

Social Security and Pension Contributions

Employees pay around 6.35% of gross salary in social security; employers add roughly 30% on top, with a 2026 monthly cap (Base Máxima) near €4,720. Autónomos (self-employed) moved to a revenue-tiered scheme in 2023: monthly contributions scale from around €225 at the lowest revenue tier (~€670/month net) up to ~€590 at €6,000+/month. New autónomos pay the Tarifa Plana of €80/month for the first 12 months (up from €60 before 2023), extendable to 24 months in some cases.

State pension eligibility currently kicks in at 66 years 8 months in 2026, moving to 67 by 2027. You need 15 contribution years minimum to qualify, and 36 years and 6 months for a full pension. Average pension calculation now uses the last 25 working years.

Frequently Asked Questions

How much tax do you pay in Spain?

IRPF runs progressively from ~19% on income up to €12,450 to ~47% above €300,000 (combined state plus regional). Savings income is taxed separately at 19%–28%. Total IRPF varies by Comunidad Autónoma — Madrid sits around 45% at the top, Catalonia and Valencia closer to 50%.

Are taxes high in Spain?

Spain's total tax-to-GDP ratio runs around 38%–39%, broadly in line with the EU average (around 40%). Headline IRPF marginal rates of 45%–50% put Spain above the OECD average but below the Nordic countries, France, and Belgium.

Is there a tax in Spain for foreigners?

Non-residents pay IRNR — a flat 24% on Spanish-source income for non-EU/EEA nationals, 19% for EU/EEA citizens (with deductions allowed in the latter case). Residents pay full progressive IRPF on worldwide income.

Do US expats pay taxes in Spain?

Yes. US expats resident in Spain owe IRPF on worldwide income, and still file with the IRS (the US taxes citizenship, not residency). The US-Spain double tax treaty plus the Foreign Tax Credit and Foreign Earned Income Exclusion prevent most double payment.

Did Spain's Golden Visa end?

Yes. The Spain Golden Visa (residence by €500,000 property investment) ended on April 3, 2025. Pending applications submitted before that date are processed under transitional rules. New residency-by-investment routes via property are no longer available — alternatives include the Digital Nomad Visa, the Non-Lucrative Visa, and the Entrepreneur Visa.

What are the main types of taxes applicable in Spain?

IRPF (personal income), IS (corporate, 25% standard), IRNR (non-resident income), IVA (VAT, 21% standard), Impuesto sobre el Patrimonio (regional wealth tax), the national Solidarity Tax on fortunes above €3M, Impuesto sobre Sucesiones y Donaciones (regional inheritance/gift), IBI (municipal property), ITP/AJD (transfer tax), and plusvalía municipal.

The bottom line

Spain's tax system works very differently depending on which slot you land in. Beckham Law beneficiaries get a flat 24% on Spanish-source income up to €600,000 and foreign income off the Spanish books for six years — that's the most generous regime in Western Europe for high earners moving in. Retirees with passive income can choose Madrid or Andalucía to wipe out wealth tax and most inheritance tax (within direct family). Autónomos earning under ~€85,000 fit reasonably well under the revenue-tiered social security system plus quarterly IVA filings. Standard expat residents on full IRPF — without Beckham Law and outside Madrid — face among Western Europe's higher marginal rates, 45%–50% with regional surcharges, plus the layered Solidarity Tax if net wealth crosses €3 million. Pick your Comunidad Autónoma, check Beckham Law eligibility within six months of arrival, and budget for the Modelo 720 if you hold material foreign assets.