top of page

We are Helping international clients thrive in Spain — legally, efficiently, and confidently.

  • LinkedIn

BE Updated in Spain

Subscribe to our news letter and blog.

Need guidance for your specific situation?

Keep It, Rent It, or Sell It: What Actually Happens to Your US Home Once You Move to Spain

10 minutes ago
7 min read

Still own a home in the US after moving to Spain?

The exclusion window on it is already running.


American expat couple enjoying their Valencia balcony after resolving their US home sale tax timeline
What Actually Happens to Your US Home Once You Move to Spain

Of everything Americans ask us before relocating, the house is usually the last thing they think to plan for — and the one with an actual, ticking deadline attached to it.

Most people assume the decision is purely financial: is the US housing market good right now, do I need the equity, do I want a rental income stream. It is also a tax-timing decision, and the clock starts the day you move out, not the day you decide to sell.

This is one of the most common gaps we find in intake calls: people plan the tax side of the move in detail — visa, Beckham, residency — and never think about the tax side of the house they left behind, right up until it's under contract.


If you sell it:

the exclusion you already have, and the clock you don't know about

As a US citizen, you can generally exclude up to $250,000 of gain ($500,000 if married filing jointly) on the sale of your primary residence under Section 121 — and this still applies even after you've moved abroad and become a Spanish tax resident.


Living in Madrid doesn't disqualify you.

What can disqualify you is timing. To claim the exclusion, you need to have owned the home and used it as your primary residence for at least 24 months within the five years before the sale date. That five-year window is constantly moving — it's measured backward from whenever you actually sell, not from when you bought the house. Here's what that actually looks like on a calendar, for someone who lived in the house right up until the day they moved to Spain:

Time since moving out

Can you still claim the $250k/$500k exclusion?

Sell in Year 1

Yes — well within the window

Sell in Year 2

Yes

Sell in Year 3

Yes, but this is the edge — the window is about to close

Sell in Year 4

No — your 24 months of "use" have aged out of the trailing 5-year window

Sell in Year 5+

No


In practice, you generally have about three years after you move out to sell and still have those 24 months of "use" sitting inside the trailing five-year window. Wait longer than that, and the exclusion can quietly disappear, even though nothing about your ownership changed.

We've seen this exact scenario: a family relocates to Spain, decides to rent the US house out "for a couple of years" while they settle in, and by the time they're ready to sell, they've missed the window without realizing it was ever running.


Spain taxes the sale too.

here's how the two sides fit together

Once you're a Spanish tax resident, Spain taxes your worldwide income, and that includes gains from selling a house in the US. Article 13(1) of the US-Spain treaty confirms the US, as the country where the property sits, keeps the right to tax that gain at source — the treaty doesn't take that away. Spain, as your country of residence, taxes the same worldwide gain under its own law. So a sale that clears under Section 121 on the US side can still generate a Spanish tax bill on the same gain, because Section 121 is a US domestic concept — it doesn't bind how Spain calculates your taxable base.

The way this is supposed to work: Article 24(1)(a) requires Spain, as your residence country, to credit the US tax actually paid on that gain against your Spanish tax on the same income. If any US tax remains due on the portion not covered by the exclusion, the Foreign Tax Credit (Form 1116) on the US side works the same way in reverse for tax paid to Spain — so you're not paying full tax twice on the same dollar of gain.


Meet the Whitfields:

a $240,000 gain, two very different tax bills

The Whitfields bought their home in Boulder, Colorado for $320,000 twelve years ago. They move to Valencia in 2026, rent the house out for two years while they settle into Spanish residency, then sell it in 2028 for $560,000.

Line item

Amount

Original purchase price (basis)

$320,000

Sale price (2028)

$560,000

Total gain

$240,000

Years between move-out and sale

2 years — inside the 3-year window

Section 121 exclusion available (married filing jointly)

$500,000

US taxable gain

$0

Spanish taxable gain (worldwide income, no Section 121 equivalent)

$240,000

Approximate Spanish tax (savings-income scale, 19%–30%)

≈$54,000–$62,000

US tax available to credit against that Spanish bill

$0 (none was owed)

Net result

Spain's full bill stands — with zero US tax to offset it


