Selling property in Spain can be a profitable investment, especially in popular regions such as the Costa del Sol, Marbella, Alicante, and Barcelona. However, before completing a sale, it is important to understand the taxes and costs involved.
Whether you are a Spanish resident or a non-resident property owner, several taxes may apply when selling real estate in Spain. Understanding these obligations can help you calculate your net profit accurately and avoid unexpected surprises during the transaction.
In this guide, we explain the main taxes you may pay when selling property in Spain and how they are calculated.
1. Capital Gains Tax in Spain
The primary tax paid when selling property in Spain is Capital Gains Tax (CGT).
This tax applies to the profit made from the sale of the property.
How Is Capital Gains Tax Calculated?
The taxable gain is generally calculated as:
- Selling price
minus - Original purchase price
minus - Certain allowable costs and expenses
Allowable deductions may include:
- Legal fees
- Estate agent fees
- Property improvements
- Purchase taxes paid when buying the property
Capital Gains Tax Rates in Spain
Current Spanish capital gains tax rates are progressive.
For Spanish Residents
Approximate rates:
- 19% on gains up to €6,000
- 21% on gains between €6,000–€50,000
- 23% on gains between €50,000–€200,000
- 27% on higher gains
For Non-Residents
Most non-resident sellers are taxed at:
- 19% for EU/EEA residents
- Similar rates may apply to many international sellers depending on tax agreements
Tax rules can change, so obtaining professional advice is always recommended.
2. The 3% Retention for Non-Residents
If you are a non-resident seller, Spanish law requires the buyer to retain 3% of the purchase price and pay it directly to the Spanish tax authorities.
This is not an additional tax — it is an advance payment toward your capital gains tax liability.
Why Does Spain Withhold 3%?
The retention system helps ensure non-resident sellers meet their Spanish tax obligations.
After the sale:
- If your final tax bill is lower than 3%, you may request a refund
- If your tax bill is higher, you must pay the difference
This process is handled using official Spanish tax forms.
3. Plusvalía Tax (Municipal Capital Gains Tax)
Another important cost when selling property in Spain is Plusvalía Tax, officially called:
Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana
This is a municipal tax charged by the local council on the increase in the land value over the period of ownership.
How Is Plusvalía Calculated?
The amount depends on:
- The municipality
- The cadastral land value
- How long you owned the property
- Local tax coefficients
In some cases, if the property was sold at a loss, you may be exempt or eligible for a reduction.
Because calculations vary significantly between municipalities, sellers often request a professional estimate before listing the property.
4. Estate Agent Fees
Although not technically a government tax, estate agent commissions are one of the largest selling costs in Spain.
Typical Estate Agent Fees
- Usually between 3%–6% of the sale price plus VAT
The exact amount depends on:
- Property type
- Location
- Agency agreement
5. Legal Fees When Selling Property
Many sellers hire an independent lawyer to manage:
- Contracts
- Tax calculations
- Debt checks
- Completion procedures
- Utility transfers
Typical Legal Costs
- Approximately 1% of the sale price plus VAT
Professional legal assistance is highly recommended, especially for overseas sellers.
6. Mortgage Cancellation Fees
If your property still has an outstanding mortgage, additional costs may apply when selling.
Potential costs include:
- Early repayment fees
- Mortgage cancellation costs
- Notary and land registry charges
The bank will normally provide a settlement figure before completion.
7. Energy Performance Certificate (EPC)
Spanish law requires most properties sold in Spain to have a valid Energy Performance Certificate (EPC).
Typical EPC Cost
- Around €60–€300 depending on property size and location
Without a valid certificate, the property generally cannot be legally marketed for sale.
Can I Reduce Tax When Selling Property in Spain?
In some cases, yes.
Certain expenses and improvements can reduce taxable capital gains, including:
- Renovation work
- Legal expenses
- Purchase-related taxes
- Estate agent fees
Residents over a certain age or individuals reinvesting proceeds into a primary residence may also qualify for exemptions under specific circumstances.
Professional tax advice is strongly recommended before completing the sale.
What Happens If I Sell Property in Spain at a Loss?
If you sell your property for less than the original purchase price, you may:
- Owe little or no capital gains tax
- Potentially challenge or reduce Plusvalía Tax
However, the 3% withholding for non-residents may still initially apply until the tax return is processed.
How Long Do I Need to Keep Tax Records?
It is important to keep:
- Purchase deeds
- Sale contracts
- Renovation invoices
- Tax receipts
- Legal and agency invoices
These documents help support deductions and may be requested by the Spanish tax authorities.
Tips for Selling Property in Spain Efficiently
Plan Ahead
Understanding taxes before listing your property helps avoid delays and surprises.
Work With Experienced Professionals
A trusted lawyer, accountant, and estate agent can simplify the selling process significantly.
Prepare Documentation Early
Ensuring all paperwork is ready can speed up completion and improve buyer confidence.
Understand Non-Resident Rules
Foreign sellers often face additional reporting obligations and withholding procedures.
Final Thoughts
Selling property in Spain involves several taxes and transaction costs that can affect your final profit. The most important taxes include capital gains tax, the 3% non-resident retention, and Plusvalía Tax.
By understanding these obligations early and seeking professional guidance, you can avoid complications and make the selling process much smoother.
Whether you are selling a holiday apartment, investment property, or family villa, careful planning is essential for a successful property sale in Spain.
If you are considering selling property in Spain and would like expert guidance, the team at Hilton Real Estate can assist you throughout the entire process.
FAQ: Taxes When Selling Property in Spain
Do non-residents pay tax when selling property in Spain?
Yes. Non-resident sellers are generally subject to capital gains tax and the 3% withholding retention.
What is Plusvalía Tax in Spain?
Plusvalía Tax is a municipal tax based on the increase in land value during the ownership period.
How much capital gains tax do I pay in Spain?
The amount depends on your profit, residency status, and applicable deductions.
Can I deduct expenses from capital gains tax?
Yes. Certain legal fees, renovation costs, and selling expenses may reduce taxable gains.
Is the buyer responsible for any seller taxes?
The buyer is responsible for withholding the 3% retention from non-resident sellers and paying it to the tax authorities on the seller’s behalf.
