Spain tax treaties: who taxes your income and how to avoid paying twice

Spain has about 100 tax treaties in 2026. They decide who taxes your salary, dividends and gains, cap withholding at 0–15%, and stop you paying tax twice.
Spain tax treaties: who taxes your income and how to avoid paying twice

Quick answer

Spain has around 100 double tax treaties in force in 2026. They decide which country taxes your salary, freelance income, dividends and gains when you live or earn across borders. Most cap withholding on dividends at 10–15%, interest at 0–10% and royalties at 0–10%. Spain removes remaining double tax with a foreign tax credit.

Last reviewed: November 2026 · Reviewed by Stéphane Gombauld, tax expert, technologist and digital nomad

Heavnn

Stay tax compliant, wherever you work

Answer a few questions and get a clear plan for your own situation.

Check my tax setup →

You live in Spain and earn abroad, or you live abroad and earn from Spain. Either way, two tax authorities can claim the same euro. This guide shows how Spain's treaties split those rights, which forms make them work, and where people get it wrong.

Spain international tax treaties in 2026: the key figures

Item Rule for 2026
Double tax treaties in force About 100
Model followed OECD Model Tax Convention, updated by the Multilateral Instrument (MLI) since 2022
Domestic residence test More than 183 days a year, centre of economic interests, or family presumption
Non-resident tax rate (no treaty) 24% general; 19% for EU/EEA residents and on dividends, interest and gains
Typical treaty caps Dividends 0–15%; interest 0–10%; royalties 0–10%
Relief method for residents Credit for foreign tax, capped at Spanish tax on that income
Exemption for work done abroad Up to EUR 60,100 a year of salary (Article 7.p Personal Income Tax Law)
Proof needed Certificate of tax residence, generally valid one year

Is this guide for you?

Read on if you…

  • live in Spain and get paid by foreign clients, employers or companies;
  • live abroad and receive Spanish dividends, rent, pensions or salary;
  • spend part of the year in Spain and are unsure which country can tax you.

Probably not your case if you…

What does a Spanish tax treaty actually do?

A treaty does not create taxes. It limits them. Each country first applies its own law. Then the treaty decides who keeps the right to tax each type of income, and how much the "source" country may withhold.

Spain's treaties follow the OECD model, so the article numbers match across most of them. Spain also ratified the Multilateral Instrument (MLI). That added an anti-abuse test – the principal purpose test, which denies benefits to arrangements mainly set up to get them – to most treaties from 2022.

Good news: Spain has treaties with nearly every country a remote worker is likely to come from, including the US (with a 2013 protocol in force since 2019), the UK, Germany, France, Portugal, Italy, Mexico, Argentina and the UAE.

Who wins if both countries say you are resident?

Spain treats you as resident under the tax residency criteria in Spain: more than 183 days, your main economic interests, or your spouse and minor children living there. Another country may claim you too. Then the treaty tie-breaker applies, in this order:

  1. Permanent home – where you have a home available to you all year, owned or rented.
  2. Centre of vital interests – basically where your life is: partner, kids, main business, bank accounts, clubs.
  3. Habitual abode – where you actually spend more time.
  4. Nationality.
  5. Mutual agreement between the two tax authorities.

Here's the catch: Spain counts "sporadic absences" as days in Spain. A long trip does not reset your count unless you prove residence elsewhere with a certificate. Spanish nationals who move to a listed tax haven stay Spanish-resident for that year and the next four.

How are the main types of income split?

Income Who taxes it under most Spanish treaties
Salary The country where you physically work; the home state only if you stay under 183 days in 12 months, are paid by a home employer and no local PE bears the cost
Freelance and business profit Your residence country, unless you have a fixed base or permanent establishment in the other one
Directors' fees The country where the paying company is resident
Dividends Residence country; source country may withhold, usually 10–15% (0–5% for companies with a significant holding)
Interest Residence country; source withholding often 0–10%, 0% within the EU
Royalties Residence country; source withholding often 0–10%
Real estate income and gains Always also the country where the property sits
Gains on shares Residence country, except shares in property-rich companies
Private pensions Usually the residence country; government pensions the paying state

Spanish rules then apply on top. As a non-resident, Spanish-source income goes through non-resident income tax at 24%, or 19% for EU/EEA residents and for savings income. You file Modelo 210, often quarterly.

How does Spain avoid double taxation?

If you are Spanish-resident, you declare your worldwide income. For income the treaty lets the other country tax, Spain gives a credit under Article 80 of the Personal Income Tax Law. The credit is the lower of the foreign tax paid and the Spanish tax on that same income.

  1. Collect proof of foreign tax withheld or paid, ideally a certificate from the payer or foreign authority.
  2. Claim only the treaty rate. If a foreign country withheld 30% on dividends but the treaty caps it at 15%, Spain credits 15%. Reclaim the rest abroad.
  3. Report foreign assets. If your foreign accounts, securities or property each exceed EUR 50,000 by category, file Modelo 720 by 31 March; crypto held abroad goes on Modelo 721. The penalty regime was softened after the 2022 EU court ruling, but late filing still costs.
  4. Use the work-abroad exemption. Employees working physically abroad for a non-Spanish entity can exempt up to EUR 60,100 of that salary, if the other country has a similar tax.

