Foreign Tax Credit in Spain (2026): How Hacienda Credits Tax Paid Abroad

🧭 One less thing at the back of your mind

Somewhere on your list is a Spanish form, phone call or appointment that keeps getting pushed to next week.

You don’t have to keep carrying it. Tell the Navigator service what’s stuck. Our bilingual Navigators make the Spanish calls and keep at it until there’s an answer, and you get on with your week.

Hand it to the Navigator service →

🧭 You stay in charge. We do the Spanish legwork.

Somewhere on your list is a Spanish form, phone call or appointment that keeps getting pushed to next week.

You decide what needs doing. The Navigator service makes the calls, books the appointments, comes with you when it has to be in person and reports back in plain English.

Bring in the Navigator service →

🧭 "It is closer to having someone on your team who already knows your file."

Somewhere on your list is a Spanish form, phone call or appointment that keeps getting pushed to next week.

Helen, an early retiree in Estepona, sends a photo of whatever lands in the post, and by the afternoon she knows whether it’s urgent and who is handling it. The Navigator service works the same way for this.

Tell us what’s stuck →

If some of your income was taxed before it reached you on the Costa, a UK flat you still let, dividends from a foreign broker, a pension a home payroll kept taxing, Spain does not simply charge you again on top. Article 80 of the income tax law lets you deduct the foreign tax from your Spanish bill, up to the Spanish tax on that same income. The deducción por doble imposición internacional — international double taxation credit is the mechanism, and this guide covers how it is worked out, what it will and will not credit, and how you claim it.

It is for a Spanish tax resident filing the ordinary return. The treaty with the other country comes first, because the credit only covers tax the treaty let that country charge. Where the texts are silent and I am giving a reading, it says so.

Last verified: 27 October 2026.

Treaty first, then article 80

Article 5 of Ley 35/2006 says the income tax law applies without prejudice to the treaties Spain has signed. That puts three questions in order: is there a treaty with the country the income comes from; what does it let that country tax, and at what rate; and how much of that does Spain give back.

In the Spain-UK treaty of 14 March 2013, article 22.1.a says that where the treaty allows the UK to tax a Spanish resident’s income, Spain permits a deduction equal to the UK tax paid, capped at the Spanish tax on that income. Those are the two limits of article 80; what the treaty adds is the filter. The UK may tax rent from UK property (article 6) and dividends from a UK company at up to 10% of the gross amount, or 15% for certain property investment vehicles (article 10.2). It may not tax interest paid to a Spanish resident (article 11.1), and pensions other than government service pensions are taxable only in Spain (article 17).

Article 22.1.b is the other half. Where the treaty makes income exempt in Spain, as with most UK civil service pensions under article 18.2, Spain may still count it when setting the rate on everything else. Treaties call this exención con progresividad — exemption with progression. There is no foreign tax to deduct, because Spain is not taxing that income; the only effect is a higher average rate on the income it does tax.

Where there is no treaty, article 80 applies on its own. Denmark is the case people on the Costa run into: Hacienda’s treaty list records that Denmark denounced its treaty with Spain with effect from 1 January 2009, and the tax directorate’s ruling V1458-10 applied article 80 to a Danish pension with no treaty filter.

How the credit is worked out

Article 80.1 says that when your income includes earnings or capital gains obtained and taxed abroad, you deduct the lower of two amounts:

  • (a) what you actually paid abroad under a tax of identical or analogous nature to Spanish income tax or to the non-residents’ income tax, on that income; and
  • (b) your tipo medio efectivo — average effective rate applied to the part of your base liquidable — taxable base that was taxed abroad.

Article 80.2 defines the rate: your cuota líquida total — total tax after deductions divided by your base liquidable, multiplied by 100, to two decimal places, with general and savings income each given their own rate. So a let flat (general income) and a dividend (savings income) are credited against different average rates; the Renta 2025 manual works the two separately, with the savings side split again between income and capital gains.

