Impossible To Name
How it worksVisasPricingGuideSupport
Check eligibilityEligibility
Guide/Healthcare & Finance

Should You Sell Your US House Before You Move to Spain?

September 14, 202611 min readLast verified September 2026

The closing date can matter more than the price. A US home sale closing in a calendar year when you're Spanish tax resident (Ley 35/2006, Article 9) is taxable in Spain at 19% to 30% in 2026, and Spain doesn't apply the US $250,000/$500,000 Section 121 exclusion.

→ Check which visas you qualify for with our free income calculator

Most people frame the house as a market question: sell now, or rent and wait. The question that moves six figures is quieter. Which tax year does the closing land in, and which country counts that year as its own? Two tax systems, one house, and neither reads the other's rulebook. The 1990 US–Spain tax treaty only partly reconciles them.

When does Spain start taxing your house sale?

Spain taxes your worldwide income for the whole calendar year in which you become tax resident. The statute has no split year, so a March closing can be a Spanish event if you arrive in June and stay.

Article 9.1 of the IRPF law makes you resident if either test is met during the año natural (calendar year):

Test What the law says
Days More than 183 days in Spain, with sporadic absences counted unless you prove tax residency elsewhere
Economic base The main centre of your activities or economic interests is in Spain
Family presumption Presumed resident if your non-separated spouse and dependent minor children live in Spain

Neither the law nor the Agencia Tributaria's manual on residencia habitual describes any proration for the arrival year. So the calendar decides:

When the sale closes Spanish status that year Who taxes the gain
A calendar year before your move Not resident US only
Earlier in your arrival year (closing in March, arriving in June, 183+ days in Spain) Resident for the whole year under Spanish law US and Spain, subject to the treaty
After you've arrived Resident US and Spain, subject to the treaty

The arrival-year wrinkle. Article 4 of the treaty breaks ties for someone resident in both countries: permanent home first, then centre of vital interests, habitual abode and nationality. Whether that shields a sale that closed before you moved depends on the facts, and we found no Agencia Tributaria guidance applying it to part of a year. If your closing and arrival share a calendar year, ask a cross-border tax adviser exactly that. Our guide to time outside Spain on the NLV and DNV explains how the tax day count differs from the immigration ones.

How much would Spain tax the gain?

Spain taxes a house-sale gain as savings income (base del ahorro). Articles 66 and 76 of the IRPF law set a state half and a regional half, which combine to:

Savings income (2026) Combined rate Cumulative tax at top of bracket
Up to €6,000 19% €1,140
€6,000 to €50,000 21% €10,380
€50,000 to €200,000 23% €44,880
€200,000 to €300,000 27% €71,880
Over €300,000 30% —

Some English-language guides still show a 28% top rate; the consolidated law on the BOE shows 30% above €300,000.

A worked example. A €150,000 gain, as Spain computes it, costs about €33,380 before personal allowances and other savings income. A €300,000 gain costs about €71,880.

Why Section 121 doesn't carry over

If you owned and lived in the home for at least 24 months of the last 5 years, the IRS lets you exclude up to $250,000 of gain, or $500,000 on a joint return (IRS Publication 523). That's a US rule. Spain's IRPF law has no equivalent, so a gain the IRS never taxes can be fully taxable in Spain.

What the treaty does, and where it runs out

Article 13 of the treaty lets the US tax gains on US real property. Article 24 tells Spain to credit the income tax actually paid in the United States on that income, capped at the Spanish tax on it. The Agencia Tributaria's leaflet for Spanish residents with US income (updated April 2026) confirms it: the gain can be taxed in both countries, and you claim the deduction for international double taxation.

That's the catch. If Section 121 wipes out your US tax, there's nothing to credit: 0% to the IRS, the full scale to Spain. Some guides say the treaty gives no relief on property sales at all. The text says otherwise; relief just depends on US tax existing. Where you do pay US tax (a gain above the exclusion, depreciation recapture), it reduces the Spanish bill, limited under Article 80 of the IRPF law to the lower of the US tax or your Spanish average rate on that income.

For the US filing side, including why the foreign earned income exclusion doesn't cover a home sale, see how US expat taxes work when you move to Europe.

Can a Spanish exemption cover a US home?

For reinvestment, yes. In binding ruling V1860-25 (October 2025), the Dirección General de Tributos applied the Article 38 exemption to Spanish tax residents who sold their main home in California and reinvested the full proceeds in a main home in Andalucía within two years. The over-65 exemption has no equivalent ruling for a foreign home that we could find, so confirm that one with an adviser.