For dividends and gains, see taxation of capital gains in Spain. Leaving Spain with large shareholdings? The exit-tax rules are in the practical guide to ceasing your tax residency in Spain.

What about social security and the Beckham regime?

Treaties cover income tax only. Social security follows separate rules: EU Regulation 883/2004 inside the EU/EEA and Switzerland, the UK–EU protocol, and bilateral agreements with countries such as the US, Canada and most of Latin America. They decide which single system you pay into.

Newcomers under the special regime for inbound workers – known as the Beckham law – pay 24% on Spanish employment income up to EUR 600,000. They remain Spanish residents, but some partner countries limit their treaty benefits. The tax breaks for expats and digital nomads in Spain guide covers who qualifies.

Example – Tom, software contractor, Valencia

Tom, a British citizen, moved to Valencia in March 2026 and spends 250 days there. He still owns a rented flat in Manchester and invoices a UK client EUR 90,000. Spain is his residence under both domestic law and the tie-breaker, since his home, partner and daily life are in Valencia. His freelance income is taxed only in Spain. The UK keeps the right to tax his Manchester rent; Spain taxes it too but credits the UK tax, so he pays the higher of the two rates, not both.

Tom's case turns on where his life really is. Yours might be less clear-cut.

We map your income, days and ties against the right Spanish treaty.

Check my tax setup →

Common mistakes (and what they cost)

  • Assuming 183 days abroad ends Spanish residence → your spouse and kids in Spain or your main business there keep you resident, with worldwide income taxed up to 47% or more.
  • Not giving foreign payers a residence certificate → full domestic withholding abroad, often 25–35%, and a slow refund claim.
  • Claiming a credit for tax above the treaty rate → the Tax Agency disallows the excess and adds interest.
  • Skipping Modelo 720 → penalties for late or missing returns and closer scrutiny of your foreign assets.
  • Using a treaty through a shell company → the principal purpose test denies the reduced rate and can trigger tax fraud procedures; see tax fraud regulations in Spain.

Frequently asked questions

How many tax treaties does Spain have?

Spain has comprehensive double tax treaties in force with roughly 100 countries in 2026. They cover every EU state, the UK, the US, Switzerland, most of Latin America and several Gulf states, including the UAE. The Ministry of Finance publishes the full, current list with the text of each treaty and its protocols.

Does the 183-day rule apply in Spain?

Yes, but it is a domestic rule, not a treaty one. You are Spanish tax-resident if you spend more than 183 days in Spain in a calendar year, if your main business or economic interests are there, or, by presumption, if your spouse and minor children live there. Sporadic absences count as days in Spain unless you prove tax residence elsewhere with a certificate.

What happens if I am tax-resident in Spain and another country?

If both countries claim you under their domestic rules, the treaty's tie-breaker decides. You look in order at where you have a permanent home, your centre of vital interests, your habitual abode and your nationality. If none settles it, the two tax authorities agree by mutual agreement. You then hold one treaty residence, and the other country can only tax its domestic-source income.

How does Spain avoid double taxation on foreign income?

Mostly by a credit. When you are Spanish-resident and the treaty lets the other country tax income, Spain taxes it too but deducts the foreign tax, up to the Spanish tax due on that income. A few treaties use exemption with progression for some income. Employees sent abroad can also exempt up to EUR 60,100 a year of salary for work physically done abroad.

Do I need a certificate of tax residence?

Yes, whenever you want a foreign payer to apply a reduced treaty rate, or Spain to apply one to income you receive as a non-resident. Spanish residents download it from the Tax Agency's electronic office. Non-residents get theirs from their home tax authority. Certificates are generally valid for one year, so request a fresh one before each new payment cycle.

Can a Beckham-regime taxpayer use Spanish tax treaties?

Usually yes, because the special regime keeps you a Spanish tax resident, and the Tax Agency issues residence certificates mentioning the regime. Some partner countries refuse treaty benefits because you are taxed in Spain mainly on Spanish-source income. Check the partner country's position before relying on a reduced withholding rate.

Sources

This guide is general information, not personalised tax advice. See how we research and review.

Find out which country really taxes your income

Tell us where you live, work and earn, and we will apply the right Spanish treaty to your setup.

Start with Heavnn →
About the author
Heavnn

Heavnn

Heavnn is a borderless tax technology solution supporting the future of work. We assist international remote workers with the design and implementation of their global tax setups.

Welcome to Heavnn University!

Access all of our learning resources, blogs, and articles for digital nomads, remote workers, and distributed teams right here on Heavnn University. For more tailored advice, take our digital interview below!

Design Your Global Remote Setup
Heavnn University

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to Heavnn University.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.