Blog Carbray International

Double Taxation Between Spain and the USA: How the Treaty Works

Woman comparing two cross-border tax returns

By Damián Carmona Rodríguez, immigration lawyer, founder of Carbray International and member no. 32228 of the Barcelona Bar Association (Il·lustre Col·legi de l’Advocacia de Barcelona).

Americans who move to Spain do not pay full tax twice on the same income, but they usually file in both countries. The US and Spain have a tax treaty that relieves double taxation, mainly through credits, not by switching off US tax. If you are a US citizen living in Spain, expect a Spanish return and a US return every year, and expect the treaty to decide which country gives way on which income.

This guide explains what the treaty covers, why the US keeps taxing its citizens, how Spanish tax residency is decided, how relief is claimed and where Social Security fits in. It is general information, not advice on your case, and rules change, so check the figures against the official pages we link.

Carbray International
Plan Your Move With Tax In Mind
Carbray brings immigration lawyers and tax advisors together to support newcomers with Spanish residency and personal tax planning.

Explore Carbray’s services

TL;DR

  • The treaty is the 1990 US-Spain income tax convention, amended by a protocol that entered into force on 27 November 2019. It covers US federal income tax and Spain’s personal income tax (IRPF) and corporate tax.
  • A “saving clause” lets the US tax its citizens as if the treaty did not exist. Relief for citizens comes mainly as a US foreign tax credit for Spanish tax, not as an exemption.
  • If you live in Spain for more than 183 days in a calendar year, or your main base of economic activity or family is there, Spain treats you as a tax resident on worldwide income.
  • Social Security is outside the income tax treaty. A separate totalization agreement decides which country’s system you pay into.
  • Treaty positions can require disclosure on IRS Form 8833, with a $1,000 penalty for failing to file it when required.

Table of Contents

What the US-Spain tax treaty is

The treaty is formally a convention for the avoidance of double taxation and the prevention of fiscal evasion with respect to taxes on income. It was concluded in 1990 and, according to the Treasury Department’s technical explanation, applies to people who are residents of one or both countries. A protocol signed on 14 January 2013 amended it and entered into force on 27 November 2019, so any guide that ignores the protocol is out of date.

The taxes it covers are:

  • In the US: federal income taxes, plus excise taxes on insurance premiums paid to foreign insurers and on private foundations. Social Security contributions are excluded, according to the message from the President transmitting the treaty.
  • In Spain: the Income Tax on Individuals (IRPF) and Corporation Tax.

What it does not cover matters just as much. US state income taxes are not federal taxes, and the treaty does not turn off your state’s rules. Spanish wealth tax, inheritance and gift taxes, and local property taxes are separate regimes. Spain’s regional governments also set parts of the tax, so where you live in Spain changes the final bill. If you are moving to a state with no income tax, your Spanish bill still depends on your Spanish region.

The treaty also reduces tax at source on investment income. The convention provides reduced source-country taxation of dividends, interest and royalties, which is why a US brokerage often withholds less on your dividends once you file the right treaty paperwork with it.

Why Americans still file in both countries

The US taxes on citizenship. The IRS states that citizens and resident aliens are generally taxed on worldwide income wherever they live, and the same filing requirements apply as for people living at home. Moving to Spain does not end your US return.

Spain taxes on residence. The Spanish tax agency explains that Spanish tax residents must declare their worldwide income in Spain, without prejudice to the treaty.

Both claims can attach to the same dollar. The treaty’s job is to say which country taxes first and which one gives credit.

The saving clause

The saving clause is the provision most Americans misunderstand. Under the technical explanation, it generally lets the US tax its citizens and residents as if the treaty had not come into effect. Where the US does so, it allows a credit for taxes paid to Spain, subject to Article 24.

The practical reading: the treaty is a mechanism to alleviate double taxation, not to eliminate US liability for citizens. A US citizen resident in Spain cannot rely on a treaty article to say “Spain has the exclusive right to tax this, so I will leave it off my US return.” Some narrow exceptions exist, which is where Form 8833 comes in (below).

Who is a Spanish tax resident

Because Spain taxes residents on worldwide income, the first question is whether you are one. According to the Agencia Tributaria, an individual is a Spanish tax resident if any of these applies:

  1. They stay in Spain for more than 183 days in a calendar year.
  2. Their main base or center of economic activities or interests is in Spain.
  3. Their non-legally-separated spouse and dependent minor children habitually reside in Spain.

Having a residence permit is not the same thing as being a tax resident. Digital nomads and retirees often become tax residents the moment they settle, even in their first year. Equally, someone who spends fewer than 183 days can still be resident if their family or business center is there.

When both countries claim you

A US citizen living in Spain will often be a resident of both countries under each country’s domestic rules. The treaty’s residency article contains tie-breaker rules to assign a single treaty residence, typically looking at where you have a permanent home, then where your personal and economic ties are closest, and so on. For a US citizen the tie-breaker matters less than people expect, because the saving clause lets the US tax citizens anyway. It matters more for green card holders and for treaty rates on specific income.