Over 65 (Article 33.4.b). Gains from selling your vivienda habitual (main home) are exempt for taxpayers over 65, and for people with severe dependency.

Reinvestment (Article 38.1). The gain is excluded if the proceeds go into a new main home. Real Decreto 439/2007, Article 41 sets the terms:

  • Reinvest within two years after the sale, or pay for a new main home bought in the two years before it
  • Partial reinvestment exempts a proportional share of the gain
  • If the old house had a mortgage, "proceeds" means sale price minus outstanding principal
  • If you reinvest in a later year, declare that intention on the return for the sale year

What counts as a main home (Article 41 bis). Your residence for at least three continuous years. For both exemptions, it still counts if it was your main home at any point in the two years before the sale.

Read together, a pattern appears: move, sell the US house within two years of moving out, and put the proceeds into a flat in Valencia that becomes your main home. That's close to the facts the DGT accepted in V1860-25: the California house had been the couple's main home within the two years before the sale, and the full proceeds went into a new main home in Spain. It's also a lovely way to spend a gain: a terrace, a bakery downstairs, no gutters to clean. If you're buying, see whether foreigners can buy property in Spain in 2026.

Does the Beckham Law change the math?

It can. Under the special regime in Article 93 of the IRPF law, all work income is treated as Spanish-source, and otherwise only income obtained in Spain is taxed. It covers the year you move plus the next five.

It's open to people not Spanish tax resident in the previous five years who move for a reason the law lists, which now includes employees who work remotely for a foreign employer and hold the international telework visa (the Digital Nomad Visa). Self-employed DNV holders don't qualify through the telework route and generally fall outside the regime unless they meet the entrepreneur or highly qualified professional conditions. The Agencia Tributaria's page on the regime (updated July 2026) describes beneficiaries as taxed exclusively on Spanish-source income, which on the law's structure leaves a US house gain outside Spanish tax. The regime is tied to moving for work or business, so Non-Lucrative Visa holders generally fall outside it. Our Beckham Law explainer covers eligibility and the election.

What if you keep the house and rent it out?

Renting postpones the sale, not the tax questions. Spain taxes the rent while you're resident, and the Section 121 clock keeps running.

The US clock. You need 24 months of living there within the 5 years before the sale, so you have about three years after moving out to sell and still qualify. Publication 523 confirms the part of the window after you last lived there isn't nonqualified use. Depreciation allowed while renting is recaptured and can't be excluded.

Spanish tax on rent. Article 6 of the treaty lets both countries tax rent from US property. Per the Agencia Tributaria leaflet, you report it in Spain and claim the double taxation deduction. Here the credit works, because rent usually does generate US tax.

Modelo 720. Spanish residents report foreign real estate when its combined acquisition value exceeds €50,000 at December 31 (Real Decreto 1065/2007, Article 54 bis), filing January 1 to March 31 of the next year. You refile when that value rises by more than €20,000, and a sale during the year is itself reportable. Our guide to keeping a US brokerage account after moving covers the securities side of the same form.

If it sits empty. Article 85 imputes income on property that isn't your main home or rented. Without a Spanish cadastral value, it's 1.1% of half the property's Wealth Tax value (normally what you paid for it, or a higher value set by the tax authorities), prorated by days: about €2,200 a year on a €400,000 house. The DGT has confirmed this applies to property abroad (binding ruling V2481-19).

Wealth tax. Residents are taxed on worldwide net assets at December 31 (Ley 19/1991, Articles 5 and 29). Regions set their own exempt amount; the default where they haven't is €700,000 (Article 28). The house counts whether you keep it or sell it for cash. If you're taxed under the Beckham regime, Wealth Tax applies only to assets located in Spain, so the US house falls outside it.

Sell, rent or wait: how the options compare

The right option depends on the size of the gain, your age, your visa and whether you'll buy in Spain. This table sorts mechanics, not recommendations:

Option US tax Spanish tax Watch for
Close before the year you become resident Section 121 applies None on the sale Housing between closing and the move
Close in or after the arrival year Section 121 applies 19%–30%, credit only for US tax paid Arrival-year tie-breaker questions
Close after moving, buy a main home in Spain Section 121 applies Possibly exempt (Article 38) Two-year windows; both homes must qualify as main homes (DGT V1860-25)
Close under the Beckham regime Section 121 applies Generally outside Spanish tax Eligibility and the election; employees only on the DNV route
Keep and rent Rent taxed; exclusion lost after ~3 years away Rent taxed with credit; Modelo 720; wealth tax Depreciation recapture

