A Spanish tax resident pays Spanish tax on a foreign pension: it counts as employment income and is taxed on the general progressive scale with the rest of your income. State and private pensions from the UK, France, Italy, Switzerland and the Netherlands are taxed only in Spain; government service pensions are usually taxed only in the paying country.
Below: a table for seven countries, the three possible treaty outcomes, when to file, what happens to a lump sum, and how to stop tax being withheld where the pension comes from. How the Spanish state pension itself works is covered in our guide to pensions in Spain.
How Spain taxes a foreign pension
A Spanish resident declares worldwide income — everything received, whatever the country and whoever pays. The law expressly treats pensions from public social security systems and payments from pension plans as employment income (Article 17.2.a of the Personal Income Tax Act). So a foreign pension goes into your general tax base and is taxed on the progressive scale, state plus regional. There is no special relief for foreign pensions.
You become resident if you spend more than 183 days a year in Spain or your centre of interests is here — see our guide to Spanish tax residency. Pensioners on the non-lucrative visa are almost always resident: the permit requires you to live in Spain.
Spanish law is only half the answer. The other half is the double tax treaty with the country that pays the pension. It decides whether that country may also tax it, and then Spain either credits that tax or exempts the pension itself.
Where your pension is taxed: country table
| Country | State retirement pension | Private and workplace pension | Government service pension |
|---|---|---|---|
| United Kingdom (2013 treaty) | State Pension — Spain only (Art. 17) | Spain only (Art. 17) | UK only; Spain only if you are a Spanish national (Art. 18.2) |
| Germany (2011 treaty) | Spain; if first paid from 2015, Germany may withhold up to 5%, from 2030 up to 10%, credited in Spain (Art. 17.2) | Spain only; for tax-favoured schemes (Riester, betriebliche Altersversorgung) the same 5% cap (Art. 17.3) | Germany only; Spain only if you are a Spanish national (Art. 18.2) |
| France (1995 treaty) | Spain only (Art. 18) | Spain only (Art. 18) | France only; Spain only for a Spanish national without French nationality (Art. 19.2) |
| Italy (1977 treaty) | INPS — Spain only (Art. 18) | Spain only (Art. 18) | Italy only; Spain only if you are a Spanish national (Art. 19.2) |
| Switzerland (1966 treaty) | AHV/AVS — Spain only | Second pillar (BVG/LPP) — Spain only (Art. 18) | Switzerland only, if the recipient is a Swiss national (Art. 19) |
| Netherlands (1971 treaty) | AOW — Spain only (Art. 19) | Spain only (Art. 19) | Netherlands; Spain exempts it but counts it for the rate (Arts. 20.1 and 25.3) |
| United States (1990 treaty) | Social Security — both countries, Spain credits the US tax (Art. 20.1.b) | 401(k), IRA, pension plans — Spain only, when paid out (Arts. 20.1.a and 20.5) | US only; Spain only if you are a Spanish national (Art. 21.2) |
Articles are taken from the treaty texts in Spain’s Official Gazette. “Spain only” means the paying country should not tax the pension under the treaty: if it withholds tax anyway, you reclaim it there — Spain will not credit it.
For the Netherlands, the 1971 treaty applies in 2027. A new treaty has been agreed and the Spanish government approved its signature in March 2026, but it only takes effect once both countries ratify it. Until then, Dutch private pensions are taxed only in Spain. The current list of treaties is on the Spanish tax agency website.
For more on moving from a specific country, see moving to Spain from the UK, moving from Germany to Spain, moving to Spain from France and moving from Sweden to Spain.
Three treaty outcomes
Whatever pensions are called in each country, treaties lead to one of three results. It decides how much you pay and how you fill in the return.
- Spain only. Most pensions for past employment. The whole pension goes into the Spanish base and the paying country does not tax it at all.
- Both countries, Spain gives credit. A German social insurance pension first paid from 2015, and US Social Security. Spain deducts the foreign tax from its own, but no more than the Spanish tax on that pension (Article 80 of the Personal Income Tax Act).
- Paying country only. Government service pensions for people who are not Spanish nationals. Spain exempts them but includes them when working out the rate on your other income — an exemption with progression.
Example 1: credit. A retiree receives a Deutsche Rentenversicherung pension of €36,000 a year, first paid in 2021. Germany withholds 5% — €1,800. Say the average rate on the Spanish scale in their region comes to 28%: Spanish tax on the pension is €10,080. The €1,800 German tax is deducted, leaving €8,280 to pay in Spain. Total tax: €10,080, as if only Spain taxed the pension.
Example 2: exemption with progression. A former UK civil servant who is not a Spanish national receives a €30,000 service pension and a €12,000 State Pension. The service pension is taxed only in the UK, the State Pension only in Spain. Spain taxes just the €12,000, but at the rate worked out on €42,000 (Additional Provision 20 of the Personal Income Tax Act). At an illustrative 30% rate that is €3,600 instead of €2,400 at the 20% rate that would apply if the State Pension were the only income. The Spanish tax authority analysed a similar case in binding ruling V2460-21.
When you must file a return
The IRPF return is filed in spring for the previous year. For employment income, which includes pensions, the law sets two thresholds (Article 96):
- €22,000 a year if there is one payer who withholds Spanish tax — typical of a Spanish pension;
- €15,876 a year if there are several payers and the second and others together pay more than €1,500, or if the payer is not required to withhold Spanish tax. Foreign pension funds and foreign governments do not withhold Spanish tax, so this is the threshold that applies to a foreign pension.
You must always file if you want credit for tax withheld in another country: no return, no credit. A pension exempt under a treaty does not count towards the thresholds, but if you have one you cannot simply confirm the tax agency’s draft return — you complete the return yourself, entering the exempt income so the rate is worked out correctly.
How to complete and file the return is covered in our guide to Modelo 100. A separate duty is reporting assets abroad: the account your pension is paid into, with a balance above €50,000, goes on Modelo 720.
Taking a lump sum instead of a pension
Many pension systems let you take part of your savings at once: in the UK, up to a quarter of the pension pot tax-free; in private schemes elsewhere, the whole capital. For a Spanish resident such a payment is also employment income, and all of it goes into the base for the year you receive it.
- The UK 25% tax-free lump sum is not exempt in Spain. Spanish law has no rule exempting it (Article 7).
- The 30% reduction does not apply. The law expressly excludes pensions and pension plan payments from it (Article 18.2).
- The transitional 40% reduction applies to Spanish pension plans and only to the part built from contributions made before 2007 — not to foreign schemes.
A large sum in one year pushes you into the top bands of the scale. If the capital can be taken in instalments, spread it over several years; if you need a single payment, work it out before you move.
Tell us your situation — we reply within the hour
Planning before the move, and the Beckham Law
Spain does not split the year you move: if you become resident that year, you declare worldwide income for the whole year, including payments received before you arrived. So a large lump sum that is better taxed under your old country’s rules is planned for the year before you become Spanish resident.
The Beckham Law does not suit pensioners: it is for people who move to work as employees, remotely, or to run their own company. If someone under the regime does receive a foreign pension, as employment income it is treated as obtained in Spain and taxed at the regime’s rate (Article 93). Germany also denies people under the regime the protection of its treaty, including for pensions.
For a wealthy retiree the pension is not the only tax. Capital held in Spain may be caught by wealth tax and the solidarity tax, and an estate by inheritance tax under regional rules: see our guide to wealth tax in Spain.
How to stop tax being withheld in the paying country
A pension fund or government abroad often keeps withholding tax as if you were still resident there. If the treaty gives the pension to Spain only, Spain will not credit that tax: you reclaim it in the paying country.
- Get a Spanish tax residence certificate for treaty purposes — the Spanish tax agency issues it online.
- Send it to the payer or to the paying country’s tax authority with a claim to apply the treaty — each country has its own form.
- Reclaim tax withheld in past years from the same authority — it sets the time limits.
If the pension is taxable in both countries, like a German pension or US Social Security, withholding continues but only up to the treaty cap, and you claim credit for it in Spain.
US citizens and UK nationals
The US taxes its citizens wherever they live, and the treaty preserves that right. A US citizen resident in Spain therefore files in both countries; the treaty has a separate rule on which country gives credit so the same income is not taxed twice in full.
For UK nationals the key line is the government service pension: civil service, armed forces or local government pensions stay taxable in the UK unless you also hold Spanish nationality. If you plan to take Spanish citizenship, check how it changes the tax on that pension.
Frequently asked questions
Do I pay tax in Spain on a foreign pension?
Yes, if you are a Spanish tax resident. The pension counts as employment income and is taxed on the general scale. The exception is a government service pension that the treaty gives to the paying country: Spain exempts it but it raises the rate on your other income.
Where is the UK State Pension taxed if I live in Spain?
Only in Spain: under Article 17 of the UK treaty, state and private pensions are taxed by the country of residence. The UK taxes only government service pensions, unless the recipient is a Spanish national.
How much tax does Germany withhold from the pension of a retiree living in Spain?
On a social insurance pension first paid between 2015 and 2029, up to 5% of the gross amount; from 2030, up to 10%. Spain credits that tax. Pensions first paid before 2015 are taxed only in Spain.
Do I need to file a return for a small pension from abroad?
If the foreign pension is your only income and does not exceed €15,876 a year, you need not file. Above that a return is required, because the foreign payer does not withhold Spanish tax. If tax was withheld abroad and you want credit for it, you file whatever the amount.
Is a lump sum from a foreign pension fund taxed in Spain?
Yes, in full, as employment income for the year you receive it. The UK 25% tax-free lump sum is not exempt in Spain, the 30% reduction does not apply to pension payments, and the transitional 40% reduction covers only Spanish pension plans.
How do I stop tax being withheld in the country that pays my pension?
Get a Spanish tax residence certificate for treaty purposes and send it to the payer or the paying country’s tax authority with a treaty claim. Tax withheld in past years is reclaimed from the same authority.
Is US Social Security taxed for a Spanish resident?
Yes, in both countries: the US may tax Social Security, Spain taxes it as the country of residence and credits the US tax. Private pensions, 401(k) and IRA payments are taxed only in Spain, and only when paid out.
Can a retiree use the Beckham Law?
No. The regime is for people who move to work, run their own company or set up an innovative business. A foreign pension received under the regime is treated as income obtained in Spain and taxed at the regime’s rate.
Key points about tax on a foreign pension in Spain
- A Spanish resident pays Spanish tax on a foreign pension on the general scale: it is employment income.
- State and private pensions from the UK, France, Italy, Switzerland and the Netherlands are taxed only in Spain.
- German pensions first paid from 2015 and US Social Security are taxed in both countries, with credit in Spain.
- Government service pensions are usually taxed in the paying country and raise the Spanish rate on other income.
- The filing threshold for a foreign pension is €15,876; if you claim credit for foreign tax, you always file.
If you have pensions from several countries, a large lump sum, or a move still ahead, book a consultation with a tax adviser: the order of payments is best set up before you become resident.
Sources
- Personal Income Tax Act (Ley 35/2006): Articles 7, 17, 18, 80, 93, 96, 98, Additional Provision 20, Transitional Provision 12
- Spain–UK treaty 2013, Articles 17, 18, 22
- Spain–Germany treaty 2011, Articles 17, 18, 22 and Protocol
- Spain–France treaty 1995, Articles 18, 19, 24
- Spain–Italy treaty 1977, Articles 18, 19, 22
- Spain–US treaty 1990 with the 2013 Protocol, Articles 1, 20, 21, 24
- Spain–Switzerland treaty 1966, Articles 18, 19, 23
- Spain–Netherlands treaty 1971, Articles 19, 20, 25
- Spanish tax agency: double tax treaties in force
- Directorate General for Taxation, binding ruling V2460-21 of 29.09.2021: UK pensions of a Spanish resident
- How Spain taxes a foreign pension
- Where your pension is taxed: country table
- Three treaty outcomes
- When you must file a return
- Taking a lump sum instead of a pension
- Planning before the move, and the Beckham Law
- How to stop tax being withheld in the paying country
- US citizens and UK nationals
- Frequently asked questions
- Do I pay tax in Spain on a foreign pension?
- Where is the UK State Pension taxed if I live in Spain?
- How much tax does Germany withhold from the pension of a retiree living in Spain?
- Do I need to file a return for a small pension from abroad?
- Is a lump sum from a foreign pension fund taxed in Spain?
- How do I stop tax being withheld in the country that pays my pension?
- Is US Social Security taxed for a Spanish resident?
- Can a retiree use the Beckham Law?
- Key points about tax on a foreign pension in Spain
- Sources