If you are still planning the move, our guides to the Spanish Digital Nomad Visa for US citizens and the Non-Lucrative Visa explain how the immigration side connects to tax residence.

How double taxation is relieved in practice

The mechanics depend on the type of income and on who is claiming, and there is one asymmetry that surprises many people.

The US side: foreign tax credit or exclusion

On the US return, you can generally choose between a credit or a deduction for foreign taxes. The IRS notes that taxpayers may choose a credit or deduction, subject to deadlines. For most working expats the credit is more valuable, because it reduces US tax dollar for dollar.

Earned income has another tool. Under the foreign earned income exclusion, the IRS says the maximum exclusion for tax year 2026 is $132,900 per person, up from $130,000 for 2025. You must meet the bona fide residence or physical presence test, and the exclusion applies to earned income only, not to dividends, interest or capital gains. Spanish income tax rates are often higher than US federal rates at middle and upper incomes, so many Americans in Spain find the credit leaves little or no residual US tax, but that depends on the numbers, the type of income and the timing of when each country taxes it.

If you freelance, the way you categorize business expenses affects both returns, and a guide on where to report self-employment tax deductions is a useful starting point for organizing the US side.

The US side: foreign tax credit or exclusion — overview diagram

The Spanish side: what Spain will and will not credit

Here is the asymmetry. The Agencia Tributaria states that US tax paid by a Spanish resident on the basis of citizenship does not qualify for the Spanish IRPF deduction for international double taxation. In that case the US is responsible for avoiding the double taxation.

In plain terms: Spain does not credit US tax that exists only because you are a US citizen. The US gives the credit for Spanish tax instead. That is why the order matters. Spain taxes you first as a resident, and the US then credits what you paid Spain.

How Spain and the US coordinate tax credits

A worked illustration

This example is simplified and uses invented round numbers to show the logic, not a forecast of your tax.

Maria, a US citizen, is a Spanish tax resident and earns a salary from a Spanish employer. Spain taxes the salary through IRPF. On her US return she reports the same salary. She can either exclude it under the foreign earned income exclusion (up to the 2026 limit above) or compute US tax and offset it with a foreign tax credit for the Spanish tax she paid. Either way, she does not pay the full US rate and the full Spanish rate on the same income, but she still files in both countries.

Now suppose she also has US-source dividends in a US brokerage account. Under the treaty, the US may keep a limited withholding right on those dividends, and Spain, as her country of residence, taxes them as well. Spain generally grants a credit for the US tax withheld within treaty limits, and the remainder is handled through her US return. That is the type of case where precise rates and forms matter, and where reading the treaty article for your specific income is worth the time.

How different income types are treated

The treaty contains separate articles for each income type. The research for this guide confirms the structure for investment income, and the Agencia Tributaria publishes a page on US-source income for Spanish residents. Use the following as a map, and confirm the exact rates in the treaty text and current Spanish and US guidance for your tax year.

Income typeGeneral approachWhat to watch
Salary from remote workTaxed where the work is physically performed; Spain taxes you as a residentA US employer paying you while you live in Spain does not make the income US-only
Self-employmentTaxed in your country of residence unless there is a fixed base elsewhereSelf-employment also triggers social security registration in Spain
Dividends and interestSource country may withhold at a reduced treaty rate; residence country taxes and creditsBrokerage must hold the correct treaty paperwork
Capital gainsRules differ by asset type, with real estate typically taxed where the property isUS citizens still report gains on their US return
Pensions and Social SecurityDifferent articles apply to private pensions and government pensionsCheck the totalization rules and the pension article together
Rental income from propertyGenerally taxed where the property sitsBoth countries may tax; credit mechanisms apply

The common thread is that source-country rules come first, then the residence country taxes and credits. For US citizens, the US sits on both sides of that sentence, which is the saving clause at work.

Social Security is a separate agreement

The income tax treaty excludes Social Security contributions. Contributions are governed by a separate totalization agreement. The Social Security Administration explains that totalization agreements fill gaps in benefit protection for workers who divided their careers between the US and another country.

For self-employed people, the US-Spain agreement assigns coverage to one system and exempts you from the other. Self-employed workers residing in the US are assigned US coverage, and those residing in Spain are assigned Spanish coverage. If you transfer your self-employment activity to the other country for five years or fewer, you remain covered by the country you left. Employees posted abroad by an employer have their own rules in the same agreement, and a certificate of coverage is how you prove which system applies.

For freelancers and digital nomads, this means that once you are resident in Spain, you should plan on Spanish self-employed contributions, not US self-employment tax, and keep your certificate of coverage on file.

Form 8833 and treaty-based positions

If you take a position that depends on a treaty and overrides or reduces US tax that would otherwise apply, you may need to disclose it. The IRS says Form 8833 is required to report treaty-based information, for instance when a treaty provision allows a foreign tax credit for a tax not allowed by the Internal Revenue Code, and that failing to report it may result in a $1,000 penalty.

