Market Background: Rising Prices Amidst Falling Sales Volume
According to data from the Spanish National Statistics Institute (INE), there were 56,462 home sales nationwide in May 2026, a year-on-year decrease of 7.3%, marking the fifth consecutive month of decline. However, housing prices show an opposite trend. Data from the real estate portal Idealista indicates that in the second quarter of 2026, the average price of second-hand homes in Spain rose by 15.8% year-on-year, reaching €2,823 per square meter. In such a market environment of high prices and slowing transactions, understanding how to clearly calculate and plan for the tax costs after selling a property has become a topic of growing concern for many owners.
The Core Tax: Capital Gains Tax (IRPF)
Many sellers have a common misconception that the tax authorities will levy tax based on the final sale price of the house. Spanish real estate investment expert José Muñoz points out that this is a critical misunderstanding. In reality, the basis for taxation on property sales within the Spanish Personal Income Tax (IRPF) is the ‘capital gain’ (Ganancia Patrimonial), which is the net profit obtained from the sale.
The formula for this profit is:
Taxable Profit = Selling Price - (Original Purchase Price + Related Legally Deductible Costs)
Deductible costs typically include taxes paid at the time of purchase, notary fees, registration fees, and the costs of significant renovations or improvement works carried out during ownership. Therefore, sellers are only taxed on this appreciated profit, not the entire sale amount.
Progressive Tax Rates and a Calculation Example
Spain’s capital gains tax uses a progressive, tiered rate structure as follows:
- For the first €6,000 of profit: taxed at 19%
- For profit between €6,000 and €50,000: taxed at 21%
- For profit between €50,000 and €200,000: taxed at 23%
- For profit between €200,000 and €300,000: taxed at 27%
- For profit over €300,000: taxed at 28%
Example: Suppose a property was purchased for €100,000 and later sold for €180,000, with no other significant deductible costs during the period. The capital gain is €80,000. The tax due is calculated as follows:

- First €6,000: €6,000 * 19% = €1,140
- Between €6,000 and €50,000 (a bracket of €44,000): €44,000 * 21% = €9,240
- Between €50,000 and €80,000 (a bracket of €30,000): €30,000 * 23% = €6,900
Total tax payable = €1,140 + €9,240 + €6,900 = €17,280.
This means that from a profit of €80,000, after paying €17,280 in taxes, the seller still retains a net profit of €62,720.
Other Taxes and Exemption Conditions
Besides capital gains tax, sellers also need to be aware of another important tax—the Municipal Land Value Tax (Plusvalía Municipal). This is levied by the local city council where the property is located and is based on the increase in the value of the land during the period of ownership. Its calculation method and tax rate vary by region.
Furthermore, Spanish tax law also provides for specific tax relief policies, allowing eligible sellers to enjoy partial or even full tax exemption. The main situations include:
- Reinvestment in a new primary residence: If sellers reinvest all or part of the proceeds from the sale of their main home into a new main home within a specified period (usually two years before or after the sale), they can receive a corresponding tax reduction.
- Exemptions for specific groups: Sellers over the age of 65 are completely exempt from capital gains tax on the sale of their main home. This exemption also applies to individuals in a state of severe or high dependency.
Given the complexity of tax regulations, it is recommended that all property owners planning to sell consult with a professional tax advisor or lawyer before the transaction to ensure compliance and maximize legal tax savings.