Two points inside limit (b) decide more than people expect. The rate is an average rather than your top rate, so a 40% foreign charge never comes back in full if your average Spanish rate is 25%. And the base taxed abroad is the Spanish figure: in a resolution of 20 October 2025 (00/08643/2023) the TEAC held that the expression means the part of the base liquidable determined under Spanish income tax rules that was taxed abroad. For rent, that is the net figure after the expenses Spain allows, even if the other country taxed the gross.

The tax agency’s own Renta 2025 example, with average rates of 17.10% and 16.60% and 2,180 euros paid abroad, ends with a credit of 1,885.20 euros.

Two worked examples

Both use assumed Spanish figures; the arithmetic is the law’s, the numbers are illustrations.

A flat let in the UK

You live in Fuengirola, and a flat in Leeds brings in 12,000 euros of rent. Spain allows 4,000 euros of expenses, so 8,000 euros of net rental income sits in your general base. The UK tax actually paid on the rent comes to 1,500 euros.

  • Assume a general base liquidable of 40,000 euros and a cuota líquida total on it of 9,000 euros. Average effective rate: 9,000 divided by 40,000, times 100, is 22.50%.
  • Limit (b): 22.50% of 8,000 euros is 1,800 euros. The base is the Spanish net figure, following the TEAC, and not the 12,000 euros the UK taxed.
  • Limit (a): 1,500 euros actually paid.
  • Credit: 1,500 euros, the lower. Spain collects the remaining 300 euros of its 1,800 euros on that slice.

Had the UK charge been 2,200 euros, the credit would stop at 1,800 euros and 400 euros would be lost.

Foreign dividends with too much withheld

You hold shares in a country whose treaty with Spain caps dividend withholding at 15%. The company pays 10,000 euros gross and its domestic rate takes 25%, so 2,500 euros is withheld.

  • The treaty lets the source country keep 1,500 euros. The other 1,000 euros is tax the treaty did not allow, and it is a refund claim in that country rather than a Spanish credit.
  • Assume a savings base liquidable of 30,000 euros and a cuota líquida on it of 6,000 euros. Savings average rate: 20.00%.
  • Limit (b): 20.00% of 10,000 euros is 2,000 euros. Limit (a): 1,500 euros, the tax the treaty allowed.
  • Credit: 1,500 euros. Spain collects 500 euros, and the 1,000 euros over the cap waits on the foreign refund.

For UK shares the cap is 10%, so the same arithmetic runs with 1,000 euros. Whether a treaty cap or the full amount withheld sets limit (a) is now before the Supreme Court; see the open questions below.

Tax the other country was not allowed to charge

The tax directorate has said this twice. In ruling V1163-19, about a Spanish resident whose UK parent company deducted PAYE on work done in the UK, it said that if the treaty gave Spain the sole right to tax, article 80 could not be used for the UK deductions, without prejudice to asking the British administration for their return. In ruling V0270-23 it refused a credit for UK tax that a UK exemption had relieved: nothing was paid, so there was nothing to credit.

For UK income the route back is HMRC’s form DT-Spain Individual. It is for an individual resident of Spain receiving incapacity benefit, pensions, purchased annuities, interest or royalties arising in the UK, it works as an application for relief at source or a claim for repayment, and it needs a certificate Residencia Fiscal en España Convenio — tax residence in Spain for treaty purposes from the Agencia Tributaria attached. It does not cover rent, which the UK may tax, or dividends. For another country the refund procedure is that country’s own, and none is verified here.

Work done abroad: the article 7.p exemption

The credit is for tax paid on income Spain also taxes. Article 7.p takes salary out of the Spanish base altogether. It exempts employment income for work physically carried out abroad for a company or entity not resident in Spain, or a permanent establishment abroad, provided the country where the work is done applies a tax identical or analogous to Spanish income tax and is not a tax haven; a treaty with an information exchange clause satisfies that. The exemption covers pay earned during the days spent abroad, up to 60,100 euros a year.

