The US–Spain tax treaty does not exempt Americans in Spain from US tax: under its saving clause the US still taxes its citizens. It decides who taxes each type of income first and makes the other country give a credit, so a US citizen living in Spain pays roughly the higher of the two taxes, not both.
This guide is for Americans who already live in Spain or plan to move, and for green card holders and non-Americans with US income. It covers each type of income, the credit in both directions with a worked example, and what the treaty leaves out: wealth tax, estate tax and reporting. Every rule below was checked against the treaty text on the BOE and IRS sites.
What the treaty is and which text applies
The treaty is the Convention between the United States and Spain for the avoidance of double taxation with respect to taxes on income, signed in Madrid on 22 February 1990 and in force since 21 November 1990. A protocol signed on 14 January 2013 rewrote several articles; it was published in the BOE in October 2019 and came into force on 27 November 2019. Withholding changes apply to payments from that date, the rest from tax year 2020.
The protocol matters more than its age suggests. It cut withholding on interest and royalties to zero, introduced a 0% rate on dividends for pension funds and large corporate holdings, removed most source taxation of gains on shares, added a rule protecting pension funds until payout, rewrote the limitation on benefits article and added binding arbitration. Older articles online, and some adviser pages, still quote the pre-2019 rates.
The treaty covers only income tax: on the US side federal income tax, on the Spanish side personal income tax (IRPF) and corporate income tax. State and local US taxes, Spanish wealth tax and inheritance tax are outside it.
The saving clause: why Americans get less from the treaty
Article 1(3) lets each country tax its own residents, and the US its own citizens, as if the treaty had never come into effect. For a non-American living in Spain the treaty limits what the US can take. For a US citizen living in Spain it limits almost nothing on the US side: the IRS still taxes your salary, pension, dividends and gains at US rates.
What the clause does not override is short. Article 1(4) keeps, for citizens too, the relief from double taxation in Article 24, non-discrimination, the mutual agreement procedure, corresponding adjustments and the child support rule in Article 20(4). Pensions and Social Security are not on that list, a point several adviser pages get wrong. Former citizens who gave up citizenship mainly to avoid tax stay covered by the clause for ten years.
So for a US citizen the treaty works mainly through Article 24: it decides which country credits which tax. That is where the money is.
Who counts as a resident
Spain treats you as a tax resident for a calendar year if you spend more than 183 days in the country, if the centre of your economic interests is here, or, by presumption, if your spouse and minor children live here. The rules and the case law are in our guide to Spanish tax residency. A Spanish resident is taxed on worldwide income.
A US citizen is always taxed by the US, so for citizens the question of treaty residence rarely arises. It matters for green card holders and for people who also meet the US substantial presence test. Article 4(2) breaks the tie in this order: permanent home, centre of vital interests, habitual abode, nationality, and finally agreement between the tax authorities.
A green card holder who settles in Spain can claim treaty residence in Spain and be taxed by the US as a non-resident, disclosed on Form 8833. Think twice: for a long-term green card holder, claiming treaty non-residence can be treated as giving up US residence for tax purposes, with possible exit tax consequences.
How each type of income is taxed
The table shows the treaty allocation for US-source income of a Spanish resident. The last column is what changes when that resident is a US citizen: in every row the US keeps taxing, and the credit rules below sort out the overlap.
| Income | Who may tax under the treaty | US tax cap at source | What changes for a US citizen | Article |
|---|---|---|---|---|
| Salary for work done in Spain | Spain | — | US taxes as well; FEIE or foreign tax credit | 16 |
| Self-employment and freelance income | Spain, as the country of residence | — | US taxes as well; self-employment tax depends on the totalization agreement | 15 |
| Dividends from US companies | US first, capped | 15% (5% or 0% only for companies and pension funds) | US taxes citizens at its own rates; Spain credits only the 15% treaty share | 10 |
| Interest from US banks and bonds | Spain only | 0% | US taxes citizens; credit under Article 24(3) | 11 |
| Royalties | Spain only | 0% | US taxes citizens; credit under Article 24(3) | 12 |
| Gain on selling a US home or other US real estate | US, where the property is | US domestic rules | Spain also taxes and credits the US tax | 13(1) |
| Gain on selling US shares and funds | Spain only | 0% | US taxes citizens; credit under Article 24(3) | 13(6) |
| Private pensions, 401(k), IRA withdrawals | Spain only | — | US taxes citizens; credit under Article 24(3) | 20(1)(a) |
| US Social Security | US may tax; Spain may tax too | — | Spain credits the US tax | 20(1)(b) |
| US government pension (federal, state, military) | US only | — | Spain taxes it only if you are also a Spanish national | 21(2) |
| Rent from US property | US, where the property is | US domestic rules | Spain also taxes and credits the US tax | 6 |
Salary and self-employment
Employment income is Article 16, not Article 15 as some guides say. Pay for work done in Spain is taxed in Spain. Pay for short work trips to the US stays taxable only in Spain if you spend no more than 183 days there in any 12-month period and the cost is not borne by a US employer or a US permanent establishment. Self-employment and freelance income is Article 15: taxed in Spain unless you have a fixed base in the US.
On the US side a citizen chooses between the Foreign Earned Income Exclusion, $132,900 for 2026, and the foreign tax credit. Spanish rates on salary reach 45–47% above €60,000, so the credit usually wipes out US tax on earned income, and excess credits can be carried forward. Remote workers should also read our guide to digital nomad taxes in Spain.
Dividends, interest and royalties
For dividends from US companies the treaty lets the US tax up to 15%. The 5% rate is for companies owning at least 10% of the voting stock, and 0% is for companies holding 80% or more for twelve months that meet the limitation on benefits tests, and for pension funds. Interest and royalties are taxable only in the country of residence, so a Spanish resident who is not American files Form W-8BEN with a US broker and pays no US withholding on interest.
In Spain all three go into the savings base: 19% up to €6,000, 21% up to €50,000, 23% up to €200,000, 27% up to €300,000 and 30% above. The same applies to dividends from your own US company; see dividends after moving to Spain.
Capital gains
Gains on real estate are taxed where the property is. Selling a house in Florida as a Spanish resident means US tax first and Spanish tax with a credit. The US home sale exclusion of up to $250,000 or $500,000 is a US rule: Spain does not recognise it and taxes the gain at savings rates. Gains on shares of companies whose assets are mainly real estate follow the same rule.
Since the 2013 protocol, gains on ordinary shares and funds are taxable only in the seller’s country of residence. For a Spanish resident that is Spain, on the whole gain since purchase, with no step-up on the day you arrive.
Pensions, 401(k), IRA and Social Security
Private pensions and annuities are taxable only in the country of residence, Article 20(1)(a) and (2). For a US citizen in Spain that means Spain taxes the withdrawals on the general income scale and the US taxes them again as a citizen, crediting the Spanish tax. The protocol added Article 20(5): Spain does not tax income accruing inside a qualifying US pension fund, such as a 401(k), until it is paid out. Whether a Roth IRA withdrawal, tax-free in the US, is also free of Spanish tax is not settled by the treaty, and Spain has no equivalent of a Roth: plan on the assumption that the growth may be taxed.
US Social Security falls under Article 20(1)(b). The US may tax it, and because the right is shared rather than exclusive, Spain as your country of residence may tax it as well, crediting the US tax. US government pensions, federal, state or military, are different: under Article 21 only the US taxes them, unless you are both resident in Spain and a Spanish national.
Contributions are a separate agreement. The US–Spain totalization agreement, in force since 1 April 1988, stops you paying social security in both countries at once and lets periods in both count towards a pension. An employee sent from the US can stay in the US system for up to five years.
How the credit works in both directions
Article 24 does the real work for Americans. Spain gives a credit for US income tax, but not for the part the US charges only because you are a citizen, and never more than the Spanish tax on that income. In practice Spain credits the US tax a non-American would pay under the treaty: 15% on dividends, nothing on interest or share gains, the full US tax on US real estate.
The US then gives a credit for the Spanish tax that remains. To make that possible, Article 24(3) treats the income as arising in Spain to the extent needed, so the foreign tax credit limit does not block it, while US tax can never fall below the treaty share. Domestically, Spain applies the same logic through Article 80 of the IRPF law: the lower of the foreign tax paid and the Spanish tax on that income.
The example above uses €40,000 of dividends from US shares. Spain’s savings tax is €8,280. The treaty share of US tax is 15%, €6,000, which Spain credits, so €2,280 is paid in Spain. The US charges its 20% rate, €8,000, and credits Spanish tax only against the part of its tax above the treaty share: here €2,000. The US tax falls to €6,000, and the total is €8,280, exactly the Spanish tax. Where the US tax is the higher one, the US credits all of the Spanish tax and the total equals the US tax. Either way you pay the higher of the two systems, not the sum.
Two things can still leave a gap. The 3.8% US net investment income tax: the IRS does not allow the foreign tax credit against it. And timing: Spain taxes by calendar year in euros, the US in dollars, so exchange rates and different dates of recognition can leave credits unused. Spanish returns are filed in April to June, so keep the US figures ready by then; see Modelo 100.
What the treaty does not cover
- Wealth tax. Spain’s wealth tax and solidarity tax are not covered. A resident pays them on worldwide net assets above the regional allowance, including a US brokerage account and US property. See wealth tax in Spain.
- Estate and gift tax. There is no US–Spain estate tax treaty. The US taxes a citizen’s worldwide estate; Spain taxes heirs and donees resident in Spain, with regional reliefs. See inheritance and gift tax in Spain.
- Reporting. The treaty does not replace FBAR, Form 8938 or Spain’s Modelo 720, filed by 31 March when accounts, securities or real estate abroad exceed €50,000 per category.
- State taxes. California, New York and other states are not bound by the treaty and may keep taxing you while you keep a home, a driver’s licence or voter registration there.
- US funds held through non-US wrappers. For a US person a European fund is a PFIC with punitive US treatment, and the treaty does not help.
Tell us your situation — we reply within the hour
The Beckham regime and the treaty
The Beckham regime taxes employment income at a flat 24% up to €600,000 and leaves most foreign investment income untaxed in Spain for the year of arrival and five more. Under it you are taxed much like a non-resident, and Article 4(1) excludes from treaty residence anyone taxed only on income from sources in that country. The tax agency issues regime taxpayers a special certificate rather than a standard treaty residence certificate.
For an American the regime has a second catch. The US keeps taxing your worldwide income, and the foreign tax credit can only offset Spanish tax actually paid. A lower Spanish bill means a smaller credit and more US tax. The regime pays off for an American mainly when Spanish tax on the general scale would exceed US tax by a wide margin, for example on a high salary. Run both returns before opting in: the deadline is six months from your social security registration in Spain.
Before you move: decisions that save the most
- Unrealised gains. Spain taxes the whole gain since purchase. Gains realised before you become resident are taxed only by the US.
- Your US home. Selling before the move keeps the US home sale exclusion intact and avoids Spanish tax on the gain.
- Retirement accounts. Roth conversions and large IRA withdrawals are best timed before Spanish residence starts, when only the US taxes them.
- Companies. A single-member LLC can be treated in Spain as transparent, so its profit is taxed in your hands as it is earned. Decide which entities to keep before the move.
- Residence date. Spanish residence is counted per calendar year. Arriving in the second half of the year can keep that year outside Spain.
The wider picture for Americans, from visas to banks, is in our guide to moving to Spain from the US; citizenship questions are in dual citizenship in Spain for Americans. Your own numbers can be calculated in a consultation before you move: contact us.
Common mistakes
- Assuming the treaty exempts citizens from US tax. It does not; it allocates credits.
- Quoting pre-2019 rates: 10% on interest and 5–10% on royalties no longer apply.
- Expecting Spain to credit the full US tax on dividends. Spain credits only the 15% treaty share; the rest is credited by the US.
- Treating US Social Security as taxable only in the US.
- Forgetting Modelo 720 and Spanish wealth tax, which the treaty does not touch.
- Moving savings into European funds and creating PFIC problems.
Key points on the US–Spain tax treaty
- US citizens stay taxable in the US; the treaty removes double tax through credits, so you pay roughly the higher of the two taxes.
- Spain credits only the tax a non-American would pay under the treaty; the US credits the rest under Article 24(3).
- Since 27 November 2019: 0% on interest and royalties, 15% on portfolio dividends, share gains taxed only where you live.
- Wealth tax, estate tax, state taxes and reporting duties are outside the treaty.
- The biggest savings come from decisions made before Spanish residence starts.
Frequently asked questions
Does the US–Spain tax treaty stop Americans from paying tax twice?
Yes, but not by exempting you from US tax. Under the saving clause the US keeps taxing its citizens as if the treaty did not exist. Double tax is removed by credits: Spain credits the US tax the treaty allows, and the US credits the remaining Spanish tax. In the end you pay roughly the higher of the two countries’ tax, not both.
Is US Social Security taxed in Spain?
It can be. Article 20(1)(b) lets the US tax Social Security paid to a resident of Spain, but the right is not exclusive, so Spain as your country of residence may tax it too and must credit the US tax under Article 24. Spain taxes pensions on the general income scale, so check the numbers on your own benefit before you move.
Does the treaty cover Spanish wealth tax?
No. On the Spanish side the treaty covers only personal income tax and corporate income tax. Wealth tax and the solidarity tax on large fortunes are outside it, so a Spanish resident pays them on worldwide assets, including a US brokerage account, 401(k) and US real estate, with no treaty relief.
Is there a US–Spain estate tax treaty?
No. Spain is not on the IRS list of estate and gift tax treaty countries. A US citizen remains subject to US estate tax on worldwide assets, while Spain taxes heirs and donees who live in Spain under its regional inheritance and gift tax. Plan wills and gifts with both systems in mind.
Do I pay Spanish tax on my 401(k) or IRA?
Withdrawals are taxed in Spain as your country of residence under Article 20(1)(a), and the US also taxes them because you are a citizen; the US then credits the Spanish tax. Under Article 20(5), added by the 2013 protocol, Spain does not tax the growth inside a qualifying pension fund until it is paid out.
What is the withholding rate on US dividends for a Spanish resident?
For a Spanish resident who is not a US citizen, the treaty caps US withholding on dividends at 15%, with 5% and 0% available only to companies with large holdings and to pension funds. Interest and royalties are 0%. A US citizen gets no reduced rate from the US and pays US tax at the usual rates.
Can I use the Beckham regime and the treaty together?
Not in the usual way. Under the regime Spain taxes you like a non-resident on most income, and Article 4(1) of the treaty excludes people taxed only on Spanish-source income from treaty residence. For an American the regime has another catch: the less Spanish tax you pay, the less the US credits.
When did the 2013 protocol come into force?
On 27 November 2019. Its withholding rules apply to amounts paid or credited from that date, and the rest of the changes to tax periods starting on or after it, which for individuals means calendar year 2020. It cut interest and royalties to 0% and removed most source taxation of share gains.
Sources
- Convention between Spain and the United States of 22 February 1990, consolidated text (BOE)
- Protocol of 14 January 2013 amending the Convention (BOE, 23 October 2019)
- US–Spain income tax treaty, English text (IRS)
- Protocol of 14 January 2013, English text (US Treasury)
- Technical Explanation of the 2013 protocol (US Treasury)
- Estate and gift tax treaty countries (IRS)
- US international social security agreements (SSA)
- Non-resident income tax rates (AEAT)
- Law 5/2022 on the Modelo 720 regime (BOE)
- Form 8938 instructions (IRS)
- What the treaty is and which text applies
- The saving clause: why Americans get less from the treaty
- Who counts as a resident
- How each type of income is taxed
- How the credit works in both directions
- What the treaty does not cover
- The Beckham regime and the treaty
- Before you move: decisions that save the most
- Common mistakes
- Key points on the US–Spain tax treaty
- Frequently asked questions
- Does the US–Spain tax treaty stop Americans from paying tax twice?
- Is US Social Security taxed in Spain?
- Does the treaty cover Spanish wealth tax?
- Is there a US–Spain estate tax treaty?
- Do I pay Spanish tax on my 401(k) or IRA?
- What is the withholding rate on US dividends for a Spanish resident?
- Can I use the Beckham regime and the treaty together?
- When did the 2013 protocol come into force?
- Sources