Here's the reframe. The closing date is one of the few numbers in this move you actually control. A December and a January closing can be the same house, buyer and check, in two different tax years. That's a lever, not a trap.

And what the lever buys: evenings that end with a walk to the plaza instead of a Saturday behind the mower, and a school the kids walk to on their own. The old house was a good home. The next one comes with a longer lunch.

What to do before you set a closing date

  1. Map the calendar. Count the days you expect in Spain in your arrival year. Past 183, any closing that year is a Spanish question.
  2. Pull your records. Closing disclosure or HUD-1, improvement receipts and prior 1040s. Both countries want what you paid and put in.
  3. Check your Section 121 dates against the expected closing, especially if you'll rent first.
  4. Ask an adviser three questions. Does the treaty tie-breaker reach an arrival-year closing? Would the over-65 exemption in Article 33.4.b cover this US home? Does the Beckham regime fit my visa?
  5. Calendar Modelo 720 for any year you're resident and owned (or sold) the house.

Your visa drives the timeline, and the choice between the Digital Nomad Visa and the Non-Lucrative Visa also decides whether Beckham is on the table. Our free assessment sorts out which fits in about five minutes, and nobody calls afterward to ask about your house.


Ready to prepare your documents? We generate your Spanish visa forms, cover letter and a step-by-step checklist. The closing date is yours to pick. Start your free assessment →

Frequently Asked Questions

Does Spain tax the sale of my US home if I've already moved?

It can. If you're Spanish tax resident in the calendar year the sale closes, the gain is savings income taxed at 19% to 30% in 2026. Spain credits US tax actually paid under Article 24 of the treaty, but a gain fully covered by the $250,000/$500,000 Section 121 exclusion leaves nothing to credit.

Does Spain have a split tax year for the year I move?

The IRPF law doesn't provide one. Residency under Article 9 is decided for the whole calendar year: more than 183 days in Spain, or your economic base there. The treaty's Article 4 tie-breakers may matter when you're resident in both countries, so an arrival-year closing deserves professional advice.

Is the Section 121 exclusion recognized in Spain?

No. The $250,000 exclusion ($500,000 joint) for a home you lived in for 2 of the last 5 years is a US rule. Spain taxes the gain under its own law unless a Spanish exemption, such as reinvestment under Article 38 or the over-65 exemption, applies.

Can I avoid Spanish tax by buying a home in Spain with the proceeds?

Possibly. Article 38 exempts gains on a main home reinvested in a new main home within two years, and a house still counts as your main home for two years after you move out. The law doesn't limit this to Spanish homes, and the DGT confirmed this for a California home in binding ruling V1860-25 (2025).

How long can I rent out my US house and still use Section 121?

About three years after moving out, if you lived there at least 24 months before. The part of the 5-year window after you last lived there isn't treated as nonqualified use. Depreciation claimed while renting is still taxed at sale.

Do I have to report my US house on Modelo 720?

Yes, if you're Spanish resident and your foreign real estate exceeds €50,000 by acquisition value. File January 1 to March 31 for the prior year. You refile when the value rises by more than €20,000 or when you sell.

Disclaimer: This guide is for informational purposes only and does not constitute legal or immigration advice. Requirements change frequently — always verify current requirements with the relevant consulate or a qualified immigration lawyer before applying.

