If you're considering moving to Spain — or you've recently made the leap — understanding the local tax landscape should be near the top of your to-do list. One area that catches many newcomers off guard is expat capital gains tax in Spain, which can apply to everything from selling your former home abroad to disposing of investment portfolios and cryptocurrency. Getting it wrong can mean unexpected tax bills, penalties, or missed exemptions.

This Spain expat tax guide walks you through the capital gains tax (CGT) rules for the 2025/2026 tax year, including current rates, key exemptions, reporting deadlines, and how double taxation agreements (DTAs) can protect you from being taxed twice on the same gain. Whether you're a soon-to-be resident or a non-resident with Spanish assets, this article will help you plan smarter.

How Spain Defines Tax Residency — and Why It Matters

Before diving into capital gains tax rates, you need to understand how Spain determines your tax status. Your residency classification dictates what you're taxed on, how much you pay, and which exemptions you can access.

Spain's tax authority, the Agencia Tributaria, considers you a tax resident if any of the following apply:

  • You spend more than 183 days in Spain during a calendar year (January to December).
  • Spain is the centre of your economic interests — meaning the bulk of your income or assets are managed from or located in Spain.
  • Your spouse and dependent minor children reside in Spain (unless you can prove otherwise).

Residents vs. Non-Residents: A Key Distinction

Factor Tax Resident Non-Resident
Taxed on Worldwide income and gains Spanish-source income and gains only
CGT rates Progressive savings rates (19%–28%) Flat 19% (EU/EEA) or 24% (non-EU/EEA)
Exemptions available Main home reinvestment, over-65s Limited
Filing obligation Annual Renta declaration Model 210 per transaction

If you're moving to Spain taxes will apply on your worldwide capital gains once you become a resident. This includes gains from selling property in your home country, shares listed on foreign exchanges, and even crypto disposals.

Capital Gains Tax Rates in Spain for 2025/2026

Spain taxes capital gains as part of the savings tax base (base imponible del ahorro), which is separate from the general tax base used for employment income. For tax residents in 2025/2026, the progressive rates are:

Taxable Gain (EUR) Tax Rate
Up to €6,000 19%
€6,001 – €50,000 21%
€50,001 – €200,000 23%
€200,001 – €300,000 27%
Over €300,000 28%

These bands are cumulative, meaning your gain is taxed in slices — the first €6,000 at 19%, the next portion at 21%, and so on.

Practical Example: Selling an Investment Portfolio

Imagine you're a British expat who moved to Barcelona in 2024 and became a Spanish tax resident. In 2025, you sell shares originally purchased for €80,000, receiving €150,000 — a capital gain of €70,000.

Here's how the tax breaks down:

  1. First €6,000 at 19% = €1,140
  2. Next €44,000 (€6,001–€50,000) at 21% = €9,240
  3. Remaining €20,000 (€50,001–€70,000) at 23% = €4,600

Total CGT liability: €14,980 (effective rate ≈ 21.4%)

Want to calculate your own scenario? Use our Spain Capital Gains Tax Calculator to get a quick estimate based on your specific numbers.

Non-Resident Capital Gains Tax Rates

If you're not yet a Spanish tax resident — or you've left Spain but still own assets there — different rules apply:

  • EU/EEA residents: A flat 19% on Spanish-source capital gains.
  • Non-EU/EEA residents: A flat 24% (unless a tax treaty provides a lower rate).

The most common scenario is selling Spanish property as a non-resident. In this case, the buyer is legally required to withhold 3% of the sale price and pay it to the tax authority as an advance payment toward your CGT liability. You then file Model 210 to either settle the remaining tax or claim a refund if the 3% retention exceeded your actual liability.

Types of Assets Subject to Capital Gains Tax in Spain

Many expats think capital gains tax only applies to property. In reality, Spain's CGT net is wide. Here are the main asset categories:

Real Estate

Selling property — whether in Spain or abroad (for residents) — triggers a CGT event. The taxable gain is calculated as:

Sale price – Acquisition cost – Allowable expenses = Taxable gain

