Coastal villa above the sea in Marbella on Spain's Costa del Sol

Tax Guide

Capital gains tax when a non-resident sells Spanish property

Non-residents pay a flat 19% on the gain from a Spanish property sale, whether they are EU or non-EU. The buyer withholds 3% of the price as an advance, and a separate municipal tax on the land value — plusvalía — is also due. This guide sets out the rates, the allowable costs, the regional plusvalía position and the process end to end.

10 min readUpdated

How much capital gains tax do non-residents pay in Spain?

A flat 19% of the gain, for residents of the EU and non-EU countries alike. The gain is the sale price less selling costs, less the original purchase price and its associated costs — transfer tax or IVA, notary, registry and legal fees — and less capital improvements evidenced by invoices. The buyer retains 3% of the sale price and pays it to the Agencia Tributaria as an advance; if the real liability is lower, or the sale produced a loss, the balance is reclaimed on Modelo 210 within four months.

  • 19% applies regardless of how long you have owned the property.
  • The 3% retention is the buyer's legal obligation, not optional.
  • Plusvalía municipal is a separate, additional tax on the land value.

Key takeaways

  • Non-resident CGT is a flat 19% of the gain, EU and non-EU alike.
  • Purchase taxes, notary, registry, legal and agency fees, and evidenced improvements reduce the gain.
  • The buyer must retain 3% of the price and pay it on Modelo 211 within one month.
  • Overpayments are reclaimed on Modelo 210 within four months of the sale.
  • Plusvalía municipal is a separate town hall tax on the land value increase.
  • Since 2021 you can elect the real-gain method for plusvalía and pay nothing on a loss.

Calculating the gain

ItemTreatmentExample
Sale priceStarting figure€520,000
Selling costs (agency, legal, plusvalía)Deducted−€15,000
Original purchase priceDeducted−€400,000
Purchase costs (ITP/IVA, notary, registry, legal)Deducted−€40,000
Capital improvements with invoicesDeducted−€0
Taxable gain19%€65,000 → €12,350 tax

In this example the buyer retains €15,600 (3% of €520,000), so €3,250 is reclaimable. Note that maintenance and redecoration are not improvements — only works that add to the property, such as an extension, pool or full renovation, qualify, and only with proper Spanish invoices.

The 3% retention and how to reclaim it

Where the seller is a non-resident, the buyer is legally required to hold back 3% of the purchase price at the notary and pay it to the Agencia Tributaria on Modelo 211 within one month. The buyer gives you the stamped Modelo 211 as proof — without it you cannot make the reclaim.

If your actual liability is below the retention, file Modelo 210 within four months of the sale to reclaim the balance. Refunds are paid to a Spanish bank account, so keep your account open until the refund lands; the Agencia Tributaria has six months to pay before interest starts to run, and refunds commonly take longer than that in practice.

Plusvalía municipal by region

Plusvalía is charged by the town hall on the increase in the value of the land — not the building — between acquisition and sale. Since the 2021 reform you may choose whichever is lower of the objective formula (based on cadastral land value and years held) and the real gain method, and nothing is due where you can evidence that the land did not increase in value. It is normally paid by the seller within 30 working days of the notarial deed.

Region / cityTypical municipal rateIndicative cost, €500k sale held 10 years
MadridUp to 29% of the assessed land increase€3,000 – €7,000
BarcelonaUp to 30%€4,000 – €9,000
Malaga / Marbella25% – 30%€2,500 – €6,500
Balearics (Palma, Ibiza)Up to 30%€3,000 – €8,000
Valencia / Alicante25% – 30%€2,000 – €5,500
Canary Islands20% – 30%€1,500 – €5,000

Ranges are indicative: the actual figure depends on the cadastral land value and the municipality's own coefficients, so always ask the town hall or your lawyer for a calculation before agreeing a net sale figure.

When the tax has to be funded before the sale

Where a tax charge, an inheritance settlement or an onward purchase has to be dealt with before a Spanish sale completes, bridging finance in Spain or equity release are the routes our specialist partners see most often. Both are secured on the property and repaid from the sale proceeds. See also the inheritance tax guide where the sale follows a death.

Frequently asked

Questions from readers

How much capital gains tax do non-residents pay in Spain?

A flat 19% of the gain, for both EU and non-EU sellers. The gain is calculated after deducting the purchase price, purchase taxes and fees, evidenced capital improvements and the costs of sale.

What is the 3% retention on a Spanish property sale?

Where the seller is a non-resident, the buyer must retain 3% of the purchase price and pay it to the Agencia Tributaria on Modelo 211 within one month, as an advance against the seller's capital gains tax. Any overpayment is reclaimed on Modelo 210.

How do I reclaim the 3% retention?

File Modelo 210 within four months of the sale, declaring the gain and crediting the retention shown on the buyer's stamped Modelo 211. Refunds are paid only to a Spanish bank account, so keep yours open until the money arrives.

What costs can I deduct from a Spanish capital gain?

Transfer tax or IVA paid on purchase, notary, Land Registry and legal fees on both purchase and sale, estate agency commission, plusvalía municipal, and capital improvements supported by Spanish invoices. Routine maintenance and redecoration do not qualify.

Is there any capital gains relief for older sellers or main homes?

The main-home rollover relief and the over-65 exemption are available to Spanish tax residents, not to non-residents. EU/EEA non-residents selling what was genuinely their main home can in limited circumstances claim rollover relief on reinvestment in another EU main home.

What is plusvalía municipal and who pays it?

A town hall tax on the increase in land value between acquisition and sale, normally paid by the seller within 30 working days of the notarial deed. Since 2021 you can choose the lower of the objective formula and the real gain, and no tax is due where the land did not rise in value.

Do I pay capital gains tax again in my home country?

You declare the gain in Spain first, then usually in your country of residence, where the double taxation treaty gives credit for the Spanish tax paid. UK sellers, for example, report the gain to HMRC and offset the 19% already paid in Spain.

What if I sell at a loss?

No capital gains tax is due and the whole 3% retention is reclaimable on Modelo 210 within four months. You can also claim exemption from plusvalía by evidencing that the land value did not increase between the two escrituras.

Next step

Ready to assess your options?

Share a few details and a specialist will respond within one working day.

Get Your Finance Assessment

Two quick steps — a specialist will respond within one working day.

  • 40+ lendersWhole-of-market panel
  • 4–8 weeksTypical completion
  • Rated ExcellentClient reviews
  • No obligationFree initial review

An exact value lets us calculate your LTV straight away.

An exact figure lets us calculate LTV and indicative terms straight away.

Your figures

You're enquiring about finance for property in Spain.
Confidential — no obligation Rated 4.9 on Trustpilot

Where we cover

16 covered locations across Spain

We facilitate non-resident mortgages and bridging finance across mainland Spain, the Balearics and the Canary Islands. Select a location to explore the local guide.

Buyer guides

Financing Spanish property from your country of residence

Non-resident lending in Spain varies materially by buyer origin — currency, EU/EEA status, tax reporting and documentation all affect LTVs and lender appetite. Pick your country of residence for a tailored guide.

Ready to explore your options?

Speak to a Spanish property finance specialist.

A discreet, no-obligation conversation with a UK & Spain-focused specialist who understands both the UK and Spanish lending landscape.