(These figures are illustrative, using rounded numbers in USD to show the mechanism — Spanish tax is actually assessed in EUR, and rates shown reflect those in effect as of 2026, which remain subject to change. Actual amounts depend on adjusted basis, selling costs, exact residency dates, and Spain's rate brackets in the year of sale.)


Here's the part that surprises people: doing everything "right" on the US side — qualifying cleanly for the full $500,000 exclusion — doesn't reduce the Spanish bill by a single euro, because there's no US tax paid left to credit against it. The exclusion protects the US side perfectly. It does nothing for the Spanish side. Those are two separate calculations that only look connected until you actually run them.


The wrinkle the table above leaves out:

depreciation recapture

Because the Whitfields rented the house out for those two years before selling, Section 121 doesn't even cover the entire US side of the story. Any depreciation they claimed — or were entitled to claim, whether or not they actually did — during the rental period has to be "recaptured" and taxed separately as unrecaptured Section 1250 gain, at a federal rate of up to 25%. That slice of the gain sits outside the Section 121 exclusion entirely, no matter how much of the $500,000 is otherwise available. If their income is high enough in the year of sale, the 3.8% Net Investment Income Tax can also apply to the portion of the gain attributable to the rental period. None of this is exotic — it's standard US tax treatment for any property that spent time as a rental — but it's exactly the detail that turns "we sold inside the window, so we're fine" into a real, smaller-but-real US tax bill anyway, on top of the Spanish one.


If you keep it and rent it instead

Renting rather than selling avoids the exclusion-timing question entirely, but it opens a different one: rental income becomes reportable in both countries every year you hold the property, with different rules on what expenses and depreciation you can deduct on each side, plus the same Article 24 credit coordination running every single year instead of once. It's a manageable, ongoing filing question rather than a one-time deadline — but it needs to be set up correctly from year one, not patched retroactively.


Where this leaves you

Whether to keep, rent, or sell your US home isn't a question with one right answer — it depends on your equity, your plans for returning, and your appetite for two countries' worth of paperwork every year. What it isn't is a decision you can make purely on real estate terms and sort out the tax side later, because by the time "later" arrives, the exclusion window may already be gone — and even when it isn't, Spain's bill doesn't disappear just because the US one did.


If you're planning a move and still own US property, book a Strategic Tax Fit session with our team and we'll map your specific timeline against the exclusion window before you decide.


A note on how this was written: the treaty citations above (Article 13 and Article 24 of the US-Spain Convention) were checked directly against the treaty text and its official Technical Explanation. This is high-level educational content, researched and drafted with AI assistance (Claude, Anthropic) under our team's review, not personalized tax advice.


Keep, rent or sell — the right call depends on your numbers, not a rule of thumb. Speak with our specialists before you decide.



Contact Us

Business Expats www.BusinessExpats.com


Madrid +34 692 26 6502 julio.sanchez@businessexpats.com


Andalusia +34 646 16 0662 paul.desousa@businessexpats.com


Lusophone Markets +34 643 98 87 10 juliana.pesqueira@businessexpats.com


Frequently Asked Questions


  • Can I still use the $250,000/$500,000 home sale exclusion if I’ve moved to Spain?

Yes. Becoming a Spanish tax resident doesn’t disqualify you from Section 121. What can disqualify you is timing: you need to have owned and used the home as your primary residence for at least 24 months within the five years before the sale date.


  • How long after moving out can I still sell and claim the exclusion?

In practice, generally about three years. The 24 months of qualifying use has to fall within the trailing five-year window measured backward from the sale date, so once roughly three years have passed since you moved out, that window starts closing.


  • If the sale is tax-free in the US under Section 121, is it also tax-free in Spain?

No. Once you’re a Spanish tax resident, Spain taxes your worldwide income, including gains from selling US property, under its own domestic rules. Section 121 is a US concept only — it has no equivalent that automatically applies on the Spanish side.


  • Does the US-Spain tax treaty prevent double taxation on the sale of my US home?

The treaty structures how the two countries coordinate, but it doesn’t eliminate a Spanish tax bill just because the US side is fully excluded. Article 24 requires Spain to credit US tax actually paid — but if your US tax is zero because of the Section 121 exclusion, there’s no US tax left to credit against the Spanish bill.


  • What if I rented the house out before selling it?

Any depreciation claimed, or that you were entitled to claim, during the rental period has to be "recaptured" and taxed separately as unrecaptured Section 1250 gain, at a federal rate of up to 25%, regardless of how much of your Section 121 exclusion is otherwise available. Higher earners may also owe the 3.8% Net Investment Income Tax on the portion of gain tied to the rental period.


  • Is it simpler to just keep renting the house instead of selling it?

It avoids the exclusion-timing question, but it creates an ongoing one: rental income becomes reportable in both countries every year you hold the property, with different expense and depreciation rules on each side, and the same treaty credit coordination running annually instead of once.



Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page