Property capital gains tax in Spain
- Property capital gains tax applies to all property sales in Spain, regardless of residency.
- Residents pay progressive rates between 19% and 28%, while non-residents are generally taxed at a flat 19%.
- A 3% withholding applies to non-resident sellers as an advance payment.
- Strategic deductions, exemptions, and planning can significantly reduce your property capital gains tax liability.
What is the property capital gains tax in Spain?
Property capital gains tax in Spain is the tax applied to the profit made when selling real estate.
This applies whether you are a Spanish resident or a non-resident owner.
The taxable gain is calculated as the difference between the purchase value and the sale value, adjusted for allowable costs and improvements.
According to the Spanish Tax Agency (Agencia Tributaria), these gains fall under either personal income tax (IRPF) for residents or non-resident income tax (IRNR) for non-residents.
In 2026, property capital gains tax remains one of the most relevant taxes for foreign investors, especially as Spain increases transparency and enforcement in cross-border property transactions.
How property capital gains tax is calculated
Understanding how property capital gains tax is calculated is key to avoiding overpayment.
Basic formula
- sale price (as stated in the deed)
- minus purchase price
- minus deductible expenses
This produces your taxable capital gain.
What costs can be deducted?
You can reduce your taxable gain by including:
- Notary and Land Registry fees
- Property transfer tax (ITP) or VAT paid on purchase
- Legal and advisory fees
- Real estate agent commissions
- Capital improvements (not maintenance)
These deductions are recognised by the tax authorities and must be supported by invoices and documentation.
example:
Purchase price: €220,000
Sale price: €350,000
Deductible costs: €30,000
taxable gain = €100,000
Property capital gains tax rates in 2026

Rates for residents
Spanish tax residents pay progressive rates under the savings income system:
| capital gain (€) | tax rate |
| 0 – 6,000 | 19% |
| 6,000 – 50,000 | 21% |
| 50,000 – 200,000 | 23% |
| 200,000+ | 28% |
These rates reflect Spain’s progressive taxation model for investment income.
Rates for non-residents
For non-residents, the system is simpler:
- 19% flat rate on the net gain
This applies broadly to both EU and non-EU residents under current rules.
The 3% withholding rule
When a non-resident sells property in Spain:
- The buyer must retain 3% of the sale price
- This is paid directly to the tax authority as an advance
- The seller later files a tax return (Modelo 210) to calculate the final liability
If the withholding exceeds the actual tax due, the seller can claim a refund.
Plusvalía municipal: The second tax to consider
In addition to property capital gains tax, sellers must also pay plusvalía municipal, a local tax on the increase in land value.
This tax is regulated by municipalities but must comply with national rules set by the Boletín Oficial del Estado (BOE).
Exemptions and reductions in property capital gains tax
There are several legal ways to reduce or eliminate property capital gains tax.
Main residence reinvestment
If you are a Spanish tax resident and reinvest the proceeds into another primary residence within two years, you may qualify for a full or partial exemption.
Over 65 exemption
Residents aged 65 or older can sell their main home tax-free.
Deductions and tax planning
Using proper tax structuring strategies can significantly lower liability.
Understanding how to reduce your tax burden in Spain is essential for maximising net returns.
Double taxation relief
Spain has agreements with many countries to prevent double taxation.
For example, UK-based investors should review the UK-Spain double taxation rules.
Property capital gains tax for non-residents
Non-residents face stricter compliance obligations and fewer deductions.

