Selling a high-end property in Marbella or Sotogrande usually creates financial uncertainty that overshadows the success of the transaction: the hidden tax burden. Most owners discover their real tax obligations only days before signing at the notary, losing the chance to apply legal optimisation strategies. At Ríos Espinosa, we understand that a sale is successful not because of its closing price but because of the net proceeds left in your account after taxes.
What taxes do you pay when selling a home on the Costa del Sol in 2026?
Real estate taxation in Andalusia has remained competitive, but the Spanish Tax Agency’s oversight of capital gains has intensified. The three tax pillars are Personal Income Tax (IRPF), the Municipal Capital Gains Tax, and the Property Tax (IBI).
How are capital gains taxed under IRPF?
If you are a Spanish tax resident, the gain from selling your home is added to your savings-income tax base. The calculation is the difference between the transfer value (sale price minus deductible expenses) and the acquisition value (purchase price plus deductible expenses).
The 2026 tax rates are structured in the following brackets:
- Up to €6,000: 19%
- Between €6,000 and €50,000: 21%
- Between €50,000 and €200,000: 23%
- Between €200,000 and €300,000: 27%
- Over €300,000: 28%
What if I am a Non-Resident (IRNR)?
For foreign owners, the scenario changes. If you reside in the EU, Iceland, or Norway, the rate is 19%. For the rest of the world, it is 24%. Note that the buyer is legally required to withhold 3% of the total sale price and remit it to the Spanish Tax Authority in your name as an advance payment.
How is the Municipal Capital Gains Tax calculated in Marbella, Costa del Sol, and San Roque?
The Tax on the Increase in Value of Urban Land (IIVTNU) depends on each municipality. In towns such as Marbella, Estepona, or San Roque (Sotogrande), the seller can choose between two methods to ensure the lowest payment legally permitted:
- Objective Method: A coefficient is applied to the land’s cadastral value based on the years of ownership.
- Real Capital Gains Method: Calculated on the actual difference between the purchase and sale price.
At Ríos Espinosa, we will request a prior estimate so that the seller can choose the method that is most fiscally advantageous.
The Ríos Espinosa Difference: Integrated Legal Security
Unlike a conventional agency, at Ríos Espinosa your file does not pass through outside hands. Our in-house legal team analyses the property before it is listed. This process ensures that your property sale is not delayed by hidden charges or Land Registry (Catastro) discrepancies that could trigger inspections after the deed is signed.
Checklist: Seller’s Documentation and Costs
| Document / Cost | Responsible Party | Tax Impact |
|---|---|---|
| Original Purchase Deed | Seller | Basis for calculating capital gains. |
| Renovation Invoices (Investments) | Seller | Deductible from IRPF (increases acquisition value). |
| Energy Efficiency Certificate | Architect / Ríos Espinosa | Mandatory for the sale. |
| Agency Fees | Ríos Espinosa | Deductible from the transfer value (lower tax bill). |
| Mortgage Cancellation | Seller / Bank | Cost associated with the transfer. |
Are there exemptions from IRPF?
Spanish tax law allows you to avoid paying capital gains tax in very specific cases that our legal department reviews in every Initial Evaluation:
- Reinvestment in primary residence: If you sell your main home to buy another within two years.
- Sellers over 65: Exempt from taxation on the sale of their primary residence, whether they reinvest or not.
Frequently Asked Questions (FAQ)
1. Who pays the notary fees on the Costa del Sol?
By law, the seller pays for the original deed and the buyer pays for the copies — although in typical Marbella, Costa del Sol, and Sotogrande practice the buyer often assumes the entire cost, except for the Plusvalía.
2. Can I deduct legal advisory fees from my taxes?
Yes. All legitimate costs associated with the sale — including lawyers’ and real estate agency fees — reduce the net taxable gain and, therefore, your IRPF liability.
3. What happens if I sell at a loss?
If the sale price is lower than the purchase price, there is no capital gain and no real Plusvalía. However, you must still declare the loss to offset it against future gains over the next four years.
Optimise your sale with legal and commercial experts
Don’t leave your assets to chance. At Ríos Espinosa, we offer a comprehensive Initial Evaluation that includes a tax-cost study. Contact us today and benefit from a 20% discount on our professional fees and integrated legal services when you sign an exclusive mandate. Your peace of mind on the Costa del Sol starts here.
Related reading in our 2026 Guide
- Complete Guide to Selling Your Property on the Costa del Sol, Marbella and Sotogrande (2026) — the master guide covering the full sales cycle.
- Documents to Sell Your House on the Costa del Sol, Marbella and Sotogrande: 2026 Guide
- The Lawyer’s Role in Real Estate Sales: Total Security for the Seller
- Selling an Inherited Property on the Costa del Sol, Marbella and Sotogrande: A Legal Guide
Is your case similar?
Every situation has its own nuances. Tell us briefly about yours and we will reply within 24 hours with an initial assessment.
- Professional, not commercial
- No obligation
- Complete confidentiality


