CAPITAL GAINS TAX FOR RESIDENT FOREIGN HOMEOWNERS

CAPITAL GAINS TAX FOR RESIDENT FOREIGN HOMEOWNERS

A clear guide for resident property owners in Altea and the Costa Blanca

For many international clients living in Spain, selling a property is a tax-sensitive transaction.

If you are a foreign homeowner resident in Spain, understanding how Capital Gains Tax applies to your situation is essential to avoid unexpected liabilities and to structure your sale efficiently.

At ALTEAINVEST — Strategic Property Advisory, we combine legal, tax and real estate expertise to ensure that every transaction is handled with clarity, precision and full compliance.

What Is Capital Gains Tax in Spain?

Capital gains tax is applied to the profit obtained from the sale of assets in Spain. For resident foreign homeowners, this primarily concerns residential property sales, but it can also apply to other asset categories, including:

-           other types of property such as commercial spaces, plots and rustic land;

-           financial Instruments such as shares, stocks and bonds;

-           cryptocurrencies such as Bitcoin and Ethereum;

-           Items such as art, antiques or other valuable goods.

How Is Capital Gain Calculated?

This tax is calculated as the difference between the acquisition value and the transfer value of the property.

Acquisition Value includes:

  • Purchase price stated in the deed

  • Notary and registry costs

  • Taxes paid at the time of purchase (ITP, VAT, AJD, etc.)

  • Legal fees

  • Documented improvements (costs that are not clearly supported by documentation cannot be taken into account).

Please, note that only property improvements that increase value or habitability (e.g. extensions, structural works, installations) are deductible, provided they are well documented with invoices, payments, and legal permits when necessary. Such as:

-          Building a pool, garage or tennis court

-          Extending built surface with permits

-          Installing solar panels

-          A full renovation of a property in ruin.

Note: Standard repairs, routine manintenance or replacements of existing features such as painting, changing flooring, or replacing windows, do not count as deductible improvements. Even if these works make the property more attractive and increase the eventual sale price, the Spanish Tax Authority will not allow them as deductions. Only improvements that create something new or substantially enhance the property’s usability/efficiency are valid.

Transfer Value includes:

  • Actual sale price

  • Minus:

    • Real estate agency fees

    • Legal costs

    • Municipal capital gains tax (plusvalía)

Capital Gains Tax Rates for Residents (2026)

For residents in Spain, weather Spanish or foreigners, the following progressive rates apply:

  • 19% on the first €6,000

  • 21% from €6,000 to €50,000

  • 23% from €50,000 to €200,000

  • 27% from €200,000 to €300,000

  • 28% on amounts above €300,000

Who Qualifies as a Resident?

You are considered a tax resident in Spain if:

  • You spend more than 183 days per year in Spain

  • Your main economic interests are located in Spain

This classification is crucial, as it determines the applicable tax regime.

Tax Advantages for Resident Foreign Homeowners

This is where resident foreign owners have a significant advantage over non-residents.

1. Main Residence Exemption

If the property sold is your primary residence, you may benefit from a full or partial exemption.

Conditions:

  • The property must have been your habitual residence

  • The proceeds must be reinvested in another main residence

  • Reinvestment must occur within 2 years (before or after the sale)

Exemption applies to the entire gain if reinvesting the full amount. When the reinvested amount is lower than the total of the amount received in the transfer, only the proportional part of the capital gain obtained corresponding to the reinvested amount will be excluded from taxation.

2. Exemption for Over 65s

If you are:

✔ Over 65 years old
✔ Selling your main residence

The capital gain may be completely exempt, even without reinvestment.

3. Offset of Losses

Residents can:

  • Offset capital gains with capital losses

  • Optimise tax liability across investments

Common Mistakes to Avoid

Even experienced investors make errors that increase tax exposure:

1. Not documenting improvements properly: Without invoices and permits, they cannot be deducted

2. Confusing resident vs non-resident status:  Leads to incorrect tax treatment

3. Ignoring reinvestment deadlines:  Losing exemption rights

4. Underestimating tax impact before selling: Reduces net profit significantly

Penalties and Compliance with Spanish Tax Authorities

TheSpanish Tax Agency enforces strict compliance rules. Late submissions, inaccurate declarations, or missing documentation can trigger:

- Financial penalties

- Interest on unpaid amounts

- Audits or further investigations

Timely, accurate, and well-documented filing is therefore essential to avoid complications.

Strategic Insight: Tax Planning Before Selling

The biggest mistake is treating tax as an afterthought.

In reality, tax should be planned before the property is put on the market.

At ALTEAINVEST, we analyse:

  • Ownership structure

  • Residency status

  • Potential exemptions

  • Timing of the sale

This allows us to optimise the transaction legally and financially.

Why Professional Advice Matters

Selling property in Spain, especially in premium areas such as Altea, requires more than just finding a buyer. It requires:

✔ Legal clarity
✔ Tax efficiency
✔ Strategic structuring

Without this, even a successful sale can result in avoidable tax losses.

Conclusion: Turn Tax into Strategy

For resident foreign homeowners in Spain:

✔ Capital Gains Tax is unavoidable
✔ But it can be optimised

The difference lies in:

-       Preparation

-       Structure

-       Expert guidance

There are several rules and exemptions regarding the taxes you need to pay in Spain as a resident homeowner, and knowing them all can be nearly impossible. Our in-house lawyers are specialized on non-resident taxes and will help you to analyze your situation, answer all your doubts and manage all your taxes so you can pay just what you should.

Thinking of Selling Your Property in Altea?

At ALTEAINVEST, we provide:

✔ Full legal and tax analysis
✔ Strategic property positioning
✔ International buyer access
✔ Secure and efficient transactions

Contact us today for a confidential consultation and ensure your property sale is handled with precision, security and maximum financial efficiency.

This tax information is provided for general information and should be not considered 100 % correct for all cases. While ALTEAINVEST takes care to make sure that information is accurate on the date of publication, some content may change over time, so for precise tax advice on your particular circumstances you must always seek for professional advice. Contact us!

ALTEAINVEST — Strategic Property Advisory

Real Estate & Legal Expertise in Altea and the Costa Blanca

Latest news
© 2026 AlteaInvest - All Rights Reserved
Manage consent

We use our own and third-party cookies to personalize the web, analyze our services and show you advertising based on your browsing habits and preferences. For more information visit our Cookies Policy

Accept cookies Configuration Reject cookies