Two cautions follow:

  • Not every treaty-related filing needs a Form 8833. Claiming a standard foreign tax credit under the Internal Revenue Code is not a treaty position. Whether your facts need the form is a question for a tax professional who reads the specific article you rely on.
  • Foreign account reporting (FBAR and FATCA forms) is separate from treaty disclosure. Having Spanish bank accounts creates its own US filing duties regardless of whether you owe tax.

On the Spanish side, residents with foreign assets above reporting thresholds have their own informational filings, and the Agencia Tributaria publishes the current forms and thresholds. Confirm the year’s thresholds before filing.

Perspective: what we see with American clients

Most Americans arrive thinking of the treaty as a shield. In practice, we treat it as a map. Our work with remote workers, retirees and professionals relocating to Spain keeps showing the same pattern: the real cost is rarely a second full tax bill. It is mismatched timing, missed forms and bad assumptions about which income belongs to which country.

Three habits prevent most problems. First, decide your tax residency date before you land, because the first-year position, including any special regime for new arrivals, is hard to repair later. Our guide to the Beckham Law explains one such regime, and our overview of tax benefits of living in Spain sets out the wider picture. Second, have one adviser look at both returns together, so the Spanish tax paid and the US credit claimed tell the same story. Third, keep records in both currencies at the exchange rates each tax authority requires.

Because we combine immigration lawyers, tax advisors and relocation specialists, we can line up the visa, the residency date and the first tax filings instead of handling them as separate problems. We do not promise outcomes: every case depends on your income mix, your visa category and your US state.

— Damián Carmona Rodríguez

A practical checklist for your first year

  1. Confirm your residency date. Count days and check the center-of-interests and family tests.
  2. Map your income by type and source. Salary, freelance, dividends, rent, pensions and gains follow different rules.
  3. Collect certificates. Get your certificate of coverage for Social Security and keep Spanish tax payment records.
  4. Choose the US relief method. Compare the foreign earned income exclusion and the foreign tax credit for your income, since mixing them has consequences.
  5. Decide whether any treaty position needs Form 8833. Get this reviewed before filing.
  6. File both returns, and the account reports. Check deadlines on the official pages each year.
  7. Revisit annually. Thresholds, such as the exclusion amount, change every year.

Getting help from Carbray

We advise individuals and companies moving to Spain and Portugal on visas, residency, the Beckham Law, personal tax planning and relocation, from our offices in Barcelona, Madrid and Málaga in Spain and Lisbon and Porto in Portugal. If you are choosing a visa and want the tax consequences mapped at the same time, see our services for individuals. Pricing is available on request after a consultation.

If you are comparing countries, our Spain vs Portugal comparison covers taxes, residency and citizenship side by side.

FAQ

Does Spain have a tax treaty with the US?

Yes. The 1990 convention for the avoidance of double taxation covers US federal income taxes and Spain’s personal and corporate income taxes. A protocol signed in 2013 amended it and entered into force on 27 November 2019. It reduces source taxes on items such as dividends, interest and royalties and sets rules for resolving residency conflicts.

Do US citizens pay taxes in Spain and the US?

If you are a Spanish tax resident, you declare worldwide income in Spain. As a US citizen, you also file a US return on worldwide income. The treaty and US foreign tax credit mechanisms then reduce or remove the duplicate tax, but they do not remove the filing obligation.

Does the treaty exempt my US-source income from Spanish tax?

Not generally. A Spanish resident declares worldwide income, including US-source income, and the treaty decides how much each country may tax and which gives credit. Spain will not credit US tax charged solely because of your citizenship, so the US credit mechanism carries that relief.

Is Social Security covered by the income tax treaty?

No. Social Security contributions are excluded from the treaty’s covered taxes. A separate totalization agreement assigns your coverage to one country, for self-employed people generally according to where you reside.

Do I need Form 8833?

Only if you take a treaty-based position that requires disclosure, for example where a treaty provision allows a credit the Internal Revenue Code does not. The IRS says failing to report can bring a $1,000 penalty, so have a tax professional check your facts before you file.

Book a consultation

Tax residency, visa choice and the first-year filings are easier to get right together. Book a consultation with Carbray International’s immigration lawyers, and we will review your situation, your income and your timeline, and explain the next steps from our offices in Spain and Portugal. Start at carbrayinternational.com.

Sources

This article is for general information only and does not constitute legal or tax advice. Immigration and tax rules change frequently; for advice on your specific situation, contact Carbray International’s lawyers.

Do you have questions about immigration or global mobility?

Leave your details, and we’ll provide personalized guidance.
Contact us!

What services do you need?

Thank you. Carbray does not help with job search or work visas without a job offer. If you plan to move to Spain as a digital nomad, entrepreneur or retiree, we'll be happy to help.

MENÚ