Green Card Holders Moving to Spain: US Tax Status and the Beckham Law

Moving to Spain on a green card? You stay a US taxpayer until the status ends, and long-time holders face an extra trap. What to plan.

By Lorenzo, Spain Expat Consulting · Last checked: December 2026

Green card holders who move to Spain often assume that leaving the US ends their US taxes. It does not. As long as you hold lawful permanent resident status, the IRS treats you much like a citizen, wherever you live. And if you have held the card for a long time, the way you end that status matters.

Short answer: You remain a US tax resident under the green card test until your status is formally abandoned or taken away, for example by filing Form I-407. Until then you file US returns on worldwide income, as citizens do. If you have held the card in at least 8 of the last 15 tax years, you are a long-term resident, and ending your status, or claiming to be a Spanish resident under the tax treaty, can trigger the US expatriation rules. In Spain, you can usually use the Beckham Law like anyone else moving for work.

What are the key facts?

Point

Detail

US tax status

Resident until the green card is abandoned or revoked

How to abandon

Form I-407, filed with a US consular officer or immigration official

Long-term resident

Green card in at least 8 of the last 15 tax years

Treaty claim

Filing as a non-resident under a treaty (Form 8833) can end long-term residence

Spanish tax

Beckham Law available if you move for work and meet the conditions

Sources: IRS on the green card test, resident status and expatriation (Publication 6164).

Why you are still a US taxpayer in Spain

Under the IRS green card test, resident status continues unless it is taken away or administratively or judicially found to be abandoned. Living in Madrid does not change that. So in your first Spanish years you typically file both a Spanish return and a US return, using foreign tax credits to avoid double tax. Our guide to US taxes for citizens in Spain applies to you too.

What is the 8-of-15-year trap?

If you held a green card in at least 8 of the last 15 tax years, the IRS treats you as a long-term resident. When a long-term resident gives up the status, or starts filing as a non-resident under a tax treaty, the expatriation rules apply. Depending on your net worth and past US tax, that can mean an exit tax on unrealised gains. IRS Publication 6164 explains the definitions.

This is why timing matters: a treaty-based return claiming Spanish residence can count as ending your US residence. Do not file one without checking where you stand on the 8-of-15 count.

How does the Beckham Law fit?

Spain does not care about your US status; it looks at why you moved. If you move for a Spanish job, as a director or as a remote worker on the Digital Nomad Visa, you can usually opt for a flat 24% on salary for six years. Because the US still taxes you, a lower Spanish tax can mean a smaller foreign tax credit, so model both sides. See the Beckham Law and US tax.

Want both sides modelled? Book a Beckham Law consultation or WhatsApp Lorenzo.

Practical steps

  • Count your green card years before you move.

  • Decide whether you want to keep the card, knowing it keeps you a US taxpayer.

  • If you are close to 8 years, get US advice before filing any treaty-based return or Form I-407.

  • Plan your Spanish arrival and Beckham Law application separately; Spain’s deadline does not wait for US decisions.

Frequently asked questions

Will I lose my green card by living in Spain?

Long absences can lead immigration authorities to conclude you have abandoned residence. For tax purposes, the status lasts until it is formally ended.

Do I need to file FBAR from Spain?

Yes, if your foreign accounts exceed $10,000 in total. See Spanish bank accounts for Americans.

Does the Totalization Agreement apply to me?

Yes, it applies based on where you work and who employs you. See the Totalization Agreement.

Can my non-American spouse use the Beckham Law?

Family members can sometimes opt in under conditions introduced in 2023. Check early.

Plan both countries together

We handle the Spanish side and coordinate the timing with your US adviser. Book a Beckham Law consultation or WhatsApp Lorenzo.

This article is general information, not legal or tax advice. Fees, thresholds and procedures change, so check the official sources linked above or speak to us before you act.

Need help applying this information to your circumstances? Speak with Spain Expat Consulting about the assistance available for your next steps.