Services
Property Purchase & Sale Property Taxes Real Estate Due Diligence Earnest Money (Arras) Review Real Estate Inheritance Rental Agreements Seasonal Rentals Commercial Lease Mortgage Broker Best Mortgages 2026
Guides Areas About Us Contact
ESEN
Urgent Consultation
Taxation

Capital Gains Tax (IRPF) when Selling Your Home

When selling you may have to pay income tax on the gain. But there are exemptions that can save you that tax. We explain them.

Taxation · Updated January 2026 · 6 min read

When you sell a home for more than it cost, a capital gain is generated that is taxed in income tax (IRPF). But there are important exemptions.

How the gain is calculated

Broadly: sale value − acquisition value (including the costs and taxes of each transaction and improvements). The IRPF savings scale is applied to that gain.

Exemption for reinvestment in a primary home

If you sell your primary home and reinvest the amount in another primary home within the legal period (generally two years), the gain may be exempt for the reinvested part.

Exemption for those over 65

The sale of the primary home by people over 65 is usually exempt from income tax. There are also specific rules for life annuities.

Do not confuse this state income tax with the municipal capital gains tax or the other costs of selling. We calculate and plan it for you.

Frequently asked questions

We answer your questions


Mainly when you reinvest the proceeds of your primary home in another primary home within the period, or when the seller is over 65 and it is their primary home.

No. The capital gain is taxed in income tax (a state tax) and the municipal capital gains tax is a Council tax. They are different taxes that can coincide in one sale.

How much income tax will you pay for selling?

We calculate your capital gain and the applicable exemptions so you don't overpay.