← Back to blog

Taxes in Spain for Expats: How the System Works (2026)

Desk with tax documents, calculator, and money in warm daylight

Taxes in Spain for expats start with one question: are you a Spanish tax resident? That answer comes before tax brackets or form numbers. This guide explains residency, what gets taxed, and common admin traps. It is not personal tax advice; use a certified gestor or cross-border accountant when money is on the line.

Quick answer: You are generally a Spanish tax resident if you spend more than 183 days in Spain in a calendar year, if Spain is the center of your economic interests, or if your spouse and dependent children habitually live here (any one test can be enough). Spain generally taxes residents on worldwide income for the entire tax year under IRPF (Spanish personal income tax), unless a tax treaty produces a different result. Non-residents pay mainly on Spanish-source income. Official residency rules: Agencia Tributaria (habitual residence).

Taxes in Spain for expats: who is tax resident

Spanish tax law uses several tests. The Agencia Tributaria (Hacienda) looks at facts, not your visa sticker.

  • 183-day test: More than 183 days in Spain in the calendar year. Sporadic absences usually still count unless you prove tax residence elsewhere.
  • Economic center: Your main job, business, or investments are rooted in Spain.
  • Family tie presumption: A non-separated spouse and dependent children habitually in Spain can presume residency.

Under Spanish domestic law, residents pay progressive IRPF on worldwide income, including US salary, foreign rent, and investments. If both Spain and another country treat you as resident in the same year, the applicable double tax treaty may decide which country has primary taxing rights. FEIE or Foreign Tax Credits may apply on your US return. See the Agencia Tributaria US income guide.

Mid-year moves and Spain’s tax year

Spain generally does not have a statutory split-year regime. In most cases you are either resident or non-resident for the tax year, although treaties and DGT rulings can change outcomes when two countries both claim you. Arrive in July and cross 183 days by December, and domestic law may treat you as resident for all of 2025, including spring US salary on Modelo 100. Do not assume pre-move income stays outside Spain without advice.

Your visa is not your tax status

A temporary digital nomad or non-lucrative sticker does not block tax residency. The 183-day rule is a trigger, not a shield. See Spain visa options for Americans (2026) and the moving to Spain hub.

Planning a move to Spain?

Relocora gives you a personalised checklist for your move, visa, housing, banking, and healthcare in the right order. Free during beta, includes 3 months of premium.

Get free beta access

Worldwide income and IRPF rates for residents

Residents file Modelo 100 on global income. Rates vary by comunidad autónoma. Illustrative 2026 bands:

Taxable income (approx., per taxpayer unit)Combined rate band (illustrative)
Up to about €12,45019%
€12,450 to €20,20024%
€20,200 to €35,20030%
€35,200 to €60,00037%
€60,000 to €300,00045%
Above €300,00047%

Confirm bands with your adviser before you budget. Compare take-home pay with our cost of living: Spain vs USA guide.

Beckham Law and special expat regimes

Once you know standard IRPF applies, taxes in Spain for expats may still improve under special regimes. The Beckham Law lets qualifying newcomers pay a flat 24% on Spanish-sourced employment income up to €600,000 for up to six years. Foreign investment income is generally outside Spanish tax scope under this regime (taxpayers follow non-resident income tax rules, with exceptions), not simply waived. Whether it helps depends on income, deductions, region, family status, social security, and other taxes.

Before Startup Law reforms, many traditional freelancers did not qualify. Some paths may now, including entrepreneurs, innovative businesses, qualified professionals, and some digital nomad setups. Apply with Modelo 149 within six months of Social Security registration or lose the flat rate.

US remote workers: payroll, autónomo, and Beckham eligibility

One possible outcome: Michael moved to Valencia on a digital nomad visa with a Chicago W-2. His employer refused Spanish Social Security registration, so he registered as an autónomo, and lost Beckham eligibility under Article 93. He paid progressive IRPF up to about 47% plus monthly cuotas out of pocket.

Other structures exist: Spanish payroll, an Employer of Record, or a digital nomad setup that keeps employee status. If those fail, autónomo registration may be needed with a business bank account and digital certificate, often after TIE or NIE arrival. See the NIE guide and banking guide. Autónomos also file quarterly IVA and retenciones.

Seguridad Social contributions vs IRPF income tax

Seguridad Social contributions are mandatory social insurance funding pensions, healthcare, unemployment, and related benefits. IRPF is income tax on earnings. Paying one does not fulfill the other. Autónomo remote workers often pay both unless a Spanish employer withholds.

Key Spanish tax forms and filing deadlines

Residents usually file Modelo 100 online April through June. Sarah, on a digital nomad visa, filed Modelo 100 and Modelo 720 (foreign assets over €50,000 per category) for 2025 in spring 2026. Modelo 721 may apply to certain foreign crypto holdings. Modelo 149 elects Beckham Law. See renting in Spain (2026) for empadronamiento steps.

Wealth Tax and the Temporary Solidarity Tax

High-net-worth residents may owe Impuesto sobre el Patrimonio (Wealth Tax) or the Temporary Solidarity Tax on Large Fortunes, depending on assets and region. Ask an adviser if you hold a large portfolio.

US tax filing while living in Spain

US citizens and green card holders still file Form 1040 on worldwide income, often using FEIE, Form 1116 credits, or treaty relief. FBAR may apply if foreign balances cross US thresholds.

Common mistakes expats make

  • Assuming a temporary visa blocks tax residency.
  • Ignoring family or economic-center tests.
  • Expecting a US-style or UK-style statutory split year after a mid-year move.
  • Believing digital nomad approval equals Beckham rates.
  • Paying Social Security but skipping IRPF filing.
  • Missing the six-month Modelo 149 window.

FAQ

Does my Spain visa type decide if I am a tax resident?

No. Hacienda looks at days, economic interests, and family ties, not visa labels alone.

Can I split my tax year if I move to Spain in July?

Under Spanish domestic law, Spain generally treats you as resident or non-resident for the whole tax year. A mid-year move can still pull earlier-year global income into Spanish IRPF once you become resident, though a tax treaty may change the outcome in dual-residency cases.

What is the 183-day rule for taxes in Spain for expats?

Spending more than 183 days in Spain in a calendar year can make you tax resident, but you may become resident earlier if your family lives here or your economic center is in Spain.

What is the Beckham Law and who should use it?

A special regime with a flat 24% rate on qualifying Spanish employment income up to €600,000 for up to six years, with a strict Modelo 149 deadline. It can suit some employees and, post-reform, certain entrepreneurs and professionals. Many traditional freelancers still do not qualify.

What is the difference between Seguridad Social and IRPF?

Seguridad Social is mandatory social insurance (pensions, healthcare financing, and related benefits). IRPF is annual income tax. You may owe both.

How Relocora helps with relocation admin (not tax filing)

Relocora does not file taxes. It tracks days toward 183, flags the Beckham window, and stores NIE and empadronamiento paperwork. Use the Spain checklist, Document Vault, or AI Coach for admin order (not tax advice).

Related guides