🧠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.
🧠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.
🧠"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.
Once Spain counts you as resident, it taxes everything you earn, wherever it comes from. The country the money comes from often taxes it too: the UK on a let flat in Leeds, the US on every citizen, a home payroll that keeps deducting tax after you have gone. That is double taxation, and for most people on the Costa it is a timing and paperwork problem that can be fixed. Spain’s income tax law gives a credit for foreign tax, the treaties decide which country gets to tax each kind of income, and the social security rules say you pay into one system at a time.
This guide is the map. It covers each way people end up taxed twice, from the retiree with a UK pension to the remote worker on the digital nomad visa, and it says which of our guides takes each one further. Where the texts are silent and I am giving a reading, it says so.
Last verified: 27 October 2026.
The quick answer
Yes, two countries can tax the same income while you live in Spain, and it is legal for both to try. What stops you paying twice is a sequence of three questions:
- Which country you are resident in. Only one can win under a treaty, and the winner taxes your worldwide income.
- Which country the treaty lets tax each kind of income. Some income is taxed only in Spain, some only at home, and some in both.
- How Spain gives the money back where both may tax. Article 80 of the income tax law credits the foreign tax against your Spanish bill, up to a cap.
Social security runs on its own rules. Inside the EU, and with the UK, you pay into one system at a time. With the US and 25 other countries a bilateral agreement does the same job. Elsewhere, you can end up paying into both.
First: which country you are resident in
Spain makes you resident for the whole calendar year if you spend more than 183 days here, if your main economic base is here, or if your spouse and dependent children live here (article 9 of Ley 35/2006). Your home country applies its own test, and both can say yes at once. When they do, the convenio para evitar la doble imposición — double tax treaty between the two countries breaks the tie, starting with where you have a permanent home. Our dual tax residency guide covers the tie-breaker, what a foreign residence certificate proves, and the 2025 Supreme Court case from the Costa.
How Spain gives the money back: the foreign tax credit
The deducción por doble imposición internacional — international double taxation credit sits in article 80 of the income tax law. When your income includes earnings or gains obtained and taxed abroad, you deduct the lower of two amounts:
- the foreign tax you actually paid on that income, under a tax similar to Spanish income tax; or
- the Spanish tax on that same slice of income, worked out at your tipo medio efectivo — average effective rate: your total Spanish tax divided by your taxable base, with general income and savings income kept apart, to two decimal places.
So the credit never refunds more than Spain would have charged on that income. Say your Spanish average rate is 28%. If the UK took 40% on a slice of income, you deduct 28% and the other 12 points stay lost. If the UK took 20%, you deduct the 20% and Spain collects the other 8 points. You claim it on the ordinary return, Modelo 100, in the spring declaración de la renta — income tax return window.
Three points that decide whether the credit works for you:
- It does not need a treaty. Article 80 is Spanish law, so it applies to income from countries Spain has no treaty with. Denmark is the case people on the Costa meet: Denmark terminated its treaty with Spain with effect from 1 January 2009, according to Hacienda’s own treaty list.
- Where there is a treaty, the treaty wins. Article 5 of the income tax law puts treaties above it. The UK treaty, for one, gives the credit only for UK tax on income the treaty lets the UK tax. My read of the practical effect: tax a UK payer deducted when the treaty says the income is taxable only in Spain is not a Spanish credit. You claim it back from HMRC. The tax directorate has already refused a credit for UK tax that a UK exemption relieved (ruling V0270-23).
- Some income is exempt in Spain but still counts. Where a treaty gives the other country the only right to tax, Spain can add that income to your base to set the rate on the rest. Treaties call this exención con progresividad — exemption with progression.
One relief people miss sits elsewhere in the law. Article 7.p exempts salary for work physically done abroad for a company not resident in Spain, up to 60,100 euros a year, counted by the days you were away. It needs a country with a tax similar to Spain’s; a country with a treaty that includes an information exchange clause qualifies automatically. It covers days spent working abroad, not a foreign employer paying you while you work from Málaga.
Our foreign tax credit guide works through the calculation with examples, the treaty caps on withholding, the year the credit belongs to and what to keep as proof.
What the UK treaty decides, item by item
Most people on the Costa with income at home have it in the UK, and the 2013 Spain-UK treaty (in Spain’s official gazette since 15 May 2014) splits it like this for a Spanish resident:
| Income | Who may tax it | Treaty article |
|---|---|---|
| Salary for work you do while in Spain, whoever employs you | Spain only | 14.1 |
| Workplace and private pensions, and the State Pension | Spain only | 17 |
| Civil service pensions (central or local government) | UK only, unless you are resident in Spain and a Spanish national. Spain can still count it to set your rate | 18.2 and 22.1.b |
| Rent from a UK property | Both. The UK taxes it first, Spain taxes it as part of your worldwide income and credits the UK tax | 6 and 22.1.a |
Article 17 says pensions paid to a resident are taxed only where that person lives, and it does not limit the word to workplace schemes, which is why the State Pension sits there too. If a UK payer is still deducting tax from a pension the treaty gives to Spain, the fix is on the UK side: HMRC’s form Spain-Individual, with a Spanish certificate of tax residence for treaty purposes from the Agencia Tributaria, asks for relief at source or a repayment. Our guides to EU pensions in Spain and rental income tax take the other cases further.
Social security in two countries
Social security contributions are not income tax, and the income tax credit does not touch them. The relief here is a rule about which country’s system you belong to.
- Inside the EU. Regulation 883/2004 says you are subject to one country’s legislation only, normally the country where you work (article 11). An employee posted by a home employer, or a self-employed person carrying on similar work, can stay on the home system if the work is expected to last no more than 24 months (article 12). The home institution’s A1 certificate is the proof.
- The UK. Since 2021 the social security protocol to the EU-UK Trade and Cooperation Agreement keeps the one-system rule, with a 24-month limit for postings (article SSC.11).
- Bilateral agreements. Seguridad Social lists agreements with 26 countries, including the US, Canada, Australia, Japan, Mexico, Argentina and Brazil. The US agreement has run since 1 April 1988; under it, according to the US Social Security Administration, a self-employed person who moves a business to Spain for five years or fewer stays on US Social Security.
- No agreement. If you work in Spain from a country with none of these, nothing stops both systems charging you. Spain will expect you to register here.
Our guide to social security in two countries covers the certificates, postings, the UK’s voluntary contributions and how periods in two countries count towards a pension. Our social security guide covers Spanish contributions.
US citizens
Americans are the one group that cannot leave home tax behind. The US taxes its citizens on worldwide income wherever they live, and the saving clause in the Spain-US treaty lets it keep doing so whatever the tie-breaker says. Spain taxes you as a resident on the same income. The treaty then sorts out which country gives the credit for which income, and it is not always Spain: for a 401(k) or IRA the credit goes on the US return, for US Social Security it goes on the Spanish one. On the US side the tool for Spanish tax paid is the foreign tax credit on Form 1116; Form 2555, the foreign earned income exclusion, is an alternative for salary but does nothing for pensions. You also owe the US account report, the FBAR, once your non-US accounts pass 10,000 dollars at any point in the year, alongside Spain’s Modelo 720. Our guide for US citizens in Spain covers the filing year from both sides, and our US pensions guide works through the treaty on retirement income.
Still taxed at home after you leave
The year you arrive is where most double claims start. Spain has no split year: resident for the year means resident from 1 January. Your home country may have its own rules for the year you leave, such as the UK’s split-year treatment, and the two do not line up. Income that stays at home after you move, a let flat or a UK company you still run, can be taxed there as well as here for as long as you have it. A UK payer, pension provider or employer also keeps deducting tax until it is told you have left. Our year-before-residency guide covers what to settle before the move.
If you are on the digital nomad visa
Three things change for a remote worker.
- Your salary is taxed in Spain. Under the UK treaty, pay for work done while you are in Spain is taxable only here, even with a UK employer. If UK payroll keeps deducting PAYE, my read is that the money comes back from HMRC, not as a Spanish credit.
- The Beckham regime switches off the treaty. The tax agency’s manual says a person taxed under article 93 is not resident in Spain for treaty purposes, and the credit for foreign tax on salary is capped at 30% of the Spanish tax on that salary. Income left at home, such as a let flat, can then be taxed there at non-resident rates with no treaty article to point at.
- Your social security position comes from the visa file, not from the tax office: Spanish scheme, or a home-scheme certificate that names remote work from Spain.
Our digital nomad visa tax guide covers the employee and freelancer tracks, Modelo 149 and the six-month window.
What the credit does not do
- It does not refund foreign tax above the Spanish tax on the same income.
- It does not credit tax the other country was not entitled to charge under the treaty. That is a refund claim over there.
- It does not touch social security contributions.
- It does not decide your residence. If Spain and your home country both claim you, the tie-breaker comes first and the credit second.
The five-minute version
- Residence comes first. Two countries can both claim you; the treaty tie-breaker picks one, and that country taxes your worldwide income.
- Spain credits foreign tax under article 80 of the income tax law: the lower of the tax paid abroad and the Spanish tax on that income at your average rate. You claim it on Modelo 100.
- The credit works without a treaty, as with Denmark since 2009. With a treaty, only tax the treaty allows counts.
- Under the UK treaty: salary for work done here and pensions, State Pension included, are taxed only in Spain; civil service pensions only in the UK; UK rent in both, with the credit here.
- Social security: one system at a time in the EU and with the UK, 24-month postings; bilateral agreements with 26 countries including the US.
- US citizens file in both countries every year, with Form 1116 and the FBAR on the US side.
Related guides
- Dual tax residency in Spain: when two countries claim you
- Foreign tax credit in Spain: how Hacienda credits tax paid abroad
- Social security in two countries: which system you pay into from Spain
- US citizens in Spain: what living on the Costa means for your US taxes
- Digital nomad visa Spain tax: Beckham Law, filing and what you owe
- US pensions, Social Security and 401(k) in Spain
- EU pensions in Spain: how your home-country pension is taxed
- Social security in Spain
- Rental income tax in Spain
- The year before Spanish tax residency
- Income tax in Spain: the scales
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, 9 and 80; the Spain-UK double taxation convention of 14 March 2013 (BOE-A-2014-5171), articles 6, 14, 17, 18 and 22; Hacienda, list of double taxation conventions in force, including the note on Denmark; Regulation (EC) 883/2004, articles 11 and 12; EU-UK Trade and Cooperation Agreement, Protocol on Social Security Coordination, article SSC.11; Seguridad Social, list of bilateral social security agreements; US Social Security Administration, Totalization Agreement with Spain; HMRC, form Spain-Individual; Agencia Tributaria, tax residence certificate for treaty purposes and non-residents’ taxation manual on the article 93 regime; Real Decreto 439/2007, article 114; tax directorate (DGT) ruling V0270-23.
🌊 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.
Add WaypointSur as a preferred source in Google Search:

