The Expat InvestorSee if you qualify

Spain · Selling a home

Capital gains tax in Spain when a non-resident sells

If you live outside Spain and sell a home there, Spain taxes the gain at 19% in 2026, whether you live in the UK, the US or elsewhere. The buyer holds back 3% of the price for the Agencia Tributaria (Modelo 211), you then file Modelo 210 to pay any balance or reclaim the excess, and the town hall charges its plusvalía separately. The UK and the US also tax the gain, with a credit for the Spanish tax.

Looking at a home in Spain? Four quick questions, then Rory tells you plainly what your budget reaches and whether the timing works.

See what fits →

How Spain taxes a non-resident's gain

A seller who is not tax resident in Spain pays non-resident income tax (IRNR) on the gain at a flat 19% (art. 25.1.f, TRLIRNR); unlike the tax on rent, the rate is the same for UK, US and EU residents. Co-owners are separate taxpayers, so a couple each declare their own share.

The gain follows Spanish income tax rules (art. 24.4); purchase taxes (costs by region) count in your favour, as the Agencia Tributaria's manual for non-residents explains:

What goes into the gain (Agencia Tributaria, October 2026)
ItemTreatment
Sale priceLess selling costs and taxes the seller pays
Purchase pricePlus purchase taxes, notary and registry fees, and improvements, but not repairs
Years the home was letCost reduced by depreciation of at least 3% a year on the building
Bought before 1995Part of the gain may be reduced, within a €400,000 cap on sale values

The exemption for reinvesting in a new main home is open only to residents of EU and EEA countries (additional provision 7), so it does not help sellers living in the UK or the US.

The buyer's 3% retention and Modelo 211

Whoever buys from a non-resident must keep back 3% of the agreed price, pay it to the Agencia Tributaria on Modelo 211 within a month and give the seller a copy (art. 25.2); with mixed ownership, only the non-resident owners' share counts. If the buyer fails to pay, the home itself stays answerable for the smaller of the 3% and the tax due.

Modelo 210: paying the balance or reclaiming the excess

The seller then has three months, starting when the buyer's month ends, to file Modelo 210 on the gain, whether it shows tax to pay or a refund (Orden HAC/623/2026). The 3% counts towards the 19% and any excess is repaid. The yearly filing on a home you keep is separate (non-resident tax).

Illustrative arithmetic only: one seller, hypothetical figures
StepAmount
Sale price€260,000
Less selling costs€8,000
Less purchase price €200,000 and €20,000 of taxes and fees€220,000
Gain€32,000
Tax at 19%€6,080
Withheld by the buyer (3%)€7,800
Refund claimed on Modelo 210€1,720

The plusvalía: a separate tax on the land

The town hall's plusvalía taxes the rise in value of the land under an urban home. The seller owes it, but when the seller is a non-resident individual the buyer becomes the substitute taxpayer (art. 106.2, RDL 2/2004), so the contract should cover it. It is declared within 30 working days, at a council rate of up to 30%.

Since a Constitutional Court ruling of 26 October 2021 (STC 182/2021), Real Decreto-ley 26/2021 lets you pay on the lower of two bases, and nothing is due if the deeds show no gain on the land (art. 104.5):

Maximum coefficients, objective method (art. 107.4)
Full years ownedUntil 30 Nov 2026From 1 Dec 2026
Under 10.150.17
100.120.22
120.090.14
20 or more0.400.30

Councils may set lower ones. The 2024 maxima (RDL 8/2023) apply because Congress revoked the 2025 and 2026 updates; the new set comes from RDL 29/2026, in force since 8 October and, on 2 November 2026, still awaiting Congress's validation vote.

Illustrative arithmetic only: land with a hypothetical cadastral value of €40,000, held 12 years and sold in November 2026, gives an objective base of €3,600 (coefficient 0.09), or €1,080 at a 30% rate; the real-gain base applies only if it is lower.

How the UK taxes the same sale

UK residents can owe Capital Gains Tax on assets abroad (GOV.UK): for 2026–27, 18% on gains within the basic-rate band and 24% above, after a £3,000 allowance. HMRC converts the purchase price at the exchange rate when you bought and the sale price at the rate when you sold (CG78310), so the sterling gain can differ from the euro gain.

Under the UK–Spain convention Spain may tax the gain (art. 13) and the UK credits the Spanish tax (art. 22), up to the UK tax on the same gain (HMRC helpsheet HS263). Claim it through Self Assessment: HMRC's real-time service cannot take a foreign tax credit claim for overseas property.

Private Residence Relief covers a Spanish home only for tax years in which you, or your spouse or civil partner, spent at least 90 midnights there: the rule since 6 April 2015 for homes in countries where you are not tax resident (HS283; CG64582).

How the US taxes the same sale

US citizens report worldwide gains in dollars wherever they live (IRS Publication 54); most long-term gains are taxed at 0%, 15% or 20% (Topic 409). The exclusion of up to $250,000, or $500,000 for joint filers, covers only a main home owned and lived in for two of the five years before a sale (Publication 523).

The 1990 US–Spain treaty lets Spain tax the gain (art. 13) and the US credits the Spanish income tax (art. 24), claimed on Form 1116 (Publication 514). Tax that Spain would refund earns no credit, so an overpaid 3% is reclaimed in Spain. More in buying in Spain from the US.

If you live in Spain when you sell

Residents pay income tax (IRPF) on the gain as savings income (art. 46, Ley 35/2006). A resident over 65 pays no tax on the gain from selling his or her main home (art. 33.4.b), and a gain reinvested in a new main home can be exempt (art. 38.1); see retiring to Spain.

Information as of 2 November 2026, not advice; each relief has conditions not listed here. Have an independent Spanish lawyer (abogado) or tax adviser, and a UK or US adviser, check the figures before you agree a price, and see our IBI page for the yearly council bill.

Weighing up a home in Spain?

Rory speaks to every buyer before anyone is introduced: fifteen minutes, your budget and your timing, and a straight answer on whether it fits.

Talk to us about Spain →

Common questions

What is the capital gains tax rate in Spain for non-residents?

It is 19% of the gain in 2026, wherever the seller lives. The gain is the sale price less selling costs, minus the purchase price with its taxes, fees and improvements. The buyer withholds 3% of the price on account, and the seller settles up on Modelo 210.

How do I get the 3% retention back in Spain?

File Modelo 210 for the sale in the three months after the buyer's one-month deadline for Modelo 211. It works out the 19% tax on your actual gain, and if the 3% withheld was more, the Agencia Tributaria repays the difference. Keep the buyer's copy of Modelo 211 and both deeds.

Do I pay capital gains tax in the UK on a property sold in Spain?

Yes, if you are UK resident. HMRC taxes the gain, worked out in sterling, at 18% or 24% for 2026–27 after the £3,000 allowance, with a credit for the Spanish tax up to the UK tax on the same gain. Private Residence Relief needs at least 90 midnights there in each tax year.

What is the plusvalía tax in Spain and who pays it?

A town hall tax on the rise in value of the land under an urban home. The seller owes it, but when the seller is a non-resident individual the buyer pays it as the seller's substitute. The base is the land's cadastral value or the real gain, whichever is lower.

Do US citizens pay tax on selling a house in Spain?

Yes. The US taxes citizens on worldwide gains, so the sale goes on your US return in dollars, with a foreign tax credit for the income tax Spain charged. The home-sale exclusion of up to $250,000, or $500,000 jointly, covers only a main home, not a holiday home.

More on Spain

Sources

  1. Real Decreto Legislativo 5/2004, texto refundido de la Ley del IRNR, consolidated text, arts 24.4, 25.1 and 25.2 and additional provision 7 (BOE, last updated 25 May 2023)
  2. Manual de tributación de no residentes: ganancias patrimoniales derivadas de la venta de inmuebles (Agencia Tributaria, page updated 2 Oct 2026)
  3. Modelo 211: instrucciones (Agencia Tributaria, page updated 9 Jun 2026)
  4. Orden HAC/623/2026, de 12 de junio, art. 1.Dos: deadline for Modelo 210 on property transfers (BOE, 23 Jun 2026)
  5. Cuestiones específicas sobre tributación de inmuebles: co-owners as separate taxpayers (Agencia Tributaria, page updated 26 Sep 2024)
  6. Real Decreto Legislativo 2/2004, Ley Reguladora de las Haciendas Locales, consolidated text, arts 104-110 and amendment notes to art. 107.4 (BOE, last updated 7 Oct 2026)
  7. Real Decreto-ley 26/2021, de 8 de noviembre, adapting the plusvalía to Constitutional Court judgment 182/2021 (BOE, 9 Nov 2021)
  8. Real Decreto-ley 8/2023, de 27 de diciembre, art. 24: maximum plusvalía coefficients from 1 Jan 2024 (BOE)
  9. Real Decreto-ley 29/2026, de 6 de octubre, art. 10: maximum plusvalía coefficients from 1 Dec 2026 (BOE, 7 Oct 2026)
  10. Ley 35/2006 del IRPF, consolidated text, arts 33.4.b, 38.1 and 46 (BOE)
  11. Capital Gains Tax: rates and allowances (GOV.UK)
  12. Capital Gains Tax: what you pay it on (GOV.UK)
  13. Relief for Foreign Tax Paid 2026, HS263 (HMRC, updated 6 Apr 2026)
  14. CG78310: foreign currency, assets acquired or sold for currency (HMRC Capital Gains Manual)
  15. CG64582: Private Residence Relief, residences in another territory, day count (HMRC Capital Gains Manual)
  16. HS283 Private Residence Relief (2025) (HMRC, updated 6 Apr 2026)
  17. Report and pay your Capital Gains Tax: if you have other capital gains to report (GOV.UK)
  18. Synthesised text of the Multilateral Instrument and the 2013 UK-Spain Double Taxation Convention, arts 13 and 22 (GOV.UK, HMRC)
  19. Publication 54 (12/2025), Tax Guide for U.S. Citizens and Resident Aliens Abroad (IRS)
  20. Topic no. 409, Capital gains and losses (IRS, reviewed 24 Sep 2026)
  21. Publication 523 (2025), Selling Your Home (IRS)
  22. Publication 514 (2025), Foreign Tax Credit for Individuals (IRS)
  23. Income tax convention between the United States and Spain, signed 22 Feb 1990, arts 13 and 24 (IRS)

Last checked 2026-11-02. Rules and rates change; this is general information, not legal, tax or financial advice. Confirm your own position with an independent Spanish lawyer or tax adviser before you act.