Skip to main content
Luxury villa in Marbella on the Costa del Sol
Marbella & Costa del Sol buyer's guide · 2026

How much capital gains tax when a non-resident sells property in Spain? (the 3% retention explained)

The 19% rate and the 3% retention are two different things. Here is how they fit.

WhatsApp
Last reviewed 9 July 2026 · Researched by the GADAIT advisory team
Direct answer

As a non-resident seller, your capital gain is taxed at 19% (the same rate for EU and non-EU sellers). Separately, the buyer is legally required to withhold 3% of the sale price and pay it to the tax authority on your behalf using Modelo 211 — this is an advance payment against your tax, not an extra tax. You then settle the real position on Modelo 210 within four months of the sale: if your actual 19% liability is less than the 3% withheld, you reclaim the difference; if it is more, you pay the balance. Confirm the exact figures with a Spanish tax adviser.

In detail

The 19% tax on the gain

The capital gain is broadly the sale price minus your acquisition cost (including the purchase taxes and documented improvement works you paid). For a non-resident that gain is taxed at a flat 19% under the IRNR, and — unlike some other Spanish taxes — the 19% rate is the same whether you are an EU or a non-EU resident. That is your real tax liability on the sale.

Why the buyer keeps 3% — and how you reclaim it

The 3% retention is a collection mechanism, not a second tax. Because a non-resident seller can leave the country, Spain makes the buyer withhold 3% of the agreed sale price and pay it to the Agencia Tributaria via Modelo 211 within one month of completion. The seller receives only 97% of the price at the notary; the missing 3% is sitting with the tax office as a credit against the seller's actual tax.

The seller then files Modelo 210 within four months of the sale to declare the real 19% gain. Two outcomes: if 19% of your gain is less than the 3% withheld — common when the property has not appreciated much or was held a long time — you claim the excess back as a refund; if your 19% liability exceeds the 3%, you pay the shortfall. The frequent confusion is treating the 3% as 'the tax'; it is only an advance. Have your lawyer or asesor fiscal reconcile the two for your exact sale.

Sources

Sources

Primary and expert sources behind this answer:

This page is general information, not legal or tax advice. Spanish property tax, residency and letting rules are complex, regional and change frequently; every figure and rule here must be confirmed with a Spanish abogado (lawyer), a fiscal adviser (asesor fiscal) or a notary for your specific situation before you act.

Independent buyer's agent

Buying in Marbella or Sotogrande? Get an independent read first.

GADAIT is an independent luxury buyer's agent on the Costa del Sol. We confirm the tax, the residency reality and the real all-in cost for your specific case — before you commit a euro.

WhatsApp

Newsletter

Be among the privileged.

Subscribe to the Gadait International newsletter and receive the latest trends in the luxury market, along with exclusive opportunities for exceptional properties in advance.

Low frequency. High relevance.