The US–Spain Tax Treaty Explained: Pensions, Social Security, Dividends and the Saving Clause (Complete Guide)
A complete guide to the US–Spain tax treaty (1990 plus the 2019 Protocol): how the saving clause limits Americans, where private and government pensions, Social Security, 401(k) and IRA distributions, dividends, interest and capital gains are taxed, and how to avoid double taxation, with real examples.
By Jacob Salama, international tax lawyer (Bar no. 11.294, Málaga)
9/4/202610 min read
If you are an American living in Spain — or a Spanish resident with US income — one document decides how much tax you pay and to whom: the Convention between the United States of America and the Kingdom of Spain for the avoidance of double taxation, signed in 1990 and substantially amended by a Protocol that entered into force on 27 November 2019. It is a good treaty. It is also one of the most misunderstood, because Americans read it as if it protected them the way it protects everyone else. It does not. The reason has a name: the saving clause.
This guide walks through the treaty income by income — pensions, Social Security, government pensions, dividends, interest, capital gains, IRA and 401(k) distributions — with the article numbers you will need when dealing with the IRS, the Spanish AEAT, or a pension administrator. As of 2026, this is the framework that applies. Examples use real numbers; treaty analysis is fact-specific, so treat them as illustrations, not advice.
Why does the treaty protect Americans less than they think? The saving clause (Article 1.3)
Article 1.3 of the treaty contains the provision that shapes everything else: the United States reserves the right to tax its citizens and residents as if the treaty had not come into effect. Spain reserves the same right for its residents.
The consequence is brutal in its simplicity. If you are a US citizen, no allocation rule in the treaty ever switches off your US filing and tax obligation. The treaty may say "taxable only in Spain" — and the US will still tax you on that same income, because for its own citizens the US pretends the treaty does not exist. This is a direct product of American citizenship-based taxation: the US taxes its citizens on worldwide income wherever they live, and its treaties are drafted to preserve that.
Three practical takeaways:
US citizens resident in Spain always file in both countries. A Spanish IRPF return (Modelo 100) and a US Form 1040, every year, on the same worldwide income.
The treaty's job for US citizens is not to exempt income — it is to decide who taxes first and to guarantee that the other country gives a credit. Double taxation is relieved mostly through credit mechanics, not exemptions.
For Spanish residents who are not US citizens, the treaty works at full strength. A Spanish retiree receiving a US private pension, with no US citizenship or green card, genuinely escapes US tax under the treaty's residence rule.
Keep the saving clause in mind as you read each section below: every allocation rule has to be read twice — once for non-citizens, once for US citizens.
Who is a resident? Article 4 and the tie-breaker
Before any income rule applies, you need to know which country treats you as resident. Spain applies its domestic test (183 days, centre of economic interests, family presumption); the US treats citizens and green-card holders as tax residents automatically. When both countries claim you, Article 4 breaks the tie in sequence: permanent home available; if in both, centre of vital interests (personal and economic ties); then habitual abode; then nationality; and finally mutual agreement between the competent authorities.
For most Americans who genuinely move to Spain — home, family, daily life in Spain — the tie-breaker points to Spain, and Spain taxes worldwide income. But remember: winning the tie-breaker for Spain does not release a US citizen from Form 1040. That is the saving clause again.
Private pensions and 401(k)/IRA distributions (Article 20)
Article 20 of the treaty allocates private pensions — pensions paid in consideration of past employment, and annuities — exclusively to the country of residence. A Spanish tax resident drawing a US private pension, a 401(k) or a Traditional IRA is, under the treaty, taxable only in Spain.
For a non-US-citizen, this works cleanly: file Form W-8BEN with the plan administrator citing the treaty, and US withholding should stop; Spain taxes the distribution as employment income (rendimientos del trabajo) at progressive IRPF rates.
For a US citizen, the saving clause overrides the exclusivity: the US also taxes the distribution on Form 1040. Spain taxes first as the residence country; the US gives a foreign tax credit (Form 1116) for the Spanish IRPF paid. Because Spanish marginal rates on pension income (up to 47%, and higher in some regions) usually exceed US federal rates, the credit typically wipes out most or all of the US bill — but the paperwork is unavoidable.
Two Spanish-side points worth money:
Spain taxes the entire Traditional 401(k)/IRA distribution (contributions plus growth) as general-base employment income, because contributions were pre-tax in the US.
A genuine lump-sum distribution generated over more than two years may qualify for the 30% irregular-income reduction of Article 18.2 LIRPF (capped, and usable only once every five years). Periodic payments do not. Sequencing distributions is real planning, not a detail.
For the full Spanish mechanics of 401(k) taxation, see our dedicated guide: how a 401(k) is taxed in Spain under the tax agreement with the USA.
What about the Roth IRA?
The Roth IRA was created in 1997 — seven years after the treaty was signed — and Spain simply does not recognise its tax-free character. The US treats qualified Roth distributions as tax-free; Spain, as a general rule, treats the return of your original after-tax contributions as non-taxable return of capital but taxes the accumulated growth as savings income (19%–30% as of 2026). A Roth conversion executed while Spanish tax resident can be taxed in Spain even though no cash reached your pocket. If you are planning a move, convert before you become Spanish resident. The account also counts for Modelo 720 reporting. This deserves its own analysis — the treatment of deemed and unrecognised income is developed in our article on deemed income in Spain and the double tax treaty with the United States.
How is US Social Security taxed in Spain?
US Social Security benefits do not follow the clean residence-only rule of private pensions. Under the treaty framework as applied in practice, taxation is shared: the United States retains the right to tax Social Security benefits it pays (for non-resident aliens, via withholding on a portion of the benefit; for citizens, on the 1040 as always), and Spain, as the residence country, also taxes the benefit in the IRPF — granting a credit for the US tax borne so the same dollars are not taxed twice in full.
In practice, for a US citizen retired in Spain:
Social Security is reported on the US Form 1040 (up to 85% of the benefit taxable under US rules).
The same benefit is declared in Spain as pension income at general IRPF rates.
Spain allows a deduction for the effective US tax on that income, within the limits of Article 80 LIRPF and the treaty.
The ordering and documentation matter enormously — an AEAT reviewer will ask for proof of the US tax actually paid on the benefit, not merely withheld. We cover the calculation, the withholding rates and the AEAT's criteria in detail here: US Social Security in Spain — how your benefits are taxed.
Government pensions (Article 21): the exception that surprises federal retirees
Article 21 reverses the rule for pensions paid by the United States, a state, or a political subdivision for services rendered to that government: they are taxable only in the United States, even if the retiree lives in Spain. Spain must exempt them (though it may take them into account for progressivity). Federal civil-service pensions, military pensions and state-government pensions fall here — not under Article 20.
The carve-out: if the recipient is a Spanish national resident in Spain (and not solely a US citizen), taxing rights shift to Spain. This matters for dual nationals and for Spaniards who worked for US public bodies.
A retiree with a federal pension and a private 401(k) therefore has a split return: the federal pension is US-only (Article 21); the 401(k) is Spanish-taxable (Article 20). Mixing them up is one of the most common — and most expensive — errors we correct.
Dividends (Article 10): 15%, 5% and the 2019 Protocol's 0%
Article 10 caps the withholding the source country may apply to cross-border dividends:
15% — the general rate for portfolio investors (this is what a Spanish resident suffers on US dividends after filing W-8BEN, and what the typical American investor sees withheld).
5% — for corporate shareholders holding at least 10% of the voting stock of the payer.
0% — introduced by the 2019 Protocol for dividends paid to a company that has held, directly or indirectly, shares representing 80% or more of the voting power of the payer for the 12 months before the dividend is determined, provided the demanding limitation-on-benefits conditions are met. This put the US–Spain treaty on a par with the best European treaties and is a major reason US groups now hold Spanish subsidiaries directly.
For the individual investor in Spain the mechanics are: the US withholds 15% at source; Spain taxes the gross dividend at savings rates (19%–30% as of 2026) and grants a foreign tax credit for the 15% treaty withholding under Article 80 LIRPF. Crucially, Spain only credits the treaty rate — if 30% was withheld because you never filed W-8BEN, Spain credits 15% and the other 15% must be reclaimed from the IRS. Getting the W-8BEN in place is the cheapest tax planning available.
Interest and royalties: the 2019 Protocol's quiet revolution
Under the original 1990 text, interest and royalties suffered source-country withholding at up to 10% (with several royalty sub-rates). The 2019 Protocol reduced both to 0% as the general rule: interest and royalties are now taxable only in the recipient's residence country, subject to limitation-on-benefits and specific anti-abuse exceptions (certain contingent interest, for example, keeps a 15% rate). For a Spanish resident holding US bonds, or a US company licensing software to Spain, this eliminated a whole layer of friction — one of the reasons the post-2019 treaty is genuinely modern.
Capital gains (Article 13): shares vs. real estate and FIRPTA
Article 13 follows the classic pattern:
Gains on shares and securities are, in general, taxable only in the seller's residence country. A Spanish resident selling Apple stock pays Spanish savings-rate tax and, if not a US citizen, nothing to the US.
Gains on real property may be taxed where the property sits. A Spanish resident selling a Florida condo is taxed in the US — and here US domestic law adds FIRPTA: the buyer must generally withhold 15% of the gross price on account of the foreign seller's US tax, recovered or settled via a US return. Spain then also taxes the gain (worldwide income) with a credit for the US tax.
Gains on shares of companies whose value derives principally from real estate in one country can also be taxed there.
Do Americans in Spain report accounts twice? FBAR, FATCA and Modelo 720
Yes — the reporting regimes run in parallel and neither replaces the other:
FBAR (FinCEN Form 114): US side; required if foreign accounts exceed $10,000 in aggregate at any point in the year. Spanish bank and brokerage accounts count.
Form 8938 (FATCA): US side, filed with the 1040; higher thresholds for Americans abroad ($200,000 year-end / $300,000 peak for single filers), broader asset coverage.
Modelo 720: Spanish side; informational return on foreign accounts, securities and real estate above €50,000 per block. Your US brokerage account, your IRA, your American house — all reportable from Spain.
The same Vanguard account can appear on three forms in the same year. None of them charges tax by itself; all of them carry penalties for silence.
How do the foreign tax credits actually mesh? Form 1116 vs Article 80 LIRPF — and the correct order
Because the saving clause forces dual taxation on citizens, the whole system rests on two mirrored credit mechanisms, and the order in which you apply them is what prevents paying twice:
Determine which country taxes first under the treaty. For most income of a Spanish-resident American (salary, private pensions, 401(k)/IRA, dividends beyond the 15% US withholding, gains on securities), Spain is the primary taxing country. For US-only items (Article 21 government pensions, US real-estate gains, the 15% dividend withholding, the US share of Social Security), the US taxes first.
Spain credits US tax only where the treaty gives the US the right to tax — via Article 80 LIRPF, limited to the lower of the US tax paid (at treaty rates) and the Spanish tax on that income.
The US credits Spanish tax on income where Spain taxes first — via Form 1116, by baskets (general, passive), with a 10-year carryforward of excess credits.
The classic mistake is symmetric: crediting US tax in Spain on income the treaty assigns to Spain (the AEAT will deny it — the remedy is a refund from the IRS, not a Spanish credit), or expecting the IRS to credit Spanish tax on US-only income. Step-by-step worked examples are in our guide on how to avoid double taxation in Spain.
The Social Security Totalization Agreement: a separate instrument
Distinct from the tax treaty, the US–Spain Totalization Agreement coordinates social security contributions and benefit entitlement: it prevents a worker from paying into both systems at once (detached workers can remain in their home system for up to five years with a certificate of coverage) and lets you combine US and Spanish contribution periods to qualify for a pension in either country. It says nothing about income tax — do not confuse the two instruments, and check both if you have a working career split between the countries.
Two worked examples
Gregory, 67, retired in Valencia with a 401(k) and Social Security
Gregory, a US citizen, moves to Valencia in January and becomes Spanish tax resident. He draws $48,000 a year from his 401(k) and $30,000 of Social Security. Treaty result: the 401(k) is Article 20 income — Spain taxes it as employment income at progressive rates; the US also taxes it (saving clause) but Form 1116 credits the higher Spanish tax, leaving roughly zero US federal tax on it. Social Security is shared: taxed on his 1040, declared in Spain, with Spain crediting the effective US tax. He files Modelo 100, Modelo 720 (his IRA and US accounts exceed €50,000), FBAR and Form 8938. Total tax paid once, forms filed in duplicate — the standard American-in-Spain outcome when done correctly. Had Gregory instead held a federal civil-service pension, that piece would have been US-only under Article 21 and exempt in Spain.
Meredith, 41, consultant in Barcelona with a single-member LLC
Meredith, a US citizen, runs her consulting practice through a Wyoming single-member LLC while living in Barcelona. The LLC is disregarded for US tax; Spain generally looks through it too, so the consulting income is taxed in Spain as her personal self-employment income — and, because she works from Barcelona, Spain is the primary taxing country under the treaty's business and employment rules. She registers as autónoma, pays Spanish IRPF and social security (the Totalization Agreement lets her cover herself in Spain only), files her 1040 and uses the FEIE or Form 1116 to eliminate US federal tax. Her mistake in year one — leaving the income "in the LLC" and reporting nothing in Spain — is not a strategy; it is unreported Spanish income with an American paper trail, because FATCA means the AEAT can see more than clients assume.
Frequent errors we see, as of 2026
Believing the treaty exempts US citizens from filing in one country. It never does — the saving clause guarantees dual filing.
Never filing W-8BEN (non-citizens), suffering 30% US withholding and then discovering Spain only credits the 15% treaty rate.
Treating a government pension as a private one — paying Spanish tax on income Spain must exempt, or vice versa.
Roth conversions after becoming Spanish resident, triggering Spanish tax on phantom income.
Ignoring Modelo 720 because "I already file FBAR". The obligations are parallel, not alternative.
Crediting the wrong direction — asking Spain to credit US tax on income the treaty assigned to Spain.
Forgetting the estate dimension. Cross-border death brings its own treaty and succession issues — see our guide on inheritance between the USA and Spain.
Talk to us before the forms are due
The US–Spain treaty rewards people who plan a tax year ahead — Roth conversions, lump-sum timing, W-8BEN filings and credit ordering are all decisions best made before 31 December, not at filing time. If you are American in Spain, or Spanish with US income, we handle the Spanish side and coordinate with your US CPA so the two returns fit together.
WhatsApp: +34 644 121 802
Book a call: Calendly — consultation with Jacob Salama
Email: taxlegalspain@gmail.com
This article is general information as of 2026, not legal or tax advice. Treaty positions depend on personal circumstances and both Spanish and US law change frequently. Obtain individual advice before acting.