Allowable expenses typically include:

  • Purchase taxes (ITP, VAT, stamp duty)
  • Notary and registry fees
  • Real estate agent commissions
  • Documented improvement costs (not maintenance)
  • Plusvalía municipal tax (in certain circumstances)

For properties acquired before 1995, a transitional relief (coeficientes de abatimiento) may reduce the taxable gain, though this relief is capped at gains attributed to sale proceeds up to €400,000 cumulative across your lifetime.

Shares, Funds, and ETFs

Disposals of listed and unlisted shares, mutual funds, and exchange-traded funds are all taxable. Spain applies the FIFO method (First In, First Out) to determine which shares were sold first when calculating gains.

One advantage in Spain: switching between Spanish-compliant investment funds (traspasos) does not trigger a taxable event. This allows tax-deferred portfolio rebalancing — a valuable planning tool for expats.

Cryptocurrency

Spain has been increasingly proactive in taxing crypto gains. Selling, swapping, or spending cryptocurrency constitutes a taxable disposal. The gain is calculated as the difference between acquisition cost and disposal value, and it's taxed at the same progressive savings rates outlined above.

Since 2024, Spanish residents must also report foreign crypto holdings exceeding €50,000 on Model 721, similar to the Model 720 requirement for other overseas assets.

Other Taxable Events

  • Selling a business or partnership interest
  • Receiving compensation for loss of assets
  • Certain insurance payouts
  • Disposing of intellectual property rights

Key Exemptions and Reliefs Expats Should Know About

Spain offers several important exemptions that can significantly reduce or eliminate your capital gains tax bill. Failing to claim these is one of the most common mistakes expats make.

1. Main Home Reinvestment Exemption (Exención por Reinversión en Vivienda Habitual)

If you sell your principal residence in Spain and reinvest the full proceeds into a new main home (also in Spain or elsewhere in the EU/EEA), the capital gain is fully exempt from tax. Key conditions:

  • The property must have been your habitual residence for at least 3 years (with some exceptions).
  • You must reinvest within 2 years before or after the sale.
  • If you only reinvest part of the proceeds, the exemption is proportional.

Important for expats: Selling your home in your country of origin before becoming a Spanish tax resident can avoid this asset falling under Spanish tax rules entirely. Timing your move strategically is crucial.

2. Over-65s Exemption

Tax residents aged 65 or older benefit from two powerful reliefs:

  • Complete exemption on gains from selling their main home — no reinvestment required.
  • Exemption on gains from any asset (up to €240,000) if the proceeds are reinvested into a renta vitalicia (lifetime annuity) within 6 months of the sale.

3. Losses Offsetting

Capital losses can be offset against capital gains within the same tax year. If losses exceed gains, you can carry forward the unused losses for 4 years. Additionally, up to 25% of net capital losses can be offset against income from dividends, interest, and other savings income within the same tax base.

Double Taxation Agreements: Avoiding Being Taxed Twice

One of the biggest concerns when moving to Spain taxes on assets sold abroad is the risk of double taxation. For example, if you sell a rental property in the UK, both Spain and the UK might claim the right to tax the gain.

Spain has an extensive network of double taxation agreements (DTAs) with over 90 countries, including the United States, United Kingdom, Canada, Australia, Germany, France, and most other EU/EEA nations.

How DTAs Generally Work for Capital Gains

The treatment depends on the type of asset:

  • Real estate: Usually taxable in the country where the property is located, with a credit given in your country of residence.
  • Shares and securities: Typically taxable only in the country of residence (Spain, for residents), though some treaties allow limited source-country taxation for substantial shareholdings.
  • Other movable property: Generally taxable only in the country of residence.

Practical Example: US Expat Selling Property in the US

Sarah, a US citizen who moved to Madrid in 2023, sells her former home in Texas in 2025 for a gain of $120,000. Under the Spain-US double taxation treaty:

  1. The US has primary taxing rights on the real estate gain (since the property is in the US).
  2. Spain also taxes the gain as part of Sarah's worldwide income (since she's a Spanish resident).
  3. Spain grants a tax credit for the US tax paid, eliminating double taxation.
  4. Sarah may also benefit from the US $250,000/$500,000 primary residence exclusion under IRC Section 121, potentially eliminating the US liability.