Key requirements
- Submit Modelo 210 within 4 months
- Account for the 3% withholding
- Provide documentation for deductions
Failure to comply can result in penalties or loss of refunds. Understanding your tax status is critical; see residency in Spain for guidance.
Strategic considerations for investors
Timing and market conditions
Holding a property longer may increase gains, but also tax exposure.
Timing your sale strategically can optimise your outcome.
Ownership structure
Owning property through a company may change how gains are taxed.
See Spain corporate tax for more details.
Inheritance planning
Capital gains tax interacts with inheritance rules.
Planning ahead using international inheritance strategies can reduce future liabilities.
Advanced tax strategies to optimise property capital gains tax
For investors and high-value property owners, managing property capital gains tax goes beyond basic deductions. With proper planning, it is possible to significantly improve tax efficiency while remaining fully compliant with Spanish law.
Using timing to your advantage
The timing of a sale can have a direct impact on your property capital gains tax liability. Since Spain applies progressive tax rates for residents, spreading gains across tax years or aligning a sale with lower overall income can reduce the effective rate.
For example:
- Selling in a year with lower income may keep more of your gain in the lower tax brackets
- Delaying a sale until after becoming a tax resident (or vice versa) can change the applicable tax regime
Careful coordination with your broader tax situation is essential, particularly if you have international income. Reviewing US and Spanish tax implications or other cross-border obligations can help avoid unexpected liabilities.
Offsetting gains with losses
In Spain, capital losses from other investments can often be used to offset gains, reducing the total taxable amount.
This means that if you have:
- Losses from shares or other investments
- Previous capital losses carried forward
You may be able to reduce your property capital gains tax bill.
Transferring ownership before sale
In some cases, transferring ownership before selling (for example, between spouses or family members) can create tax efficiencies, depending on residency status and tax brackets.
However, these strategies must be carefully structured to avoid anti-abuse rules. Spanish tax authorities increasingly scrutinise artificial arrangements designed solely to reduce property capital gains tax.
For inheritance-related planning, reviewing international inheritances in Spain can provide a useful context.
Corporate structures and property holding companies
For investors managing multiple properties, holding assets through a company may provide long-term advantages.
Instead of paying property capital gains tax as an individual, gains are treated as corporate profits and taxed under Spain corporate tax rules.
Potential benefits include:
- Deductibility of more expenses
- Flexibility in reinvesting profits
- Structured ownership for joint ventures
However, corporate structures come with administrative obligations and ongoing compliance requirements, making professional advice essential.
Reinvestment and long-term planning
One of the most effective ways to reduce property capital gains tax is through reinvestment strategies.
For residents, reinvesting proceeds into a new primary residence can defer or eliminate tax liability. For non-residents, while this exemption does not apply in the same way, structuring investments across jurisdictions may still provide advantages.
Long-term planning is particularly important for expats who may change residency status over time. Reviewing long-term residence in Spain can help align your property strategy with your future plans.
Documentation and compliance as a strategy
One often overlooked strategy is simply maintaining thorough documentation.
Proper records allow you to:
- Maximise deductible expenses
- Defend your position in case of a tax audit
- Claim refunds efficiently (especially for non-residents)
Spain’s tax system is increasingly digital, and authorities expect full transparency. Missing documentation can result in higher property capital gains tax even if you are legally entitled to deductions.
Why professional planning matters
While there are multiple ways to optimise property capital gains tax, each strategy depends on your personal situation, residency, and long-term goals.
Mistakes or poorly structured arrangements can lead to:
- Unexpected tax liabilities
- Penalties and interest
- Loss of exemptions or deductions
This is why tailored advice is essential, particularly for international investors or those managing significant assets in Spain.
Common mistakes to avoid
- Not including deductible costs
- Missing filing deadlines
- Ignoring residency classification
- Failing to plan ahead for tax optimisation
Keeping track of Spanish tax deadlines is essential to avoid penalties.
Why property capital gains tax matters in 2026
In 2026, property capital gains tax is increasingly relevant due to:
- Greater international tax transparency
- EU pressure on non-resident taxation
- Digital reporting and stricter enforcement
Spain is aligning more closely with EU tax standards, meaning cross-border investors must be more diligent than ever.
Property capital gains tax is no longer just a transactional cost—it is a strategic factor that can significantly affect your investment returns.
Need expert advice on property capital gains tax?
Our legal team specialises in Spanish property taxes, cross-border structuring, and tax optimisation strategies.
Contact us today to ensure your property transaction is handled efficiently and compliantly.
- Phone: +34 963 74 16 57
- Email: felix.delaguia@delaguialuzon.com