If you're an investor, expat, or retiree choosing between Spain and Portugal, the Spain Portugal capital gains tax comparison is one of the most important financial analyses you can do before making your move. Both Iberian neighbors attract hundreds of thousands of foreign residents each year with their sunshine, lifestyle, and — historically — favorable tax regimes. But when it comes to capital gains tax (CGT) in 2025/2026, the two countries diverge in meaningful ways that can cost or save you thousands of euros.
In this comprehensive guide, we'll compare capital gains tax rates, exemptions, special regimes, and real-world examples so you can determine which country has lower capital gains tax for your specific situation.
What Is Capital Gains Tax and Why Does It Matter?
Capital gains tax is the tax levied on the profit you make when you sell an asset — such as shares, bonds, real estate, cryptocurrency, or other investments — for more than you paid for it. The gain is calculated as:
Capital Gain = Sale Price − Acquisition Cost − Allowable Expenses
Both Spain and Portugal tax capital gains, but they differ significantly in:
- Rate structures (flat vs. progressive)
- Exemptions and reliefs (primary residence, reinvestment, age-related)
- Treatment of residents vs. non-residents
- Special tax regimes for expats and digital nomads
Understanding these differences is essential whether you're relocating, investing cross-border, or simply optimizing your portfolio from an Iberian base.
Spain Capital Gains Tax Rates in 2025/2026
Spain taxes capital gains (known as ganancias patrimoniales) as part of the "savings income" (renta del ahorro) tax base. This applies to gains from the sale of shares, funds, real estate, and other assets.
Resident Capital Gains Tax Rates
For Spanish tax residents in the 2025/2026 tax year, capital gains are taxed on a progressive scale:
| 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 rates apply at the national level. Some autonomous communities may impose minor surcharges, but the savings tax base rates are largely uniform across Spain.
Example: If you're a Spanish tax resident and you sell shares for a profit of €75,000:
- First €6,000 at 19% = €1,140
- Next €44,000 (€6,001–€50,000) at 21% = €9,240
- Remaining €25,000 (€50,001–€75,000) at 23% = €5,750
- Total CGT = €16,130 (effective rate ≈ 21.5%)
Use our Spain Capital Gains Tax Calculator to compute your exact liability based on your gain amount.
Non-Resident Capital Gains Tax Rates
Non-residents selling Spanish assets (most commonly real estate) are taxed at a flat rate of 19% if they are residents of another EU/EEA country, or 24% for residents of countries outside the EU/EEA.
Importantly, when a non-resident sells Spanish real estate, the buyer is legally required to withhold 3% of the total sale price and remit it to the Spanish tax authorities (Hacienda) as an advance payment toward the seller's CGT liability. The seller can then file a return to claim a refund if the actual tax owed is less than the 3% withheld.
Key Spanish CGT Exemptions and Reliefs
- Primary residence reinvestment exemption: If you sell your primary residence and reinvest the full proceeds in a new primary residence within two years, the capital gain is fully exempt.
- Over-65 exemption: Taxpayers aged 65 or older are exempt from CGT on the sale of their primary residence, regardless of reinvestment. They can also exempt gains on other assets if the proceeds are reinvested into a life annuity (renta vitalicia) within six months (up to a maximum of €240,000).
- Inflation adjustment for real estate acquired before 1995: Properties (and certain other assets) acquired before January 31, 1995, benefit from transitional reduction coefficients that can significantly reduce the taxable gain.
- Loss offsetting: Capital losses can be offset against capital gains within the same tax year, with unused losses carried forward for four years.
Portugal Capital Gains Tax Rates in 2025/2026
Portugal's capital gains tax system has undergone notable changes in recent years, particularly with reforms to the Non-Habitual Resident (NHR) regime. Here's where things stand for 2025/2026.
Resident Capital Gains Tax Rates
For Portuguese tax residents, capital gains are divided into two categories:
1. Financial Assets (Shares, Bonds, Crypto, Funds)
Gains from the sale of financial assets held for less than 365 days are taxed at a flat rate of 28%, or the taxpayer can opt to include them in their general taxable income (taxed at progressive rates from 13% to 48%) if that results in a lower liability.
Gains from assets held for 365 days or more also face the 28% flat rate, but the taxpayer may again opt for aggregation with general income.
2. Real Estate
For Portuguese real estate, only 50% of the capital gain is taxable. This 50% is then mandatorily aggregated with the taxpayer's other income and taxed at Portugal's progressive income tax rates:
| Taxable Income (EUR) | Rate |
|---|---|
| Up to €7,703 | 13% |
| €7,704 – €11,623 | 18% |
| €11,624 – €16,472 | 23% |
| €16,473 – €21,321 | 26% |
| €21,322 – €27,146 | 32.75% |
| €27,147 – €39,791 | 37% |
| €39,792 – €51,997 | 43.5% |
| €51,998 – €81,199 | 45% |
| Over €81,199 | 48% |
Additionally, a solidarity surcharge (taxa adicional de solidariedade) applies: 2.5% on taxable income between €80,000 and €250,000, and 5% on income exceeding €250,000.
Example: A Portuguese resident sells an investment property for a €75,000 gain. Only €37,500 is taxable (50% inclusion). If the taxpayer has no other income, the effective tax on the full €75,000 gain would be approximately €8,600–€9,500, depending on applicable deductions — yielding an effective rate of roughly 11.5%–12.7% on the total gain.
However, if the same resident sells shares for a €75,000 short-term gain and opts for the flat rate, the tax is simply:
- €75,000 × 28% = €21,000 (effective rate: 28%)
You can model both scenarios with our Portugal Capital Gains Tax Calculator.
Non-Resident Capital Gains Tax Rates
- Financial assets: Non-residents from outside the EU/EEA pay a flat 28% on gains from Portuguese-source financial assets. EU/EEA residents may opt to be taxed at the same progressive rates available to Portuguese residents.
- Real estate: Non-residents selling Portuguese property can benefit from the same 50% inclusion rule if they are EU/EEA residents who opt for the aggregation method. Non-EU/EEA residents are taxed on the full gain at 28% — a significant disadvantage.
Key Portuguese CGT Exemptions and Reliefs
- Primary residence reinvestment exemption: Similar to Spain, gains from the sale of a primary residence are exempt if the proceeds are reinvested in another primary residence within the EU/EEA (36 months after, or 24 months before, the sale).
- Assets acquired before 1989: Gains on assets acquired before January 1, 1989, are generally exempt from CGT.
- Crypto-specific rule: Since 2023, cryptocurrency gains are taxed at 28% if the holding period is less than 365 days. Gains on crypto held for over 365 days are exempt — a major advantage for long-term crypto investors.
- Start-up investment relief: Certain qualified investments in Portuguese start-ups may benefit from preferential treatment.
The NHR Successor Regime: Portugal's Tax Incentive for Newcomers in 2025
Portugal's famous Non-Habitual Resident (NHR) regime, which offered a flat 20% rate on qualifying Portuguese-source income and broad exemptions on foreign income for 10 years, was officially closed to new applicants from January 1, 2024.
However, Portugal introduced a new tax incentive for scientific research and innovation (IFICI) as its successor, effective 2025. Key details relevant to capital gains:
- The new regime targets professionals in specific sectors (tech, science, academia, startups, and senior management).
- Qualifying individuals may benefit from a 20% flat rate on qualifying Portuguese-source employment and self-employment income for 10 years.
- Foreign-source capital gains may be exempt from Portuguese tax under the new regime, depending on the asset type and applicable double taxation agreements.
- Portuguese-source capital gains are generally taxed under the standard rules described above.
Residual NHR holders (those who registered before the 2024 deadline) continue to benefit from their existing NHR advantages for the remainder of their 10-year period, which typically includes exemption on foreign-source capital gains where certain conditions are met.
Spain, by contrast, has no equivalent special tax regime for incoming residents. Spain's Beckham Law (Régimen de Impatriados) does exist for certain incoming workers, offering a flat 24% income tax rate on Spanish-source income up to €600,000, but it has limited impact on capital gains, which are still generally taxed under the standard savings income rates described above.
Head-to-Head: Spain vs Portugal Capital Gains Tax Comparison
Let's put it all together with a direct comparison for the 2025/2026 tax year:
Comparison Table — Residents
| Feature | Spain | Portugal |
|---|---|---|
| Short-term share gains | 19%–28% (progressive) | 28% flat (or aggregation) |
| Long-term share gains | 19%–28% (progressive, no holding-period benefit) | 28% flat (or aggregation) |
| Real estate gains | 19%–28% (progressive) | 50% of gain taxed at 13%–48% (aggregated) |
| Crypto gains (<365 days) | 19%–28% (progressive) | 28% flat |
| Crypto gains (>365 days) | 19%–28% (progressive, no exemption) | Exempt |
| Primary residence exemption | Yes (reinvestment required; full exemption over 65) | Yes (reinvestment within EU/EEA) |
| Loss carry-forward | 4 years | 5 years |
| Special regime for newcomers | Beckham Law (limited CGT benefit) | IFICI (potential foreign CGT exemption) |
Comparison Table — Non-Residents
| Feature | Spain | Portugal |
|---|---|---|
| EU/EEA residents – shares | 19% flat | 28% flat (or aggregation option) |
| Non-EU/EEA residents – shares | 24% flat | 28% flat |
| EU/EEA residents – real estate | 19% flat | 50% inclusion + aggregation option |
| Non-EU/EEA residents – real estate | 24% flat | 28% on full gain |
| Withholding on property sales | 3% of sale price | None (but estimated payment may apply) |
Which Country Has Lower Capital Gains Tax? Key Takeaways
Portugal wins for:
- Real estate investors — The 50% inclusion rule means effective rates on property gains can be as low as 6.5%–14% for residents, significantly below Spain's 19%–28%.
- Long-term crypto investors — Portugal's exemption for crypto held over 365 days is unmatched. Spain taxes all crypto gains at 19%–28%.
- Expats qualifying for the IFICI regime — Potential exemptions on foreign-source capital gains are a powerful benefit that Spain's Beckham Law cannot match for investment income.
Spain wins for:
- Smaller capital gains — The 19% starting bracket means that if your total gains are under €6,000, Spain charges less than Portugal's 28% flat rate on financial assets.
- Non-resident EU/EEA sellers — Spain's flat 19% for EU/EEA non-residents is lower than Portugal's 28% flat rate on financial assets.
- Retirees over 65 — Spain's unconditional primary-residence CGT exemption for over-65s (no reinvestment required) is more generous than Portugal's reinvestment-dependent relief.
Practical Example: Selling a €300,000 Property at a €100,000 Gain
Let's walk through a real-world comparison:
Scenario: You are a tax resident with €40,000 in annual salary income and you sell a second property for a €100,000 capital gain.
In Spain (Resident)
The €100,000 gain is taxed under the savings income scale:
- First €6,000 at 19% = €1,140
- Next €44,000 at 21% = €9,240
- Remaining €50,000 at 23% = €11,500
- Total CGT: €21,880 (effective rate: 21.9%)
Use the Spain Capital Gains Tax Calculator to verify.
In Portugal (Resident)
Only 50% of the gain (€50,000) is added to your €40,000 salary, giving a combined taxable income of €90,000. The marginal rates push the top portion into the 45%–48% bracket, but the effective rate on the property gain portion is approximately:
- Tax on €90,000 of combined income minus tax on €40,000 salary = incremental tax attributable to the gain
- Estimated incremental tax: approximately €18,000–€20,000 on the €50,000 included gain
- Effective CGT on the €100,000 full gain: ~€18,000–€20,000 (effective rate: 18%–20%)
The result? Portugal's 50% inclusion rule delivers a lower effective tax even though the top marginal rate is higher.
Model your exact scenario with the Portugal Capital Gains Tax Calculator and compare it against the Spain Capital Gains Tax Calculator.
Double Taxation Agreements and Cross-Border Considerations
Spain and Portugal have a bilateral double taxation agreement (DTA) that prevents the same income from being taxed in both countries. Key provisions relevant to capital gains:
- Real estate gains are generally taxable in the country where the property is located (the "situs" state), regardless of where the seller is resident.
- Share gains are generally taxable only in the seller's country of residence, unless the shares derive more than 50% of their value from real estate in the other country.
- Tax credits are available in the residence country for any tax paid in the source country, preventing double taxation.
If you're moving between Spain and Portugal, be aware of "exit tax" rules. Spain imposes an exit tax on unrealized gains for taxpayers who have been residents for at least 10 of the last 15 years and hold shares worth over €4 million (or a 25%+ stake worth over €1 million). Portugal has its own exit tax provisions aligned with EU anti-tax-avoidance directives.
Common Mistakes to Avoid
- Assuming NHR still applies to new arrivals — The NHR regime closed to new applicants in 2024. Only the IFICI successor is available, with narrower eligibility.
- Forgetting municipal surcharges in Spain — While autonomous community surcharges on savings income are minimal, some regions add complexity.
- Ignoring the aggregation option in Portugal — Lower-income taxpayers may pay less than 28% on financial gains by opting for aggregation with general income. Always compare both methods.
- Overlooking acquisition cost adjustments — In Portugal, you can apply official inflation coefficients to update the acquisition cost of real estate, reducing the taxable gain. In Spain, assets acquired before 1995 benefit from transitional reductions.
- Not planning holding periods for crypto — Holding crypto for at least 366 days in Portugal converts a 28% tax liability into a 0% one. This is perhaps the single largest planning opportunity in the entire Spain–Portugal comparison.
FAQ: Spain vs Portugal Capital Gains Tax
Q: Which country has a lower capital gains tax on stocks in 2025? A: For gains under €6,000, Spain is cheaper (19% vs. 28%). For larger gains, Portugal can be cheaper if you opt for aggregation and your marginal rate stays below Spain's equivalent bracket. For most moderate-to-large gains on financial assets, Portugal's flat 28% is comparable to or slightly higher than Spain's effective rates.
Q: Is Portugal still a tax haven for capital gains? A: Portugal is not a tax haven, but its 50% inclusion for real estate gains and crypto exemption for long-term holders remain among the most attractive features in Europe.
Q: Do I pay capital gains tax if I move from Spain to Portugal? A: Potentially. Spain's exit tax may apply on unrealized gains if you meet the thresholds. Consult a cross-border tax advisor before relocating.
Q: Can I use losses in one country to offset gains in the other? A: Generally no. Capital losses are offset within the same tax jurisdiction. However, your country of residence will give you a credit for taxes paid in the source country under the DTA.
Q: How do I calculate my tax in each country? A: Use our free calculators: the Spain Capital Gains Tax Calculator and the Portugal Capital Gains Tax Calculator. For income tax modeling, try the Spain Income Tax Calculator and Portugal Income Tax Calculator.
Conclusion: Making the Right Choice for Your Finances
The Spain Portugal capital gains tax comparison for 2025/2026 reveals no clear one-size-fits-all winner. Your optimal choice depends on:
- The type of assets you hold — Portugal is significantly better for real estate gains and long-term crypto; Spain can be better for small financial gains.
- The size of your gains — Spain's lower starting bracket (19%) favors small gains, while Portugal's 50% real estate inclusion favors large property disposals.
- Your residency status and eligibility for special regimes — Portugal's IFICI regime (NHR successor) can exempt foreign-source gains entirely, a benefit Spain's Beckham Law doesn't extend to investment income.
- Your age and personal circumstances — Spain's over-65 primary residence exemption is uniquely generous.
Before making any decisions, model your specific numbers using our calculators:
- Spain Capital Gains Tax Calculator
- Portugal Capital Gains Tax Calculator
- Spain Income Tax Calculator
- Portugal Income Tax Calculator
And remember: the best tax planning considers not just capital gains, but your entire income picture, wealth taxes (Spain has one; Portugal does not for most assets), inheritance tax, and lifestyle costs.
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.