Blog

2026 Tax Guide: Taxes When Selling Your Property in Marbella, Costa del Sol, and Sotogrande

Table of Contents:
2026 Tax Guide: Taxes When Selling Your Property in Marbella, Costa del Sol, and Sotogrande

Selling a property on the Costa del Sol in 2026 involves settling Personal Income Tax (IRPF) on capital gains (19% to 28%), the Municipal Capital Gains Tax (Plusvalía — real or objective method), and a pro-rated Property Tax (IBI). Non-residents are taxed at 19%, with a 3% withholding at the deed. A prior tax-focused initial evaluation, like the one we can offer you at Ríos Espinosa, is essential for optimising deductions and avoiding penalties from the Spanish Tax Agency.

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 calculation changes. The gain on the sale is taxed at a flat rate of 19%, regardless of your country of residence (article 25.1.f of the consolidated text of the Non-Residents Income Tax Act). The 24% rate that applies to residents outside the European Union, Iceland and Norway affects other income from the property, such as rent or imputed income, not the gain on the sale. In addition, the buyer is legally required to withhold 3% of the total sale price and remit it to the Spanish Tax Authority using form 211, within one month of completion, as an advance payment of your tax. The seller then settles the final tax with form 210 in the three months following that first month and, if the withholding exceeds the tax due, can claim a refund of the difference.

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:

  1. Objective Method: A coefficient is applied to the land’s cadastral value based on the years of ownership.
  2. 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

Validated by
Antonio Ríos Espinosa
Director en Ríos Espinosa

Related topics that might interest you

5 critical mistakes when selling properties on the Costa del Sol, Marbella and Sotogrande: a survival guide
How to prepare your property for a successful preliminary analysis on the Costa del Sol, Marbella and Sotogrande
Valuation vs. market price: the risks of overpricing your property on the Costa del Sol, Marbella and Sotogrande

Get in touch with us

Get in touch with us