Capital Gains Tax When Selling in Spain

Capital Gains Tax When Selling in Spain

Capital Gains Tax When Selling Property in Spain: What Sellers Need to Know

Selling a property in Spain can be exciting, but one of the biggest questions sellers have is: How much capital gains tax will I have to pay?

It is also one of the areas where we see the most confusion. Some sellers assume they will not pay tax because they are buying another property. Others believe every renovation, repair or purchase made for the property can be deducted.

The reality is more specific. Understanding how capital gains tax works, knowing which costs can be included and establishing your tax residency are all important when calculating what you may owe.

At Casas Connect, we help sellers understand the likely costs involved in their sale, including an estimated capital gains calculation based on the information available.

1. What is capital gains tax in Spain?

Capital gains tax, known in Spain as Ganancia Patrimonial, is the tax applied to the profit made when selling a property.

It is not simply calculated by subtracting the original purchase price from the sale price. Certain purchase expenses, eligible improvements and selling costs can also be taken into account.

A simplified way to understand the calculation is:

Sale value minus eligible selling costs = adjusted sale value

Purchase value plus eligible purchase costs and improvements = adjusted acquisition value

The difference between these two adjusted values is generally the capital gain or loss.

Our aim when reviewing a seller's figures is to make sure that all legitimate costs are considered, so the taxable gain is not unnecessarily high.

2. Which costs can be included?

This is where keeping your paperwork becomes particularly important.

Costs from when you purchased the property

Depending on the circumstances, the acquisition value can include:

  • The original purchase price.
  • Property Transfer Tax (ITP), or VAT and applicable AJD where relevant.
  • Notary fees.
  • Land Registry fees.
  • Other qualifying expenses directly connected with the acquisition.

The purchase tax percentage will depend on the type of purchase, the applicable legislation and the rates in force at the time you bought the property.

For example, someone who purchased a resale property several years ago may have paid a different ITP rate from someone purchasing a resale property today.

Costs associated with selling

Eligible expenses directly connected with the sale may reduce the transfer value. These can include:

  • Estate agency commission.
  • Plusvalía municipal paid by the seller.
  • Certain professional or technical fees directly related to the transfer, where the tax requirements are met.

Architect fees, for example, need to be considered according to the purpose of the work and the applicable tax rules. Not every professional invoice is automatically deductible.

3. Can renovation costs reduce capital gains tax?

Potentially, yes.

Qualifying investments and improvements to the property can increase its acquisition value and therefore reduce the taxable gain.

However, there is an important difference between an improvement and ordinary maintenance or repair work.

An improvement generally involves work that increases the property's value, capacity or useful life. Routine maintenance and repairs are not treated in the same way.

And this is where we regularly encounter problems with sellers.

We have seen people provide handwritten payment notes, informal receipts or records of cash payments as evidence of renovation work.

Unfortunately, these documents may not be sufficient.

Supporting documentation needs to meet the relevant tax requirements. It should properly identify the parties, describe the work, include the relevant dates and amounts, and contain the required tax information.

A payment note with no names, no date or insufficient details is not the same as a valid invoice.

Furniture purchases are another common misunderstanding. Buying a new sofa, dining table or bedroom furniture does not constitute an improvement to the building and cannot simply be added to the property's acquisition value.

Our advice: keep your official invoices from the moment you purchase your property. If you carry out improvements, make sure the work is properly invoiced and documented.

4. Does tax residency make a difference?

Absolutely. One of the first things to establish when selling a property in Spain is whether the seller is tax-resident or non-resident.

The tax treatment is different.

If you are tax-resident in Spain

For an individual who is Spanish tax-resident, the capital gain is generally included in the savings-income tax base of their Spanish income tax return (IRPF).

The applicable rates are progressive, meaning the tax rate increases across the different bands of taxable savings income.

The final amount depends on the taxable gain and the seller's wider tax position.

If you are non-resident in Spain

For a non-resident individual selling Spanish property, the general capital gains tax rate is 19% of the taxable gain.

There is also an important requirement that sellers should know about: the 3% retention.

When a non-resident sells a property in Spain, the buyer is generally required to withhold 3% of the agreed purchase price and pay it to the Spanish Tax Agency using Modelo 211.

This is not the final capital gains tax bill. It is an advance payment towards the seller's tax liability.

Once the seller submits their tax declaration, the 3% already withheld is deducted from the amount due. If the retention is higher than the final tax liability, the seller may be entitled to a refund.

For example, if a non-resident sells a property for €200,000, the buyer would generally retain €6,000 and pay it to the Tax Agency.

