How to Avoid Double Taxation in Spain: Treaties, Foreign Tax Credits and the 7 Mistakes That Cost Expats Money

Paying tax twice on the same income? This guide shows how Spain's network of around 90 double tax treaties and the Article 80 foreign tax credit actually work to relieve double taxation, when the exemption applies instead, and the 7 costly mistakes expats make on pensions, dividends and property. Fix your return before you file.

By Jacob Salama, international tax lawyer (Bar no. 11.294, Málaga)

8/23/202610 min read

Every week I receive the same message from expats living on the Costa del Sol, in Madrid or in Valencia: "I already paid tax on this income in my home country. Why is Spain taxing it again?" The good news: in the vast majority of cases, double taxation can be eliminated or drastically reduced. The bad news: it does not happen automatically — you have to claim the relief correctly, with the right documents, in the right boxes of your Spanish tax return.

This guide explains, in plain English, how double taxation actually works, what Spain's tax treaties do (and do not do), how the foreign tax credit of Article 80 of the Spanish Personal Income Tax Act (LIRPF) is calculated, and the seven mistakes I see most often in practice — each of which can cost you real money.

What Is Double Taxation, Exactly?

Tax lawyers distinguish two different phenomena, and the distinction matters because the remedies are different:

  • Juridical double taxation: the same person is taxed on the same income by two different countries. Example: a UK pension paid to a tax resident of Spain, taxed at source in the UK and again in the Spanish IRPF. This is the classic expat problem, and it is what tax treaties are designed to solve.

  • Economic double taxation: the same income is taxed twice in the hands of different persons. The textbook case is corporate profit: a company pays corporate income tax on its profits, and when it distributes those profits as dividends, the shareholder pays income tax again. Treaties address this only partially (mainly through reduced withholding rates on dividends); domestic law does the rest, if anything.

Almost everything in this article concerns juridical double taxation, because that is what affects individuals moving to or investing in Spain.

Spain's Treaty Network: Around 90 Conventions Based on the OECD Model

As of 2026, Spain has an extensive network of roughly 90 double taxation conventions in force, covering practically all of Europe, the Americas' main economies (United States, Canada, Mexico, Brazil, Argentina, Chile, Colombia...), and most of Asia and the Middle East. Nearly all of them follow the OECD Model Tax Convention, which means they share a common architecture:

  • Articles 6 to 21 allocate taxing rights over each category of income (real estate income, business profits, dividends, interest, royalties, capital gains, employment income, pensions, etc.) between the "residence state" and the "source state".

  • Article 4 decides which of the two countries you are a resident of for treaty purposes when both claim you (the famous "tie-breaker" rules — more on this below).

  • Article 23 (in most Spanish treaties) obliges the residence state to eliminate the double taxation that remains, either by exempting the foreign income or by granting a credit for the foreign tax.

A crucial point that surprises many clients: a treaty never creates tax. It only limits what each country may do under its own law. If the treaty says the source country may withhold "no more than 15%" on dividends, and its domestic law withholds 25%, you are entitled to the lower rate — but you usually have to claim it.

Exemption vs. Credit: The Two Ways to Eliminate Double Taxation