Three consequences. The work has to be done abroad; a foreign employer paying you while you work from Málaga is outside it. Exempt income carries no credit, because Spain is not taxing it. And 7.p is incompatible with the régimen de excesos — excess allowances regime for employees posted abroad, whatever the amount; the taxpayer may choose the excess regime instead.

Permanent establishments and the Beckham regime

Article 80.3 covers income earned abroad through an establecimiento permanente — permanent establishment, a branch or fixed base you run in another country. That income takes the article 80 credit and, in the law’s words, in no case the article 22 exemption of the corporate tax law.

Under the article 93 regime, the Beckham Law, the credit is cut down. Article 114.2.b of the income tax regulation allows it for foreign tax on employment income and qualifying entrepreneurial income obtained abroad, capped at 30% of the Spanish tax on all of that income in the year. The tax agency’s non-residents manual also says a regime taxpayer is not resident in Spain for treaty purposes, so there is no treaty filter. Our digital nomad visa tax guide and Beckham versus ordinary IRPF guide cover the regime itself.

How you claim it, and what to keep

The credit goes on Modelo 100, the ordinary declaración de la renta — income tax return, among the deductions from the cuota líquida total. The tax agency’s Renta 2025 filing help describes two entry windows, general base and savings base: in each you enter the foreign net income or gain and the tax actually paid abroad, and the program applies the two limits. Box numbers for Renta 2025 are not on an official page I could verify, so none are given.

You are not asked for documents when you file; if Hacienda checks, the burden of proof is yours. Ruling V1163-19 says proving the foreign tax is a question of fact, shown by any means of proof admitted in law, weighed by the tax agency’s management and inspection offices. Keep, for each year, the foreign assessment or tax certificate, proof of payment or the payslip, dividend voucher or broker statement showing the deduction at source, and any refund the other country made, since a refund reduces what was actually paid. Hacienda has four years to check a year (article 66 of the Ley General Tributaria), and the same four years is your window to correct it.

If the foreign tax is paid after you have filed

A foreign assessment can arrive after Spain’s June deadline. The tax directorate’s position is in ruling V1458-10, applied again in V1163-19: if the foreign tax has not been paid when you file the Spanish return, you enter nothing for it. Once it is paid, you may rectify the return you originally filed, under article 120.3 of the Ley General Tributaria. The credit belongs to the year the income was declared, and you reach back for it; you do not carry it into the year the foreign payment happened.

Payments on account are the middle case. In V1163-19 the ruling allowed the credit for PAYE to the extent actually paid on the UK work, then pointed to V1458-10 for the part not yet settled. My read of the practical sequence: claim what was deducted at source and evidenced by the Spanish deadline, and file an autoliquidación rectificativa — rectifying return for that year if the final foreign assessment adds to it. If a foreign refund later reduces what you paid, the correction runs the other way.

Open questions in the courts

Three points about the cap are before the Supreme Court. None had a judgment on the CENDOJ database when I checked on 27 October 2026.

  • Country by country or all together. By order of 19 February 2025 (ATS 1670/2025, appeal 1490/2024) the court agreed to decide whether limit (b) is worked separately for each country or once on the sum of all foreign income. The regional tribunal had applied it country by country without citing any provision. Until the judgment, a shortfall in one country cannot safely offset an excess in another.
  • What the base taxed abroad is. A later admission order raises a similar question; the TEAC’s 2025 resolution is the answer for now.
  • Treaty cap or tax paid. In two orders of 24 September 2026 (ATS 7953/2026 and 7955/2026) the court agreed to decide whether, for French dividends received through a Luxembourg company, limit (a) is set by Spanish domestic law alone or by the treaty’s maximum rate. The dividend example above follows the tax directorate’s reading until then.

