Málaga Valuations Logo

Málaga Valuations

Discover the REAL value of your property

ES EN
678 716 645
contacto@valoracionesmalaga.com

Taxes when selling a property in Spain: municipal capital gains tax (plusvalía) and capital gains tax (IRPF)

Two main taxes, several smaller costs and a handful of exemptions that can make a significant difference — especially for UK expat sellers. This plain-English guide explains what you will owe, when you pay it and how to calculate the net proceeds from your sale.

📞 Call: +34 678 716 645
✅Free, no obligation
📊Real sales data
⚡Report in 24-48 h
🏠Costa del Sol specialists

By the Valoraciones Málaga team · Updated · 4 min read

Leer esta página en español →

In brief: Two major taxes and several minor costs. What you pay, who pays it and what exemptions exist — with an illustrative calculation.

What is your property worth on the Costa del Sol?Free, no-obligation market appraisal with personalised advice from our team.
Request my free valuation

Selling a property in Spain typically involves two main tax obligations: the municipal capital gains tax (plusvalía municipal, formally the Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana, IIVTNU) and capital gains tax under IRPF (income tax on the patrimonial gain). Whether you pay both — or neither — depends on whether a gain has been made, when and how you purchased, and whether the property is your principal residence.

Summary of typical costs when selling
Tax / CostWhat it taxesWho paysWhen
Municipal capital gains tax (plusvalía)Increase in land value since purchaseSellerWithin 30 working days of signing the deed
Capital gains tax — IRPF (residents)Difference between sale and purchase price, adjusted for costsSellerIRPF return for the year of sale
IBI (annual property rate)Property ownership on 1 JanuaryOwner on 1 JanuaryAnnual
Mortgage cancellation costsOutstanding loan, if anySellerAt the notary

Calculating the capital gain for IRPF

  1. Transfer value. Sale price minus seller's costs (agency commission, plusvalía municipal, energy performance certificate, etc.).
  2. Acquisition value. Original purchase price plus purchase taxes and fees, plus documented improvement costs.
  3. Gain or loss. Transfer value minus acquisition value.
  4. Tax rate. The gain is taxed as savings income (base del ahorro) in progressive bands.

Selling on the Costa del Sol? We handle the whole process

  • Free market appraisal of your property
  • Free advice on pricing, improvements and paperwork
  • Full sales management if you decide to proceed
Request my free valuation
Spanish capital gains tax bands on savings income (IRPF)
Up to €6,00019%
€6,000 – €50,00021%
€50,000 – €200,00023%
€200,000 – €300,00027%
Above €300,00028%

Rates current at time of writing; verify with the Agencia Tributaria before selling.

Key exemptions — do not overlook these

The capital gain may be fully exempt from IRPF if you sell your principal residence and reinvest the proceeds in another principal residence within the legal deadline, or if you are aged 65 or over. There may also be no plusvalía if you can demonstrate there has been no increase in land value. Conditions are strict; always take qualified fiscal advice before proceeding.

Illustrative example: €40,000 capital gain

If the taxable gain is €40,000, the first €6,000 is taxed at 19% and the remaining €34,000 at 21%. The figures are invented and illustrate only how the banding mechanism works — your actual liability will depend on your specific circumstances.

Property contract and calculator on desk

Frequently asked questions about Spanish property taxes

In general, no, provided you can demonstrate there has been no increase in the land value. You will need to evidence this with the original and sale deeds. The rules were reformed in 2021 and there are now two calculation methods; your fiscal adviser can confirm which applies to you.

In your IRPF (income tax) return for the tax year in which the sale took place. For resident sellers this is filed the following spring. Non-residents file separately — see our non-resident withholding tax guide.

Yes, provided the works are documented with invoices. Documented improvements increase the acquisition cost and therefore reduce the taxable gain. Routine maintenance and repairs do not qualify.

Yes. The gain on selling your principal home (vivienda habitual) is fully exempt from IRPF if you reinvest the net proceeds in another principal residence within two years. Sellers aged 65 or over are also exempt regardless of reinvestment. Conditions are strict; seek qualified tax advice.

Capital gains on property are taxed as savings income in progressive bands: 19% up to €6,000; 21% from €6,000 to €50,000; 23% from €50,000 to €200,000; 27% from €200,000 to €300,000; 28% above €300,000. Rates current at time of writing; verify with the Agencia Tributaria.

Selling your property on the Costa del Sol? Request your free market appraisal

We send you a free market appraisal within 24-48 hours, based on real sales and listings in your area, with personalised advice on pricing and next steps.

6 + 2 = ?

* Required fields. Free and no obligation — please also check your spam folder.

Data protection: Controller: Valoraciones Málaga. Purpose: preparing your valuation and contacting you about it. Legal basis: your consent. Your request is received at info@malagaviviendas.com; we do not sell your data or disclose it to anyone else unless legally required. You can exercise your rights of access, rectification and erasure by writing to contacto@valoracionesmalaga.com.

📞

Call us directly

+34 678 716 645

Monday to Friday 8:00–20:00 · Saturday 9:00–14:00 (Spanish time)

📞Call now
⚡

Fast response

• We contact you within 2 hours
• Report within 24-48 hours
• 100% free, no obligation

📧

Valoraciones Málaga

Calle Limonar, 12
29130 Alhaurín de la Torre, Málaga, Spain
contacto@valoracionesmalaga.com

How the valuation works in 3 steps

Quick, free and with no obligation.

📝

Tell us about your property

Fill in the form in 2 minutes: property type, address and approximate size.

📊

We analyse your local market

We compare your property with real sales and listings of the same type in your area.

💡

You receive your valuation

Within 24-48 h, with a recommended asking price and, if you wish, a plan to sell with us.

Further reading

Other guides you may find useful