The seller's actual tax liability is calculated separately, based on the taxable gain.

This is why it is important to calculate the likely capital gain before completion rather than assuming the 3% retention is the amount of tax payable.

5. Can I avoid capital gains tax by reinvesting the money in another property?

This is one of the most common questions we hear from sellers.

Some people believe that if they sell their Spanish property and use the money to purchase another property, they automatically avoid capital gains tax.

That is not the case.

There is a reinvestment exemption for qualifying sales of a habitual residence, but specific conditions must be met.

Generally:

  • The property being sold must qualify as the seller's habitual residence.
  • The replacement property must also become their habitual residence.
  • The reinvestment must take place within a period of no more than two years before or after the sale.
  • The amount reinvested determines how much of the gain can be exempt.

If only part of the qualifying sale proceeds is reinvested, the exemption may only apply proportionally.

This is not an automatic exemption for anyone purchasing another property. In particular, a non-resident cannot simply assume that buying another Spanish property means they will not pay capital gains tax. Certain EU/EEA non-residents may qualify under specific conditions, so individual circumstances need to be checked.

6. Is there an exemption if I am over 65?

Yes, there is an important exemption for qualifying Spanish tax residents aged over 65.

If you are over 65 and sell your habitual residence, the capital gain can generally be exempt from Spanish income tax.

However, simply being over 65 and owning a property is not enough.

The property must meet the tax definition of a habitual residence. Generally, this means you have lived there continuously for at least three years, although certain circumstances can provide exceptions.

The property must also qualify as your habitual residence at the time of sale or have retained that status within the relevant two-year period before the sale.

This is an important distinction, particularly for people who own several properties or have moved away from their previous home.

7. Capital gains tax and Plusvalía Municipal: are they the same?

No. These are two separate taxes, and it is very easy to confuse them.

Capital gains tax (Ganancia Patrimonial)

This relates to the financial gain made when selling the property. The calculation takes account of the acquisition value, transfer value and qualifying expenses.

Plusvalía Municipal

This is a local municipal tax relating to the increase in the value of the urban land.

It is generally payable by the seller in a normal sale, although the rules on who is liable depend on the circumstances.

Paying one does not mean the other has been paid. Both need to be considered when estimating the costs of selling a property in Spain.

8. How can Casas Connect help when selling your property?

When we prepare a seller's estimated costs, we look at the original purchase price, the purchase expenses we know about, the expected sale price and the selling costs that have been identified.

We also ask about any improvements carried out during ownership and whether the seller has the appropriate invoices to support them.

Using this information, we can provide an estimated capital gains figure to help sellers understand their likely financial position before proceeding with the sale.

It is important to understand that this is an estimate, not a formal tax assessment. The final calculation may change depending on the documentation available, the seller's tax residency, qualifying exemptions and their individual circumstances.

For that reason, we always recommend that the final tax position is checked by a qualified tax adviser.

Our advice is simple: don't wait until you have sold your property to start thinking about capital gains tax.

The earlier you understand the figures, the better prepared you will be.

Frequently Asked Questions

Is capital gains tax calculated on the full sale price?

No. It is generally calculated on the difference between the adjusted acquisition value and adjusted transfer value, taking account of eligible expenses and improvements.

Can I deduct the cost of renovating my property?

Qualifying investments and improvements may be included, but ordinary maintenance and repairs are treated differently. Proper supporting invoices and documentation are essential.

Do I have to pay capital gains tax if I am non-resident?

Generally, yes, if you make a taxable gain on the sale of Spanish property. The general non-resident rate for individuals is 19%, and the buyer normally withholds 3% of the sale price as an advance payment.

If I buy another property in Spain, will I avoid capital gains tax?

Not automatically. The reinvestment exemption has specific conditions, including requirements relating to the habitual residence of the property sold and the replacement property.

Can I sell my property tax-free if I am over 65?

A qualifying Spanish tax resident over 65 may benefit from an exemption when selling their habitual residence. The exemption does not automatically apply to every property they own.

What is the difference between capital gains tax and Plusvalía Municipal?

Capital gains tax relates to the gain made on the property sale. Plusvalía Municipal is a separate local tax relating to the increase in the value of urban land.

Selling your property on the Costa Blanca?

At Casas Connect, we help sellers understand the process, prepare the paperwork and get a clearer picture of the costs involved before completion.

Whether you are selling a holiday home, an investment property or your permanent residence, our team can guide you through the sale and help you prepare for the next step.

Casas Connect – Connecting People & Property, Perfectly.

Back

Share