Note: US citizens are subject to US tax filing obligations worldwide regardless of residence, adding an extra layer of complexity. Professional cross-border tax advice is essential.

Reporting Obligations and Deadlines for 2025/2026

Meeting Spain's reporting requirements is non-negotiable. Late or inaccurate filings can trigger significant penalties.

For Tax Residents

  • Annual income tax return (Modelo 100 / Declaración de la Renta): Filed between April and June of the year following the tax year. For gains realized in 2025, you'd file by late June 2026.
  • Model 720 — Overseas Asset Declaration: If you hold foreign assets (bank accounts, securities, real estate, cryptocurrency) with a combined value exceeding €50,000 per category, you must file Model 720 by March 31 each year. Penalties for non-compliance have been moderated following a 2022 EU court ruling, but the reporting obligation remains.
  • Model 721 — Crypto Asset Declaration: For foreign-held crypto exceeding €50,000, due by March 31.

For Non-Residents

  • Model 210: Filed within 3 months following the disposal of a Spanish asset (4 months for property sales where the 3% retention applies).

Common Mistakes to Avoid

  1. Forgetting the Model 720/721: Many expats don't realize they must declare overseas assets even if no tax is owed on them.
  2. Using incorrect acquisition costs: Always include purchase taxes, fees, and documented improvements — not just the headline purchase price.
  3. Ignoring the Beckham Law: High-earning expats may qualify for Spain's special tax regime (Régimen de Impatriados), which allows qualifying individuals to be taxed as non-residents (flat 24% on Spanish income) for up to 6 years. However, this regime has specific implications for capital gains that require careful analysis.
  4. Missing the reinvestment window: The 2-year deadline for the main home exemption is strict.
  5. Not considering pre-move planning: Selling assets before becoming a Spanish tax resident can sometimes result in a lower overall tax burden.

Practical Tips for Expats: Planning Your Move to Spain

Here are actionable steps to manage your capital gains tax exposure effectively:

  • Get a tax residency timeline: Know exactly when you'll cross the 183-day threshold or otherwise become tax resident. This determines which tax year your worldwide gains first fall under Spanish jurisdiction.
  • Consider pre-arrival disposals: If you plan to sell a property, shares, or other assets, evaluate whether doing so before establishing Spanish residency is advantageous.
  • Organize your records: Gather original purchase documentation, improvement receipts, and cost basis records for all significant assets. Spanish tax authorities may request these years later.
  • Review your investment structure: Tax-efficient fund switching, pension contributions, and the use of Spanish-compliant investment vehicles can defer or reduce CGT.
  • Estimate your liability early: Use our Spain Capital Gains Tax Calculator to model different scenarios. Pair it with our Spain Income Tax Calculator to understand your total Spanish tax exposure.
  • Engage a cross-border tax advisor: DIY tax filing is risky when two (or more) countries' rules interact. A specialist can identify treaty benefits, exemptions, and structuring opportunities you might miss.

Conclusion: Key Takeaways for Expats Facing Capital Gains Tax in Spain

Moving to Spain is an exciting life change, but it comes with real tax consequences — especially around capital gains. Here's a summary of what every expat should remember:

  • Spanish tax residents pay CGT at progressive rates from 19% to 28% on worldwide gains in 2025/2026.
  • Non-residents pay a flat 19% (EU/EEA) or 24% on Spanish-source gains only.
  • Exemptions exist for main home reinvestment, over-65s, and through loss offsetting — but you must meet specific conditions.
  • Double taxation agreements generally prevent you from being taxed twice, but you must claim relief correctly.
  • Reporting is critical: Model 100, Model 720, and Model 721 all have firm deadlines and non-trivial penalties for non-compliance.
  • Timing matters: Pre-move asset disposals and strategic planning can save thousands of euros.

The Spanish tax system is detailed but navigable with the right preparation. Start by estimating your potential liability with our Spain Capital Gains Tax Calculator, and consider speaking with a qualified international tax advisor before your move.


This article is for informational purposes only and does not constitute tax advice. Tax laws change frequently; consult a qualified tax professional for advice specific to your situation.