The wellbeing risk for Americans in Spain is being taxed twice on the same income — the US-Spain treaty prevents it, but only if you read which country has the taxing right on each type of income.
Quick Answer: The US-Spain treaty stops the same income being taxed twice, but it does not apply automatically — each income type (pension, dividends, capital gains) has its own rule on which country taxes first. Americans still file in both systems, so matching the right rule to each source is what saves money.
What Is the US-Spain Tax Treaty?
Tell us what you are facing
Email marialuisa@costaluzlawyers.es with a short description of your situation. We reply with the next step and who in the firm handles it. If your question turns on your own documents or figures, reviewing them is a separate, scoped service that we explain before any work starts.
Email your case → marialuisa@costaluzlawyers.es · WhatsApp · Book the optional intro call
The Convention between the United States and Spain for the Avoidance of Double Taxation has been in force since 1990. Its purpose is straightforward: to prevent the same income from being taxed by both the IRS and the Spanish Agencia Tributaria. For the growing number of Americans living in or moving to Spain, understanding this treaty is not optional — it is essential to your financial wellbeing.
This guide explains the key articles of the treaty in plain language, with practical examples of how each one affects US expats in Spain.
Articles 20 & 21: Pensions and Social Security
This is the article that matters most to American retirees in Spain.
Private Pensions (401(k), IRA, Company Pensions)
Under Article 20, private pension distributions are generally taxable only in the country of residence. This means:
- If you are a tax resident of Spain receiving 401(k) or IRA distributions, Spain has the primary right to tax that income.
- The US may still withhold tax at source (typically 30% unless you file Form W-8BEN to claim treaty benefits and reduce the rate).
- You can then claim a Foreign Tax Credit in Spain for any US tax withheld, ensuring you are not taxed twice.
US Social Security Benefits
Under Article 20(1)(b), social security benefits paid by one country to a resident of the other may be taxed in the paying country. The wording carries the whole point: “may be taxed” is not “shall be taxable only in”. It does not remove Spain’s right to tax the same benefit as your country of residence.
The Spanish tax authority states its position directly. In its official guidance for residents with United States source income, the AEAT treats US social security under Article 20 and notes that these payments may also be taxed in the United States, the Spanish resident then applying the deduction for international double taxation — provided that income was taxed in the United States on a basis other than citizenship.
That last condition is where most published guides go wrong. The United States reserves the right to tax its own citizens as if the Convention were not in force — the saving clause. Where the US tax arises purely from your citizenship, it is not the tax that opens the Spanish deduction; the relief runs the other way, through the US foreign tax credit.
Practical impact. A US citizen who is tax resident in Spain should expect to report social security income in Spain rather than treat it as exempt there. How much Spanish tax is actually payable, and how the two credit mechanisms interact in your case, depends on your full income picture and is not something a general guide can settle for you.
Government and Public-Service Pensions
A federal, state, military or other government-service pension is not governed by Article 20 at all. It falls under Article 21, which the Convention titles Government Service, and the rule is close to the opposite: generally taxable only in the United States and exempt in Spain — but Spain applies that exemption with progressivity, so the exempt pension still raises the rate charged on the rest of your income.
There is a further reversal. Where the beneficiary holds Spanish nationality, the AEAT’s guidance is that the pension is taxable only in Spain. Treating “pensions” as one category is the most expensive simplification in this area: a private pension, a social security benefit and a government-service pension are governed by three different rules with three different outcomes.
Sources: AEAT, guidance for residents with United States income; Convention of 22 February 1990, BOE-A-1990-30940, Articles 20 and 21. This section is general information about how the rules are framed, not advice on your situation.
Spanish State Pensions
If you receive a Spanish public pension, it is generally taxable only in Spain.
Article 13: Capital Gains
The capital gains provisions are especially relevant if you own property or investments in either country.
- Real property gains: Gains from selling property are taxable in the country where the property is located. If you sell a home in Spain, Spain taxes the gain. If you sell a home in the US while living in Spain, the US taxes the gain — and Spain may also tax it as part of your worldwide income, but must provide a credit for the US tax paid.
- Stock and securities: Gains from selling shares or other financial assets are generally taxable only in the country of residence. So if you are a Spanish tax resident selling US stocks, Spain has the primary taxing right.
- Business asset sales: If the gain relates to a permanent establishment (business premises), it is taxable where the establishment is located.
Article 10: Dividends
Dividends paid from one country to a resident of the other are subject to the following rules:
- The country of source (where the company paying the dividend is based) can withhold tax, but the rate is capped at 15% (or 10% if the beneficial owner is a company holding 25% or more of the voting power).
- If you are a Spanish resident receiving dividends from a US company, the US may withhold up to 15%. Spain will then tax the dividend as part of your worldwide income but must provide a credit for the US withholding.
Action required: Ensure your US brokerage has your Form W-8BEN on file with your Spanish tax residence claimed, so they apply the reduced treaty rate (15%) rather than the default 30% withholding rate.
Article 11: Interest
Interest income (from bank accounts, bonds, loans) follows a similar pattern:
- The source country can withhold tax on interest, capped at 10%.
- The country of residence taxes the interest as part of worldwide income and provides a credit for the source-country withholding.
Article 12: Royalties
Royalties (payments for the use of intellectual property, copyrights, patents) are generally taxable only in the country of residence under the US-Spain treaty. This is more generous than many other US tax treaties.
Article 22: Elimination of Double Taxation — The Credit Method
The treaty uses the credit method to eliminate double taxation. This means:
- Both countries tax your worldwide income as their domestic law requires.
- The country of residence (Spain, for most expats) provides a tax credit for taxes paid to the other country.
- This credit cannot exceed the amount of tax that would have been payable on that same income under domestic law.
On the US side, you claim the credit using Form 1116 (Foreign Tax Credit). On the Spanish side, your tax adviser will apply the corresponding deduccion por doble imposicion internacional on your Modelo 100.
Form 8833: How to Claim Treaty Benefits
To take a treaty-based position on your US tax return (for example, claiming that your pension is taxable only in Spain), you must file Form 8833 (Treaty-Based Return Position Disclosure) with your return. Failure to disclose can result in a $1,000 penalty per failure.
On Form 8833, you must specify:
- The treaty article you are relying on
- The nature of the income
- Why the treaty provision applies to your situation
Common Mistakes US Expats Make with the Treaty
- Assuming Social Security is exempt in Spain: It is — but you must actively claim this. Many Spanish advisers are unfamiliar with the US-Spain treaty specifics.
- Not filing Form W-8BEN: Without it, US brokerages withhold 30% instead of the treaty rate of 15% on dividends.
- Forgetting Form 8833: Even if the treaty eliminates your US tax liability on certain income, you must disclose this on your return.
- Double-counting credits: You cannot claim both the Foreign Earned Income Exclusion and the Foreign Tax Credit on the same income.
- Ignoring state taxes: Some US states (California, New Mexico, Virginia and others) continue to tax former residents. The federal treaty does not override state tax law.
Get Expert Help with Your US-Spain Tax Situation
The US-Spain tax treaty is a powerful tool, but only if applied correctly. Mistakes can result in double taxation, penalties or missed credits worth thousands of dollars. Our team works with specialist US-Spain cross-border tax advisers to ensure every treaty benefit is properly claimed.
Need help with your US-Spain taxes?
📞 Book a consultation or reach us on WhatsApp to get started.
Frequently Asked Questions
Does the US-Spain tax treaty stop me being taxed twice?
Yes, in principle — but it works article by article, not as a blanket exemption. Each income type (pensions, dividends, capital gains, interest) has its own rule for which country taxes first, and the other country then gives a credit for that tax under Article 22’s credit method.
Is US Social Security taxed in Spain?
It can be. Article 20(1)(b) says social security benefits “may be taxed” in the paying country, wording that does not give the United States exclusive rights and does not exempt Spain as your country of residence. The AEAT’s published position is that a Spanish resident reports this income and applies the deduction for international double taxation only where the US tax was charged on a basis other than citizenship. Treat exemption in Spain as something to be established on your facts, not assumed.
Do I need to file Form 8833?
Yes, if you are taking a treaty-based position on your US return — for example, claiming your pension is taxable only in Spain. Failing to disclose this on Form 8833 can result in a $1,000 penalty per omission.
What happens if my US brokerage doesn’t have my Form W-8BEN on file?
Without it, US brokerages withhold the default 30% on dividends instead of the treaty-reduced 15% rate — money you then have to reclaim rather than simply not having it withheld in the first place.
Does the treaty override US state taxes?
No — the federal US-Spain treaty does not bind individual states. Some states, including California, New Mexico and Virginia, continue to tax certain former residents regardless of the federal treaty position.
For a complete overview of taxation in Spain, see our Spanish tax guide for non-residents.
Disclaimer: This information is provided for general guidance purposes only and does not constitute personalised tax or legal advice. Each case must be assessed individually according to the client’s specific circumstances. It is essential to consult a qualified specialist before taking any action or making any decision.
Legal Notice: The content on this page is provided for general informational and educational purposes only. It does not constitute legal advice and should not be relied upon as such. No action should be taken based solely on this content without first seeking independent professional legal counsel. Each case requires individual assessment based on its specific circumstances. CostaLuz Lawyers accepts no liability for actions taken or not taken based on this content.
This is general information, not definitive legal advice — every case requires individual analysis.
Need advice on a Spanish legal matter?
We advise foreign clients on Spanish property, inheritance, tax and residency matters. Bilingual help across southern Spain since 2006.
Client line (EN/ES): +34 919 499 342 · marialuisa@costaluzlawyers.es · Costaluz Lawyers — Maria de Castro, ICA Cádiz nº 2745.

