Calculator · figures checked on 24 November 2026
What you keep after selling your home: taxes and costs
A guide only: the figure can change with your circumstances, the date and the details entered, and it does not replace the official assessment.
Income tax (IRPF) on the gain, the municipal plusvalía tax and the mortgage still owed, and what is left afterwards. The sale price alone gives a first result; with your purchase deed and the cadastral value of the land it becomes a closed figure. Whatever is missing is flagged: we don't fill gaps with averages.
You keep
The sale price alone gives a first result. The more details you add, the closer it gets to a closed figure.
A guide figure
This figure is a guide: it can change depending on your circumstances, the date and the details you enter. It does not replace the official tax assessment or professional advice, and The Vila Home accepts no liability for any difference between this result and the amount finally assessed. Check it before you sign.
How it is worked out
- Disposal value: the price in the deed of sale less the selling costs and taxes you pay yourself. The municipal plusvalía tax is one of them.
- Acquisition value: what you paid for the home plus the tax on the purchase (ITP or VAT), the notary, land registry and paperwork at the time, and invoiced improvements. If you inherited it, the value declared for inheritance tax plus what inheriting cost you.
- Gain: the difference between the two, for the share that is yours. If it is zero or negative, there is no income tax.
- Reliefs: at 65 or over, the gain on your main home is exempt. If you buy another main home, the part you reinvest is exempt.
- Tax due: the savings scale, from 19% to 30% in bands, is applied to the taxable gain.
- What you keep: the price less the mortgage still owed, the bank's charge, the plusvalía tax, the selling costs you know and the income tax.
In 2026, the gain on selling a home in Spain is taxed under IRPF at 19% up to €6,000, 21% up to €50,000, 23% up to €200,000, 27% up to €300,000 and 30% above that.
The IRPF savings scale
It is the same across Spain and has applied from 1 January 2025. It adds together the State's part and the autonomous community's part.
| Gain | Rate | Tax at the top of the band |
|---|---|---|
| Up to €6,000 | 19% | €1,140 |
| €6,000 to €50,000 | 21% | €10,380 |
| €50,000 to €200,000 | 23% | €44,880 |
| €200,000 to €300,000 | 27% | €71,880 |
| Over €300,000 | 30% | — |
The scale applies to all your savings income for the year: any other gains you have are added to the sale.
A worked example
A flat in Vilanova i la Geltrú bought on 10 March 2012 for €150,000 and sold on 15 December 2026 for €265,000. On that purchase, €12,000 was paid in ITP (8%) and €2,250 for the notary, land registry and paperwork. With a cadastral land value of €40,000, the municipal plusvalía tax comes to €1,080.00.
Disposal value: €263,920.00. Acquisition value: €164,250.00. Gain: €99,670.00. Income tax: €21,804.10. With no mortgage, €242,115.90 is left.
If two people owned that home in equal shares, each would declare €49,835.00 and pay €10,345.35. Between them, €20,690.70: less than a single owner, because the scale is progressive and each person starts at the lowest band.
When no income tax is due, or less of it
You are 65 or over and selling your main home: the gain is exempt, whatever the amount. The same goes for people with severe or high-level dependency. The municipal plusvalía tax is still due.
You buy another main home: you pay nothing on the part you reinvest. Reinvest everything you obtained and the whole gain is exempt; reinvest part of it and the relief is proportional. What you obtained is the transfer value (the price less the selling costs and the municipal plusvalía tax) less what was still owed on the mortgage you took out to buy that home; a mortgage taken out for something else is not deducted. You have 2 years from the sale, and money put towards a home bought in the 2 years before also counts.
For the tax office, your main home is one you have lived in for at least three years in a row, with exceptions such as a separation or a move for work. If you no longer live there, it still counts if it was your main home at any point in the 2 years before the sale.
In addition, from 8 October 2026 (Royal Decree-law 29/2026) the rule covers the home that was the main home of someone over 65, or with severe or high-level dependency, until they moved, because of their age or their dependency, into a specialised care centre or the home of a relative up to the third degree. And after a separation or divorce, the person who moved out can claim these reliefs if their former spouse still lives there.
The tax on your purchase, if you don't remember it
The tax you paid when you bought is added to the acquisition value and lowers the gain. The exact amount is in your deed or on form 600. If you leave the field blank, the calculator applies Catalunya's standard ITP for a resale home on the purchase date:
| Purchase date | Standard rate |
|---|---|
| Until 30 June 2010 | Not published by the Catalan tax agency: enter what you paid |
| From 1 July 2010 until 31 July 2013 | 8% |
| From 1 August 2013 until 30 March 2017 | 10% |
| From 31 March 2017 until 26 June 2025 | 10% up to €1,000,000; 11% on the remainder |
| From 27 June 2025 | 10% up to €600,000; 11% up to €900,000; 12% up to €1,500,000; 13% on the remainder |
It doesn't apply to new builds, which pay VAT, or to the reduced rates (young buyers, large families and others): in those cases, enter the amount.
If there is a mortgage on the home
On the day of signing, what is left of the mortgage is paid out of the price first. The bank may also charge for early repayment. For loans signed from 16 June 2019 the charge has a legal ceiling, and it can never exceed the loss the repayment causes the bank:
- Variable rate: up to 0.25% of the capital repaid during the first three years, or up to 0.15% during the first five, depending on the contract. Nothing after that.
- Fixed rate: up to 2% during the first ten years and up to 1.5% after that.
- Earlier loans: whatever their deed says.
Because the calculator only asks for the year of signing, it applies these ceilings to loans from 2020 onwards and always takes the most expensive case. The notary and land registry costs of the cancellation are separate: if you already have a quote, put it under “Selling costs you pay yourself”. It does not cover mixed-rate loans or loans switched from variable to fixed: the years are counted differently there (Act 5/2019, art. 23.6 and 23.7).
The municipal plusvalía tax
It is the seller's other tax. It is paid to the town council within 30 working days of the deed, and it is deducted from the gain for income tax. Each town has its own coefficients and rates: here we calculate it with the by-law of the town you choose, from the cadastral value of the land, when we have it loaded. The plusvalía calculator has the breakdown, what applies in each town and the inheritance cases.
Plusvalía tax calculator for the Garraf and Baix Penedès
What this calculator does not work out
- Homes acquired before 31 December 1994: part of the gain may qualify for a reduction that depends on each case.
- Sellers who don't live in Spain: they pay non-resident income tax instead of IRPF (19% of the gain), and the buyer withholds 3% of the price.
- Other gains or losses in the same year, which are added or offset in the tax return.
- The municipal plusvalía tax for towns whose by-law we have not loaded: we only use by-laws we have read in their official source. For those, enter the amount your town council gives you.
- Homes that have not always been for your own use and have produced income or been used for a business (depreciation has to be deducted from the acquisition value), usufructs and bare ownership.
- Homes acquired on two dates (for example, half by purchase and the other half inherited from your spouse): each part has its own date and acquisition value, for income tax and for plusvalía. Run one calculation per part.
- The new relief in Royal Decree-law 29/2026 (65th additional provision of the Income Tax Act, for certain home sales): it has conditions of its own and is not applied here.
- Notary, land registry, paperwork and certificates: we don't give figures we haven't been able to check. If you have already been quoted, you can enter them.
Frequently asked questions
What taxes do you pay when you sell a flat in Catalunya?
- Two: the municipal plusvalía tax, paid to the town council within 30 working days of the deed, and income tax (IRPF) on the gain, which goes in the following year's tax return. Transfer tax (ITP) is paid by the buyer.
How much income tax is due on the sale of a home?
- Between 19% and 30% of the gain, in bands: 19% up to €6,000, 21% up to €50,000, 23% up to €200,000, 27% up to €300,000 and 30% above that. It is charged on the gain, not on the price.
What can be deducted to pay less income tax?
- From the sale price, the municipal plusvalía tax and the selling costs you pay yourself. And the purchase price is increased by the tax you paid at the time, the notary, land registry and paperwork for the purchase, and invoiced improvements. Repairs and upkeep don't count.
I am 65 or over. Do I pay income tax on selling my home?
- No, if it is your main home. And from 8 October 2026 it also counts if you left it, because of your age or of severe or high-level dependency, to move into a specialised care centre or the home of a relative up to the third degree. The municipal plusvalía tax is still due.
I am going to buy another home. Do I pay income tax?
- Not on the part you reinvest in your new main home, within the 2 years before or after the sale. If you reinvest only part of what you obtained, the relief is proportional. And if you no longer live in the flat, it counts as your main home if it was at any point in the 2 years before the sale.
There are two of us on the deed. How is it worked out?
- Each owner declares their share of the gain and pays according to their own scale and their own situation. That is why the tax for two equal owners adds up to less than for a single owner with the whole gain.
Sources and review date
- Act 35/2006 on personal income tax (IRPF): gain (arts. 35 and 36), reliefs (arts. 33.4 and 38) and savings scale (arts. 66 and 76)
- IRPF Regulations: reinvestment and main home (arts. 41 and 41 bis)
- Royal Decree-law 29/2026 of 6 October (Official State Gazette)
- Catalan tax agency: ITP rates and bands
- Act 5/2019 on real-estate credit agreements: early repayment (art. 23)
- Non-Resident Income Tax Act (art. 25)
- Local Treasuries Act: municipal plusvalía tax (arts. 107 and 110)
- The plusvalía tax by-laws, town by town: linked in the plusvalía calculator
The calculator is no substitute for your tax return or for a tax adviser: it is a sum done with the published rules.
A guide based on the rules in force on 24 November 2026: the Income Tax Act (savings scale), your town council's tax by-law and Act 5/2019. It leaves out what only your tax adviser knows: other gains or losses in the year, purchases before 1995 or the tax position of non-residents. It is not tax advice: confirm it with your adviser or with the Spanish tax agency before you decide.
All of these sums start with the price
Income tax, plusvalía and what you keep all change with the price the home sells for. If you want to know what your home is worth today, we will tell you.
Would you sooner go through the calculation with the deeds in front of you? Write to us