I was recently chatting with friends about selling property and realized many people are confused about the ‘profit tax’ you have to pay. This isn’t a small amount, and miscalculating it could lead to trouble with the tax authorities. I’ve done some research and put together this guide as a heads-up. Feel free to add corrections or suggestions if you’re knowledgeable on the topic!
Simply put, this tax is levied on the ‘profit’ from your property sale. If you sell your property for more than you originally paid, this difference is taxable. If you break even or sell at a loss, you don’t have to pay this tax. The logic is quite straightforward.

How Is the Capital Gain Calculated?
The formula is actually not complicated: Capital Gain = [ Sale Price - Related Expenses ] - [ Purchase Price + Related Costs and Investments ]
- Sale Price: The final sale price as stated in your contract.
- Related expenses at the time of sale: Such as real estate agency fees, notary fees, and the local capital gains tax (Plusvalía Municipal).
- Purchase Price: The price you originally paid for the property.
- Related costs and investments at the time of purchase: This includes taxes paid upon purchase, notary and registration fees, as well as investments in major renovations or improvements made to the property.
What Are the Tax Rates?
The calculated capital gain is not taxed at a single rate but on a progressive scale. The tax rates from 2023 onwards are as follows:
| Capital Gain Bracket | Tax Rate |
| 0 - 6,000 euros | 19% |
| 6,000 - 50,000 euros | 21% |
| 50,000 - 200,000 euros | 23% |
| 200,000 - 300,000 euros | 27% |
| Over 300,000 euros | 28% |
For example, if your capital gain from the sale is 80,000 euros, the tax you need to pay would be: (6,000 * 19%) + (44,000 * 21%) + (30,000 * 23%) = 1,140 + 9,240 + 6,900 = 17,280 euros. It’s quite a bit, isn’t it?
Are There Ways to Get Tax Exemptions or Reductions?
Of course! Spanish tax law has several considerate provisions:
- Sale and reinvestment in a primary residence: If you sell your main home (where you have lived for at least three years) and, within two years of the sale, use all or part of the proceeds to buy a new primary residence, the capital gain is proportionally exempt from tax. This is the most common exemption available, and understanding such tax rules is crucial, just as it is for filing taxes on rental income in Spain.
- Individuals over 65: If you are over 65 and sell your primary residence, congratulations! The capital gain is completely tax-free, with no reinvestment requirement. If you sell a property that is not your primary residence, you can still enjoy a tax exemption up to a certain limit by investing the proceeds into a specific type of annuity.
Therefore, before selling your property, make sure to keep all your receipts and documents, such as the purchase contract, renovation invoices, agency fee receipts, and so on. These will be crucial for calculating your tax liability. I hope this information is helpful to everyone!