There are two mechanisms, and Spain uses both depending on the treaty and the type of income:

  • Exemption method: Spain simply does not tax the foreign income. In its most common variant, exemption with progression, the exempt income is still counted to determine the tax rate applicable to your other income. Typical example: government-service pensions under Article 19 of most treaties (a former UK civil servant's pension is generally taxable only in the UK, but Spain may take it into account to set the rate on the rest of your income).

  • Credit method (ordinary credit): Spain taxes the worldwide income but lets you deduct the tax paid abroad, up to a limit. This is the workhorse of the Spanish system, implemented domestically in Article 80 LIRPF.

How Is the Article 80 LIRPF Foreign Tax Credit Calculated?

Article 80 LIRPF grants the taxpayer a deduction equal to the lower of two amounts:

  1. The effective tax actually paid abroad on that income, by reason of a tax identical or analogous to the Spanish IRPF (or the Non-Resident Income Tax); and

  2. The result of applying the average effective Spanish tax rate to the portion of the taxable base taxed abroad (the "limit"). For savings income — dividends, interest, most capital gains — the relevant rate is the average rate of the savings scale; for general income, the average rate of the general scale.

In other words: Spain will never refund you more foreign tax than the Spanish tax attributable to that same income. If the foreign country taxed at 30% and Spain would only have charged 19%, the credit is capped at 19% — the excess is simply lost in Spain (though it may be recoverable abroad; see below).

And there is a second, less known cap: when a treaty applies, the creditable foreign tax is limited to the maximum tax the treaty allows the source country to charge, not what was actually withheld. This is the source of one of the most expensive mistakes on the list below.

A worked example: US dividends received by a Spanish resident

Meet Karen Whitfield, a retired American living in Marbella, tax resident in Spain. In 2026 she receives $10,000 (say €9,200) in dividends from her US brokerage account. Because she filed Form W-8BEN claiming the Spain–US treaty, the US withheld 15% (the treaty ceiling for portfolio dividends) instead of the 30% default rate: €1,380 withheld.

In Spain, dividends are savings income, taxed as of 2026 on a progressive scale that runs from 19% to 30%. Suppose Karen's savings income falls mostly in the 19–21% brackets and her average savings rate on this income works out at 19.9%.

  • Gross US dividend — Amount: €9,200

  • US withholding at treaty rate (15%) — Amount: €1,380

  • Spanish IRPF on the dividend (avg. savings rate ≈ 19.9%) — Amount: €1,831

  • Article 80 credit = lower of €1,380 and €1,831 — Amount: €1,380

  • Net Spanish tax payable on the dividend — Amount: €451

  • Total combined tax burden — Amount: €1,831 (≈ 19.9%, i.e. no double taxation)

Result: Karen ends up paying, in total, exactly what Spain would have charged had the dividend been Spanish. That is the credit method working as intended. If the US had withheld 30% because she never filed the W-8BEN, Spain would still only credit up to the 15% treaty ceiling — the other 15% would have to be reclaimed from the IRS, not from Spain.

Why Is the Tax Residency Certificate So Important?

Treaty benefits are for residents, and each country wants proof. The key document is the certificate of tax residence "for the purposes of the Convention" issued by the Spanish tax agency (AEAT) — or by the foreign tax authority if you are claiming residence there. Without it:

  • The foreign payer will usually apply its full domestic withholding rate (e.g. 30% in the US, instead of 15%).

  • Foreign tax authorities will reject refund claims for excess withholding.

  • In a residency dispute, you have no documentary anchor for the tie-breaker analysis.

The certificate is generally valid for one year and must usually be renewed for each claim period. I explain the application process step by step in this guide: how to obtain the Spanish tax residency certificate and use it under double tax treaties.

What If Both Countries Say You Are Their Resident? The Article 4 Tie-Breaker

It happens constantly: Spain considers you resident because you spent more than 183 days here or your centre of economic interests is here, while your home country still treats you as resident under its own rules (the US, notoriously, taxes its citizens wherever they live). When both states claim residence, Article 4(2) of the OECD Model breaks the tie with a strict cascade — you stop at the first test that gives an answer:

  1. Permanent home: where do you have a dwelling continuously available to you? If in both countries (or neither), go to the next test.

  2. Centre of vital interests: where are your personal and economic relations closer — family, employment, investments, social life?

  3. Habitual abode: where do you actually spend more time?

  4. Nationality.

  5. Mutual agreement procedure between the two tax administrations.

Whoever "wins" you as a resident gets to tax your worldwide income; the other country is relegated to source-state taxation only. Getting this analysis right is the foundation of everything else — if you misidentify your treaty residence, every subsequent step is wrong. For the domestic Spanish rules that trigger the conflict in the first place, see tax resident vs non-resident in Spain: the critical differences.

How Is Each Type of Income Treated? A Quick Map

Pensions

Under the OECD Model, private pensions (occupational and personal) are generally taxable only in the state of residence — so a Spanish resident's private UK or German pension is taxed in Spain, and the source country should not withhold at all (paperwork permitting). Government-service pensions are the mirror image: normally taxable only in the paying state, with Spain applying exemption with progression. US Social Security is a special case under the Spain–US treaty. Full treatment here: how overseas pensions are taxed in Spain.

Dividends and interest

The source state typically keeps a limited withholding right: most Spanish treaties cap portfolio dividend withholding at 15% (often 5% or 0% for substantial corporate shareholdings), and interest at 0–10% depending on the treaty. Spain then taxes the income at savings rates (19–30% as of 2026) and grants the Article 80 credit up to the treaty ceiling.

Rental income and real estate capital gains

Article 6 and Article 13(1) of the Model give the state where the property is located a full, unlimited taxing right. So a Spanish resident with a rental flat in London pays UK tax first; Spain taxes the same income again and credits the UK tax under Article 80. Conversely, non-residents with Spanish property face Spanish taxation regardless of treaties — see the complete guide to non-resident tax in Spain (Modelo 210, Modelo 720 and all your obligations).

Employment income and the 183-day rule

Salaries are taxable where the work is physically performed — but Article 15(2) sends taxation back exclusively to the residence state if three conditions are met simultaneously: the employee spends no more than 183 days in the work state in the relevant period, the employer is not resident there, and the cost is not borne by a permanent establishment there. Remote workers and short-term assignees live and die by this article.

Deemed income on foreign property

Spain's peculiar "imputed income" on non-rented second homes also applies to properties abroad, and its interaction with treaties is subtle — I have covered it country by country, for example for the United States.

Excess Withholding at Source: Spain Will Not Refund the Other Country's Mistake

This deserves its own section because it is so widely misunderstood. If the source country withheld more than the treaty allows — the US withholding 30% instead of 15%, Switzerland withholding 35% on dividends when the treaty caps it at 15% — the excess must be reclaimed from the source country's tax authority, using that country's own refund procedure (Form 25 to the Swiss FTA, the HMRC DT-Individual form in the UK, the 1040-NR or withholding-agent route in the US). Spain's Article 80 credit only ever covers the treaty-ceiling amount. Every year taxpayers forfeit these refunds because nobody told them a second claim, in a second country, was needed.

Where Do You Actually Claim the Credit? Forms and Boxes

  • Modelo 100 (the annual IRPF return): the international double taxation deduction has its own box in the "Cuotas resultantes" section (in recent campaigns, the box for the deducción por doble imposición internacional of Article 80 — around box 0588 in the 2025 form; the exact number can shift each campaign, so check the current year's form). You must be able to document the foreign tax with certificates of tax paid, foreign returns or withholding statements.

  • Exempt-with-progression income also has its own dedicated box and must be declared even though it is not taxed.

  • Keep the foreign residency certificates, Form W-8BEN acknowledgements, foreign tax returns and payment receipts for at least four years — the AEAT routinely opens verification procedures on Article 80 claims and disallows undocumented credits.

The 7 Mistakes That Cost Expats Real Money

  1. Not obtaining the tax residency certificate. Without it, the source country applies full domestic withholding and refund claims get rejected. It is the cheapest document in international taxation and the most frequently forgotten.

  2. Claiming treaty benefits without actually being a treaty resident. Spending 200 days in Spain does not automatically make you a treaty resident of Spain if the tie-breaker points the other way — and vice versa. Applying the wrong treaty position invites reassessments in both countries.

  3. Crediting the full foreign withholding instead of the treaty ceiling. If the US withheld 30% on your dividends, Spain only credits 15%. Deducting the full 30% in the Modelo 100 is a classic AEAT adjustment, with interest and possible penalties.

  4. Forgetting exemption with progression. Exempt foreign income (typically government pensions) must still be reported so it can raise the rate on your other income. Omitting it entirely is an incomplete return; taxing it fully is overpaying.

  5. Ignoring the Article 80 limit and expecting a refund of foreign tax. The credit can reduce your Spanish tax to zero on that income, but Spain never refunds foreign tax in cash. High foreign taxes on low-Spanish-tax income produce unusable excess credits.

  6. Reclaiming excess source withholding from the wrong country — or not at all. The refund of the excess over the treaty rate must be requested in the source country, within that country's deadline (often 2–4 years). Missed deadlines mean the money is gone.

  7. Assuming a treaty exists. Not every country has a convention with Spain (see next section). Structuring your affairs on the assumption of treaty protection that does not exist is expensive to unwind.

What If There Is No Treaty? Unilateral Relief Under Article 80

Spain still has no double taxation convention in force with a number of jurisdictions. As of 2026 the list includes, among others, most of sub-Saharan Africa (South Africa, Nigeria, Senegal and a few others being the exceptions), several Latin American and Asian countries whose treaties were signed but never ratified (Peru is the historic example), Monaco, and territories such as Gibraltar, which has an international agreement on tax matters rather than a full treaty. Always verify the current status for your specific country before assuming anything.

The safety net: Article 80 LIRPF applies unilaterally, treaty or no treaty. Spain will credit foreign income tax paid on foreign-source income up to the Spanish tax on that income, even where no convention exists — provided the foreign levy is analogous to the IRPF and the income is not treated as obtained in Spain. What you lose without a treaty is everything else: no withholding ceilings at source, no tie-breaker, no mutual agreement procedure, no exemption articles.

A Second Example: Rental Income From Abroad

Declan Moore, an Irish IT consultant resident in Fuengirola, keeps his old apartment in Dublin rented out. In 2026 he earns €12,000 net rental profit and pays €2,400 of Irish income tax on it. In Spain the same income (computed under Spanish rules) goes into his general taxable base; at his average general rate of, say, 28%, the Spanish tax attributable to it is €3,360. Article 80 credit: the lower of €2,400 and €3,360 = €2,400. Declan pays €960 more in Spain and his total burden equals the higher of the two countries' taxes — again, double taxation eliminated, not doubled.

Key Takeaways

  • Double taxation relief is real, but it is claimed, not automatic.

  • Establish your treaty residence first; everything flows from it.

  • Get the residency certificate, file the source-country forms (W-8BEN and equivalents), and keep every piece of paper.

  • Credit only up to the treaty ceiling; chase the excess in the source country.

  • No treaty does not mean no relief — Article 80 works unilaterally.

Need Help With Your Specific Situation?

Every case turns on the specific treaty, the type of income and your personal facts. If you are being taxed twice — or fear you might be — I can review your situation and tell you exactly what to claim, where, and with which documents. I am a lawyer focused on international taxation, working with expats across Spain.

Disclaimer: This article is general information as of September 2026, not legal or tax advice. Tax rates, forms and treaty statuses change; figures such as the savings scale (19–30%) and box numbers refer to the rules in force as of 2026. Always obtain advice on your specific circumstances before acting.

Barristers and Qualified
Tax and Legal Advisors

Expert guidance for cross-border individuals and situations.


Physical presence is Costa del Sol, online assitance wordwide

Contact

Contact

taxlegalspain@gmail.com

‪+34 644121802‬

© 2021. All rights reserved.