If you're an investor, property owner, or expat weighing your options on the Iberian Peninsula, understanding the Spain vs Portugal capital gains tax landscape is essential for sound financial planning. Both countries attract thousands of international residents each year with their warm climates, rich cultures, and strategic European locations — but their tax regimes can significantly affect your net returns on investments, real estate, and other assets.
In this detailed capital gains tax comparison for the 2025/2026 tax year, we break down the rates, exemptions, filing requirements, and planning opportunities in both Spain and Portugal. Whether you're a tax resident, a non-resident with assets in either country, or someone deciding where to relocate, this guide gives you the concrete numbers and practical insights you need.
What Is Capital Gains Tax and Why Does It Matter?
Capital gains tax (CGT) is levied on the profit you make when you sell or dispose of an asset — such as shares, property, or other investments — for more than you originally paid. Both Spain and Portugal treat capital gains as taxable events, but the way they calculate, classify, and tax those gains differs considerably.
For anyone conducting a tax comparison Spain Portugal exercise, capital gains tax is often the single biggest variable, especially for:
- Property investors buying or selling real estate
- Stock market investors and traders
- Entrepreneurs selling business assets or company shares
- Expats and retirees considering relocation for tax efficiency
- Digital nomads with international investment portfolios
Understanding the nuances can save you thousands — or even tens of thousands — of euros.
Capital Gains Tax in Spain: 2025/2026 Rules and Rates
Spain taxes capital gains under the "savings income" (rentas del ahorro) category for most financial and property gains. This is separate from general income, which falls under the progressive income tax scale.
Tax Rates for Residents
For Spanish tax residents in 2025/2026, capital gains are taxed at the following progressive rates:
| Net Capital Gain | 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 to gains from the sale of shares, funds, property, and most other capital assets. Note that Spain introduced the 27% and 28% brackets in recent years to increase taxation on higher-value disposals.
Practical Example: If you're a Spanish tax resident and sell shares for a net capital gain of €80,000, your tax would be calculated as follows:
- 19% on the first €6,000 = €1,140
- 21% on the next €44,000 (€6,001 to €50,000) = €9,240
- 23% on the remaining €30,000 (€50,001 to €80,000) = €6,900
- Total CGT = €17,280 (effective rate of approximately 21.6%)
Use our Spain Capital Gains Tax Calculator to run your own scenarios with precise figures.
Tax Rates for Non-Residents
Non-residents who dispose of assets located in Spain — most commonly real estate — are subject to a flat capital gains tax rate of 19% if they are residents of another EU/EEA country, or 24% for non-EU/EEA residents.
Importantly, when a non-resident sells Spanish property, the buyer is legally required to withhold 3% of the total sale price and remit it to the Spanish tax authority (Agencia Tributaria) as an advance payment toward the seller's capital gains tax liability. The seller can then file a return to claim a refund if the actual tax owed is less than the 3% withheld.
Key Exemptions and Deductions in Spain
- Primary residence reinvestment exemption: If you sell your principal home and reinvest the full proceeds into a new primary residence within two years, the capital gain can be fully exempt.
- Over-65 exemption: Residents aged 65 and over are fully exempt from CGT on the sale of their primary residence, regardless of whether they reinvest. They can also exempt gains on other assets if the proceeds are reinvested into a lifetime annuity (up to €240,000).
- Inflation adjustment for pre-1995 assets: Properties and certain assets acquired before 31 December 1994 may benefit from transitional reduction coefficients, though these have been capped.
- Loss offsetting: Capital losses can be offset against capital gains within the same tax year, with unused losses carried forward for up to four years.
Capital Gains Tax in Portugal: 2025/2026 Rules and Rates
Portugal's approach to capital gains tax is structurally different from Spain's, particularly in how it treats property gains versus financial asset gains.
Tax Rates for Residents
For Portuguese tax residents in 2025/2026:
- Gains from financial assets (shares, bonds, crypto, funds): Taxed at a flat rate of 28%, unless the taxpayer opts to include them in their general taxable income (englobamento), which may result in a lower rate for those in lower income brackets.
- Gains from real estate: Only 50% of the gain is taxable, and this amount is added to the taxpayer's general income and taxed at Portugal's progressive income tax rates (ranging from 13.25% to 48%, plus a solidarity surcharge of up to 5% for very high incomes).
The 50% inclusion rule for property means the effective capital gains tax rate on real estate for Portuguese residents ranges from approximately 6.6% to 26.5%, depending on the taxpayer's total income level.
Practical Example — Financial Assets: A Portuguese resident sells shares for a net gain of €80,000. At the flat 28% rate:
- Total CGT = €22,400
Alternatively, if their total income is relatively low, opting for englobamento could yield a lower rate.
Practical Example — Property: A Portuguese resident sells a property with a net gain of €80,000. Only €40,000 (50%) is added to their taxable income. If their marginal tax rate is 37%:
- Tax on the property gain portion = €40,000 × 37% = €14,800
- Effective rate on the full €80,000 gain = 18.5%
Use our Portugal Capital Gains Tax Calculator to estimate your specific liability.
Tax Rates for Non-Residents
Non-residents in Portugal face the following CGT treatment:
- Financial assets: Flat rate of 28% (same as residents). However, gains from the sale of shares in Portuguese companies may be exempt if the non-resident is from a country with a favorable double taxation agreement.
- Real estate: The full capital gain (100%, not 50%) is taxed at a flat rate of 28%. However, EU/EEA residents can elect to be taxed under the same rules as Portuguese residents (i.e., the 50% inclusion rule at progressive rates), which may be more favorable.
This is a critical distinction: non-EU non-residents selling Portuguese property pay 28% on the full gain, which can be substantially more than what a resident would pay.
Key Exemptions and Deductions in Portugal
- Primary residence reinvestment exemption: Similar to Spain, if you sell your primary home and reinvest the proceeds in another primary residence within the EU/EEA (or in certain qualifying life insurance or pension products) within 36 months before or 36 months after the sale, the gain can be partially or fully exempt.
- Acquisition and improvement costs: Documented costs of acquisition, including legal fees, real estate agent commissions, and documented improvement costs (within the last 12 years), can be deducted from the sale price to reduce the taxable gain.
- Inflation coefficient: Portugal applies an official monetary correction coefficient (coeficiente de desvalorização da moeda) to the original purchase price, adjusting it for inflation. This can meaningfully reduce the taxable gain for assets held over many years.
- Loss offsetting for financial assets: Losses on financial assets can be carried forward for five years to offset future gains of the same category.
Side-by-Side Comparison: Spain vs Portugal Capital Gains Tax
Here is a summary table comparing the most important capital gains tax features in both countries for 2025/2026:
| Feature | Spain | Portugal |
|---|---|---|
| Resident rate – financial assets | 19%–28% (progressive) | 28% flat (or englobamento) |
| Resident rate – real estate | 19%–28% (progressive) | 50% of gain taxed at progressive rates (effective ~6.6%–26.5%) |
| Non-resident rate (EU/EEA) | 19% flat | 28% flat (real estate); option for resident rules for EU/EEA |
| Non-resident rate (non-EU) | 24% flat | 28% flat |
| Primary residence exemption | Yes (reinvestment or age 65+) | Yes (reinvestment within 36 months) |
| Inflation adjustment | Limited (pre-1995 assets only) | Yes (official annual coefficients) |
| Loss carry-forward | 4 years | 5 years (financial assets) |
| Withholding on property sale (non-residents) | 3% of sale price | Not applicable in the same manner |
| Crypto gains | Savings income rates (19%–28%) | 28% flat rate |
Which Country Is More Tax-Efficient?
The answer depends heavily on the type of asset, the size of the gain, and your residency status:
- For smaller financial gains (under €50,000): Spain is generally more favorable, with rates of 19%–21% compared to Portugal's flat 28%.
- For larger financial gains (over €200,000): Spain's top rates of 27%–28% converge with Portugal's 28%, making them roughly comparable — though Portugal's englobamento option could be beneficial for low-income taxpayers.
- For real estate gains: Portugal's 50% inclusion rule often produces a lower effective tax rate than Spain's progressive savings rates, particularly for mid-range gains. However, Spain's over-65 exemption is more generous.
- For non-residents: Spain's 19% EU flat rate for capital gains is significantly lower than Portugal's 28%, making Spain more attractive for non-resident EU investors.
The Non-Habitual Resident (NHR) Regime: Portugal's Former Tax Advantage
Portugal's Non-Habitual Resident (NHR) regime was a major draw for international investors and retirees for over a decade. Under the classic NHR rules, qualifying new residents could benefit from a flat 20% rate on certain Portuguese-source income and broad exemptions on foreign-source income, including some capital gains.
However, the Portuguese government closed the NHR regime to new applicants from January 2024. Individuals who already hold NHR status continue to benefit for the remainder of their 10-year period, but new arrivals in 2025/2026 cannot access the original NHR benefits.
A successor program — sometimes referred to as the "tax incentive for scientific research and innovation" (Incentivo Fiscal à Investigação Científica e Inovação, or IFICI) — has been introduced, but it is narrower in scope and primarily targets researchers, scientists, and professionals in specific qualifying activities. It does not offer the same broad capital gains tax benefits as the original NHR.
This shift has somewhat leveled the playing field between Spain and Portugal for new expat arrivals, making the comparison of standard tax regimes more relevant than ever.
Double Taxation Agreements and Cross-Border Considerations
Both Spain and Portugal have extensive networks of double taxation agreements (DTAs), including a bilateral treaty between the two countries. Key points for cross-border investors:
- Spain-Portugal DTA: This treaty prevents the same income or gain from being taxed in both countries. Generally, capital gains on immovable property (real estate) are taxable in the country where the property is located. Gains on shares and other movable property are typically taxable in the country of residence.
- EU residents: Both countries offer favorable treatment to EU/EEA residents, with Spain's lower 19% non-resident rate being a notable advantage.
- Third-country residents: If you're a resident of a non-EU country (e.g., the US, UK post-Brexit, or a Latin American country), check the specific DTA between your home country and Spain or Portugal. The treaties may reduce withholding rates or provide exemptions.
- Crypto and digital assets: Both countries tax cryptocurrency gains, but the precise treatment can vary. Spain explicitly includes crypto gains within its savings income brackets. Portugal taxes crypto gains at 28% for assets held less than 365 days; gains on crypto held longer than one year may be exempt for individual investors, though this area continues to evolve.
If you have income in both countries, our Spain Income Tax Calculator and Portugal Income Tax Calculator can help you model your overall tax burden.
Common Mistakes and Misconceptions
When comparing capital gains tax in Spain and Portugal, investors frequently fall into these traps:
Assuming flat rates apply uniformly. Spain uses progressive rates for residents while Portugal uses a flat rate for financial assets — but property is treated differently in both countries. Always check the specific asset type.
Overlooking the 50% inclusion rule in Portugal. Many people compare Spain's 19%–28% bracket to a headline "28%" in Portugal without realizing that Portuguese real estate gains are only 50% taxable for residents. The effective rate is often much lower.
Forgetting acquisition cost adjustments. Portugal's inflation coefficients and Spain's transitional reduction rules can significantly reduce the taxable gain. Failing to apply these results in overpaying.
Ignoring the primary residence exemption conditions. Both countries allow exemptions for reinvestment in a new primary home, but the timeframes, conditions, and qualifying reinvestment amounts differ. Missing a deadline can cost you the exemption entirely.
Assuming NHR still applies to new arrivals. The classic NHR regime is closed to new applicants. Planning a move to Portugal based on outdated NHR information could lead to an unwelcome tax surprise.
Not accounting for regional taxes in Spain. Spain's autonomous communities (such as Catalonia, Andalusia, or Madrid) can influence the overall tax burden through regional income tax variations, though capital gains savings rates are set nationally.
Failing to declare worldwide gains. Both countries tax residents on their worldwide capital gains. Not declaring gains from assets sold in other countries is a compliance risk that can lead to penalties and interest.
Frequently Asked Questions
Is Portugal cheaper than Spain for capital gains tax?
It depends on the asset type and gain amount. For real estate, Portugal's 50% inclusion rule can result in lower effective rates for residents. For financial assets, Spain's lower progressive brackets (starting at 19%) are often more favorable than Portugal's flat 28% rate, especially for smaller gains.
Do non-residents pay capital gains tax in Spain and Portugal?
Yes. Non-residents pay CGT on gains arising from assets located in or connected to either country. Spain charges 19% (EU/EEA) or 24% (non-EU). Portugal charges 28% flat, though EU/EEA residents selling real estate can opt for resident rules.
Can I offset capital losses against capital gains in both countries?
Yes. Spain allows losses to be carried forward for four years, while Portugal allows five years for financial asset losses. Proper loss planning can significantly reduce your overall liability.
What about cryptocurrency capital gains?
Spain taxes crypto gains at the standard savings income rates (19%–28%). Portugal taxes crypto gains at 28% for assets held under one year. Crypto held over one year by individual (non-professional) investors may qualify for an exemption in Portugal, but rules are evolving — seek professional advice.
How do I calculate my capital gain in each country?
In both countries, the capital gain is generally the sale price minus the acquisition cost (including documented expenses). Portugal also applies inflation coefficients to the acquisition cost for real estate. Use our Spain Capital Gains Tax Calculator or Portugal Capital Gains Tax Calculator to compute your estimated gain and tax.
Conclusion: Key Takeaways for 2025/2026
Choosing between Spain and Portugal based on capital gains tax requires careful analysis of your specific assets, income level, and residency status. Here are the essential takeaways:
- For financial asset gains, Spain's progressive rates (starting at 19%) generally beat Portugal's flat 28% for gains under approximately €200,000. Above that level, the rates converge.
- For real estate gains, Portugal's 50% inclusion rule often delivers a lower effective rate for residents, making it attractive for property investors.
- For non-residents, Spain's 19% EU flat rate is substantially lower than Portugal's 28%, making Spain the better option for non-resident EU/EEA investors.
- Portugal's NHR regime is no longer available to new applicants, removing a once-significant advantage for incoming expats.
- Both countries offer primary residence exemptions and loss carry-forward provisions that can meaningfully reduce your tax bill with proper planning.
- Double taxation agreements between Spain, Portugal, and many other countries provide relief for cross-border situations — always check the applicable treaty.
Ultimately, the best choice depends on your individual circumstances. We strongly recommend modeling your scenarios using our dedicated calculators: the Spain Capital Gains Tax Calculator and the Portugal Capital Gains Tax Calculator.
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.