What the credit does not do

  • It does not refund foreign tax above the Spanish tax on the same income at your average rate.
  • It does not credit tax the other country was not entitled to charge under the treaty, including deductions by a payer never told you had left. That is a refund claim over there.
  • It does not carry forward. Article 80 has no provision for unused credit; the answer to timing problems is a rectified return for the original year.
  • It does not touch social security contributions. Our double taxation guide covers them.
  • It does not decide your residence. If two countries both claim you, the tie-breaker in our dual tax residency guide comes first and the credit second.
  • For a US citizen it is half the picture, because the US taxes citizens wherever they live. Our US pensions guide works through it.

Frequently asked questions

My UK pension provider still deducts tax. Can I credit it in Spain?

No. Under article 17 of the treaty a UK pension paid to a Spanish resident, other than a government service pension, is taxable only in Spain, so the UK was not entitled to the tax. Form DT-Spain Individual with the Agencia Tributaria’s treaty residence certificate stops the deductions and claims back what was taken. Our UK State Pension guide covers the pension side.

Is the credit worked on the gross rent or the net?

On the Spanish net figure, after the expenses in our rental income tax guide, following the TEAC’s October 2025 resolution.

The five-minute version

  • Spain credits foreign tax under article 80 of Ley 35/2006: the lower of the tax actually paid abroad and your average effective rate applied to the slice of your Spanish taxable base that was taxed abroad, with general and savings income kept apart.
  • The treaty comes first. Only tax the other country was allowed to charge counts; the rest, including PAYE on a pension the treaty gives to Spain, is a refund claim there. For the UK, form DT-Spain Individual.
  • No treaty, as with Denmark since 2009, means article 80 alone.
  • Article 7.p exempts up to 60,100 euros of pay for days worked abroad and replaces the credit for that income; the Beckham regime caps the credit on salary at 30% of the Spanish tax on it.
  • Claim it on Modelo 100 and keep the foreign assessment and proof of payment. If the foreign tax is paid after you have filed, rectify the original year’s return.
  • Whether the cap runs country by country, and whether a treaty cap or the tax withheld sets the credit, are before the Supreme Court.

Related guides

General information, not legal advice, current as of 27 October 2026. Primary sources: Ley 35/2006 del IRPF (BOE-A-2006-20764), articles 5, 7.p and 80; Reglamento del IRPF, Real Decreto 439/2007 (BOE-A-2007-6820), article 114.2.b; Ley 58/2003 General Tributaria (BOE-A-2003-23186), articles 66 and 120.3; the Spain-UK double taxation convention of 14 March 2013 (BOE-A-2014-5171), articles 6, 10, 11, 17, 18 and 22; Hacienda, list of double taxation conventions in force, note on Denmark; Agencia Tributaria, Manual práctico de Renta 2025, chapter 18, deducción por doble imposición internacional and its worked example, Modelo 100 Renta 2025 filing help section 8.7.3.1, and the non-residents’ taxation manual on the article 93 regime; tax directorate (DGT) rulings V1458-10, V1163-19 and V0270-23; TEAC resolution 00/08643/2023 of 20 October 2025; Supreme Court admission orders ATS 1670/2025 (ECLI:ES:TS:2025:1670A, appeal 1490/2024), ATS 7953/2026 and ATS 7955/2026, as listed on CENDOJ and in the court’s Cuadernos de casación of 20 February 2026; HMRC, form DT-Spain Individual.

🌊 Spain keeps changing the rules for expats. We explain them.

A new step in your TIE renewal, a Hacienda deadline, a change to how you book a doctor. Three free briefings a week explain what changed on the Costa, what it means for you and what to do, if anything.

Or sign up on the WaypointSur site →

Andrew Lawrence

About the Author

Andrew Lawrence

Andrew Lawrence is the founder of WaypointSur. He spent his career starting and building advertising agencies, then worked with startups and local businesses after selling his agency. He moved to the Costa del Sol in 2017, lives in Benalmádena, and built WaypointSur as the guide he wished existed when he arrived.

Add WaypointSur as a preferred source in Google Search:

Privacy Policy · Terms & Conditions · Cookie Policy