Sources:

  • BOE, Ley 35/2006 del IRPF, consolidated text (Articles 9, 33.4.b, 38, 66, 76, 80, 85, 93): https://www.boe.es/buscar/act.php?id=BOE-A-2006-20764
  • BOE, Real Decreto 439/2007, Reglamento del IRPF (Articles 41, 41 bis): https://www.boe.es/buscar/pdf/2007/BOE-A-2007-6820-consolidado.pdf
  • BOE, Real Decreto 1065/2007 (Article 54 bis, foreign real estate reporting): https://www.boe.es/buscar/pdf/2007/BOE-A-2007-15984-consolidado.pdf
  • BOE, Ley 19/1991 del Impuesto sobre el Patrimonio (Articles 5, 28, 29): https://www.boe.es/buscar/pdf/1991/BOE-A-1991-14392-consolidado.pdf
  • IRS, US–Spain income tax convention (1990) and Protocol (Articles 1, 4, 6, 13, 24): https://www.irs.gov/pub/irs-trty/spain.pdf
  • IRS, Publication 523, Selling Your Home: https://www.irs.gov/publications/p523
  • IRS, Topic No. 701, Sale of Your Home: https://www.irs.gov/taxtopics/tc701
  • Agencia Tributaria, residents with income from the United States: https://sede.agenciatributaria.gob.es/Sede/en_gb/ayuda/manuales-videos-folletos/folletos/folletos-residentes-rentas-extranjeras/estados-unidos.html
  • Agencia Tributaria, "Residencia habitual en territorio español": https://sede.agenciatributaria.gob.es/Sede/ayuda/manuales-videos-folletos/manuales-practicos/irpf-2025/c02-irpf-cuestiones-generales/sujecion-irpf-aspectos-personales/residencia-habitual-territorio-espanol.html
  • Dirección General de Tributos, binding ruling V1860-25 (14 October 2025), reinvestment exemption for a main home sold in California: https://petete.tributos.hacienda.gob.es/consultas/?num_consulta=V1860-25
  • Agencia Tributaria, calculating imputed real-estate income: https://sede.agenciatributaria.gob.es/Sede/vivienda-otros-inmuebles/imputacion-rentas-inmobiliarias/calculo-renta-imputada.html
  • Agencia Tributaria, special regime for impatriates: https://sede.agenciatributaria.gob.es/Sede/ayuda/manuales-videos-folletos/manuales-practicos/manual-tributacion-no-residentes/regimenes-opcionales/regimen-especial-impatriados.html
  • Agencia Tributaria, Wealth Tax for taxpayers under the Article 93 regime (obligación real, assets in Spain): https://sede.agenciatributaria.gob.es/Sede/no-residentes/impuesto-sobre-patrimonio/contribuyentes-reg-especial-art-93-patrimonio.html
  • Agencia Tributaria, Modelo 720 FAQ, calculating the limit: https://sede.agenciatributaria.gob.es/Sede/todas-gestiones/impuestos-tasas/declaraciones-informativas/modelo-720-decla_____sobre-bienes-derechos-extranjero_/preguntas-frecuentes/forma-calcular-limite-que-obliga-declarar.html
  • Agencia Tributaria, Modelo 720 FAQ, filing frequency: https://sede.agenciatributaria.gob.es/Sede/todas-gestiones/impuestos-tasas/declaraciones-informativas/modelo-720-decla_____sobre-bienes-derechos-extranjero_/preguntas-frecuentes/frecuencia-presentacion-declaracion.html
  • Iberley, DGT allows the reinvestment exemption for a home sold abroad (V1860-25): https://www.iberley.es/noticias/la-dgt-permite-aplicar-exencion-reinversion-aunque-vivienda-que-se-venda-radique-extranjero-36420
  • Primera Lectura, sale of a main home abroad and the reinvestment exemption (V1860-25): https://primeralecturaediciones.com/consultas/archivo/la-venta-de-una-vivienda-habitual-en-el-extranjero-puede-beneficiarse-de-la-exencion-por-reinversion-en-el-irpf/
  • SuperContable, DGT binding ruling V2481-19 (imputed income on property abroad): https://www.supercontable.com/informacion/impuesto_renta_IRPF/Consulta_Vinculante_V2481-19.Imputacion_de_renta_por_.html
  • Rook CPAs, selling a primary residence before moving abroad: https://rookcpas.com/moving-abroad-guides/selling-a-primary-residence-taxes/
  • Taxes for Expats, Section 121 home sale exclusion: https://taxesforexpats.com/articles/real-estate/121-home-sale-exclusion.html
This platform provides document preparation assistance only. We are not immigration lawyers and do not provide legal advice. Consulate requirements may change. Verify current requirements before your appointment.
Ready to find out if you qualify?

Our free eligibility assessment checks your situation against the current requirements in about 5 minutes.

Take the free assessment

Keep reading

Related guides

Healthcare & Finance
How Do US Expat Taxes Work When You Move to Europe?
Feb 24, 2026 · 13 min read
Spain
What Is Spain's Beckham Law and How Does It Save You Money?
Feb 19, 2026 · 9 min read
Planning & Lifestyle
How Much Money Do You Need to Move to Europe from the US?
Mar 28, 2026 · 6 min read
Impossible To Name
Expert visa prep for Americans moving to Europe.
Not legal advice. Document preparation only.
Product
How it worksVisasPricingIncome calculatorCheck eligibility
Company
AboutSupportGuide
Legal
TermsPrivacyRefunds
© 2026 Impossible To Name LLC · impossibletoname.com