Saltar al contenido

Free assessment
No obligation

Apply

Selling property in Spain as a non-resident: taxes and process

Selling property in Spain as a non-resident triggers specific tax obligations that differ from those of resident sellers. The most important one — the 3% buyer retention — catches many foreign sellers off guard. This guide covers the full process and how to claim back any overpayment.

Fernando HierroBy Fernando Hierro|
Guide7 min read
Excellenton TrustpilotIndependent comparatorFree assessmentReply within 24hBank of Spain reg. nº E569

The essentials

7 min full read
  • 1The buyer withholds 3% of the sale price and pays it directly to the Spanish tax authority
  • 2Capital gains tax for non-residents is 19% on the profit (sale price minus purchase costs)
  • 3Plusvalía municipal (local land value increase tax) is also due — paid by the seller
  • 4You can claim back the 3% retention if it exceeds your actual tax liability

Buying property in Spain as a non-resident?

We compare 53 Spanish banks for foreign buyers. Free assessment in 24-48h, all in English. Bank of Spain reg. nº E569.

Free assessment
011 of 4

The 3% retention: what it is and how it works

When a non-resident sells property in Spain, the buyer is legally obligated to withhold 3% of the total sale price and pay it directly to the Agencia Tributaria (Spanish tax authority) using Form 211. This happens at the notary signing — the buyer pays you 97% and sends 3% to the tax authority.

This retention is not a tax in itself — it is an advance payment on your capital gains tax liability. If your actual tax is less than 3%, you can claim back the difference. If it is more, you must pay the shortfall.

ExampleYou sell for €300,000. The buyer retains €9,000 (3%) and pays it to Hacienda. Your actual capital gains tax is €5,700. You claim back €3,300 by filing Form 210 within 3 months of the sale.

022 of 4

Capital gains tax calculation

Non-residents pay 19% on the capital gain, calculated as:

Item

Sale price

Amount

€300,000

Item

Minus purchase price + costs

Amount

- €220,000

Item

Minus documented improvements

Amount

- €15,000

Item

Minus selling costs

Amount

- €12,000

Item

Taxable gain

Amount

€53,000

Best option
Item

Capital gains tax (19%)

Amount

€10,070

Item

3% retention already paid

Amount

- €9,000

Item

Additional tax to pay

Amount

€1,070

  • Sale price minus purchase price (including taxes paid at purchase)
  • Minus purchase costs (notary, registry, lawyer, ITP/VAT paid at purchase)
  • Minus improvement costs (documented renovations — not repairs or maintenance)
  • Plus selling costs (estate agent commission, lawyer, energy certificate)
  • = Taxable gain × 19% = Capital gains tax due
033 of 4

Plusvalía municipal

The plusvalía municipal is a local tax on the increase in land value during the time you owned the property. It is calculated by the town hall based on the cadastral land value and the number of years of ownership.

Since a 2021 Constitutional Court ruling, you do not pay plusvalía if you sell at a loss (you must prove the loss with purchase and sale deeds). For profitable sales, the amount depends on local rates and is typically €500-€5,000 for standard residential properties.

The seller is responsible for paying this tax within 30 days of the sale.

044 of 4

How to claim back the 3% retention

If your 3% retention exceeds your actual capital gains tax, you can claim the difference back by filing Form 210 within 3 months of the sale date. The tax authority typically processes refunds within 3-6 months.

You will need: the deed of sale (escritura), proof of the original purchase price and costs, receipts for any improvements, and your Form 210 filing. Most non-residents use a gestor fiscal to handle this process.

Request your non-resident mortgage assessment

Request your assessment

Fill in your details and we will contact you within 24 hours with the best non-resident mortgage options.

Step 1 of 5 · Property1 min

What will you use the property for?

Trustpilot|Free|Reply within 24h|Independent

Prefer to contact us directly?

Message us on WhatsApp
🛡️Registered with Bank of Spain · No. E569

Have more questions? Ask Hipo, our AI mortgage assistant

Talk to Hipo

Frequently asked questions

What if I sell at a loss?

If you sell for less than you paid (including all costs), there is no capital gains tax. The 3% retention still applies at the notary, but you can claim the full amount back by filing Form 210 showing a zero or negative gain. You also do not pay plusvalía municipal.

Can I offset Spanish capital gains against losses in my home country?

This depends on the double taxation treaty between Spain and your country. Generally, you pay capital gains tax in Spain first, then claim a credit in your home country. Consult a cross-border tax advisor.

Do I need to cancel my mortgage before selling?

Not necessarily. The buyer's payment typically covers your outstanding mortgage balance directly to the bank at the notary signing. The notary coordinates the cancellation of the mortgage charge on the property registry simultaneously.

Need guidance on your non-resident mortgage?

We analyse your profile and help you find the best non-resident mortgage conditions. No commitment.

About this content

Fernando Hierro
Fernando Hierro

Mortgage Content Editor

Published: July 2026

Last updated: July 2026

This page is informational and editorial in nature. It explains how the described mortgage conditions typically work and what to review, without guaranteeing results or replacing a lender’s assessment.

Read our editorial policy

Questions? Ask Hipo