How about 457b and 403b for public school employees like public school teachers? I have read both arguments. Some say withdrawals are taxed by US only and others say Spain gets to tax them. Not sure what to believe.
For U.S. public school employees, the Spanish tax treatment of 403(b) and 457(b) withdrawals is not always straightforward.
A 403(b) is often treated more like a private retirement plan, which may make it taxable in Spain if the recipient is Spanish tax resident. A governmental 457(b), however, may require deeper analysis because of its connection with public-sector employment.
The correct answer depends on the plan documents, employer type, payment method, and the Spain–U.S. tax treaty classification.
For this reason, we strongly recommend booking a specialist tax consultation before taking a position in Spain or the U.S.
I’m somewhat confused on some terms used, such as living in Spain vs Residency. But from what I understand, basically if I obtain a NLV Visa, thereby spending more than 183 days in Spain, my public service pension is subject to being taxed in Spain, correct? Also, is it possible to “live” long term in Spain without becoming a resident?
Thank you for your question.
In general terms, there is an important distinction between having a Spanish residence permit (such as a Non-Lucrative Visa) and becoming a Spanish tax resident. While spending more than 183 days in Spain during a calendar year is one of the main criteria for tax residency, your overall circumstances also need to be considered.
Whether a public service pension is taxable in Spain depends on several factors, including the terms of the applicable Double Taxation Treaty between Spain and your home country. Therefore, there is no one-size-fits-all answer.
If you are planning a long-term move to Spain, we would be happy to assess your individual circumstances and explain the tax implications before you relocate.