Skip to content

Capital Gains Tax in Spain: Rates & Exemptions (2026)

Capital gains tax in Spain is charged on a national scale that does not vary by comunidad autonoma, and what you owe depends instead on your tax residency and which asset you sold. This guide sets out the current resident and non-resident rates, the main-home and over-65 reliefs, and how to get your own liability calculated.

Published by Advisors in Spain
Modern residential towers rising above trees in Valencia

Get your capital gains liability calculated correctly

Tell us what you sold, your tax residency status and roughly what it is worth, and the tax advisor handling your case works out the figure and files it.

Request a consultation

Questions

Common questions

How much tax do I pay if I sell my Spanish property?
Spain taxes the profit from the sale. The sale price alone does not set the bill. The gain is taxed under the national savings-income scale, from 19% to 30% depending on the size of the gain, if you are a Spanish tax resident. The buyer withholds 3% of the agreed price when the seller is a non-resident acting without a permanent establishment. No withholding or Modelo 211 is required if the seller proves Spanish IRPF or corporation-tax status with an Agencia Tributaria residence certificate, or if the property is contributed on the incorporation or capital increase of a Spanish-resident company. The non-resident seller settles the balance at 24%, or 19% if resident in a qualifying EU or EEA state, under the Ley del IRNR.
Do UK residents pay capital gains tax on a Spanish property sale?
Yes. A UK resident selling Spanish property is taxed as a non-resident under the Ley del IRNR, at the general 24% rate. Since 1 January 2021, UK residents no longer qualify for the 19% rate reserved for EU and EEA residents, according to Agencia Tributaria's own Brexit guidance. The national savings-income scale applies to you instead, and the non-resident rate does not, if you are a Spanish tax resident. A tax adviser can confirm which track applies to your own residency position.
Can a solicitor or tax advisor calculate my exact capital gains bill in Spain?
Yes. A tax advisor works out the taxable gain from your own acquisition and sale figures, applies the correct rate track for your residency status, and checks whether the main-home or over-65 reliefs below apply to your case. A solicitor may also be involved where the sale itself needs legal handling, alongside the tax advisor who calculates and files the return.
How do you avoid paying capital gains tax in Spain?
You cannot avoid the tax outright, but three reliefs can reduce or remove it. Reinvesting the full proceeds of a habitual-residence sale into a new habitual residence excludes the gain from tax under LIRPF article 38.1; this reinvestment relief also extends to some non-resident sellers, though UK residents lost access to it from 1 January 2021 after Brexit. Selling your habitual residence after turning 65 is exempt with no reinvestment required, under LIRPF article 33.4.b. An unabsorbed capital loss can also be carried forward and offset against gains for four years. None of these applies until you meet its own condition.
Do you pay capital gains tax in Spain if you are over 65?
Selling your habitual residence after turning 65 is fully exempt from capital gains tax, with no reinvestment required, under LIRPF article 33.4.b. A separate relief lets someone over 65 exclude the gain on selling any other asset, up to €240,000, if they reinvest the proceeds into a life annuity within six months, under LIRPF article 38.3. A non-resident seller should have the application of either relief checked before relying on it.
What is the 2-year rule in Spain?
Do not rely on a generic two-year label. The main-home reinvestment exemption in LIRPF article 38.1 has its own conditions and reinvestment window. A tax advisor can confirm the exact period that applies to your sale before you rely on a figure seen elsewhere.
Is capital gains tax the same as plusvalia municipal in Spain?
No. Capital gains tax is a national tax on the profit from a sale, assessed by Agencia Tributaria. Plusvalia municipal is a separate local tax on the rise in a property's land value at sale, charged by the town hall where the property sits. You can owe both taxes on the same property sale.
Does capital gains tax vary by region in Spain?
No. A Spanish tax resident pays the same national savings-income scale in every comunidad autonoma under the common tax regime. The Basque Country and Navarra have separate tax arrangements, so a tax advisor should confirm the applicable regime if either is involved.

Contact us

Your request is in

We have your details, and Advisors in Spain replies to you by email within one business day.

We review your enquiry today. If you have not heard back within two working days, write to us and we chase it the same day.

Tell us about the sale

Tell us what you sold, whether you are a Spanish tax resident, and roughly what it is worth. We read every enquiry ourselves, and a tax advisor who handles this exact type of work takes your case, in English or Spanish, whichever you are most comfortable in.

Are you enquiring as?

This shows only the questions relevant to you.

Leave this blank if the company has not been formed yet.

How we address you.

Where the reply goes.

Choose the country code, then enter the rest of the number.

This decides which specialists read your enquiry.

Regional rules and taxes differ.

When do you need this done? (optional)

Urgent enquiries are flagged when we review your case.

In a few sentences, please tell us what you need.

Your details are handled under our Privacy Notice.

Our guides are prepared in accordance with our Editorial Standards.