Spanish Savings Income Tax Calculator for Funds and ETFs 2026

When you sell an index fund or ETF at a gain in Spain, the gain is taxed in the savings band of personal income tax (IRPF) on a progressive 19% to 30% scale. Work out the tax on a sale bracket by bracket, and see what tax-free switching between mutual funds is worth.

How much tax will you pay when you sell?

Sale price minus purchase price, including dealing costs. If you have other savings income that year (dividends, interest), add it.

Tax (IRPF savings band)
€4,080
Effective rate
20.40%
Net gain
€15,920
How much tax will you pay when you sell?
Savings income bracketRateTaxed in bracketTax
€0 to €6,00019.00%€6,000€1,140
€6,000 to €50,00021.00%€14,000€2,940

Switchable fund versus ETF: what is tax-free switching worth?

Same money, same return, same index. The only difference: every so often you change product (or rebalance by selling). With a mutual fund you do it with a tax-free switch; with an ETF you have to sell and pay tax on the gain that year.

Enter the same number as the years to simulate never changing.

Index mutual fund (switching)

Pot before the final tax
€289,946
Tax paid along the way
€0
Tax on the final sale
€42,568
Left after tax
€247,379

ETF (selling to change)

Pot before the final tax
€249,102
Tax paid along the way
€20,725
Tax on the final sale
€14,716
Left after tax
€234,386

The fund ends €12,993 ahead: the tax you did not pay at each of the 4 switches kept compounding.

The model applies each year's scale separately and assumes no other savings income. It leaves out dealing costs, which usually hurt the ETF more, and the option of redeeming a fund gradually to use the lower brackets.

Savings income tax brackets

Combined state and regional scale in force since January 1, 2025. It applies to gains on selling funds and ETFs, dividends and interest.

Savings income tax brackets
Savings income bracketRate
€0 to €6,00019.00%
€6,000 to €50,00021.00%
€50,000 to €200,00023.00%
€200,000 to €300,00027.00%
Over €300,00030.00%

Source: arts. 66 and 76 of Spanish Law 35/2006 on personal income tax, as amended by Law 7/2024 (BOE).

How funds and ETFs are taxed in Spain

As long as you do not sell, growth in an accumulating fund or ETF is not taxed. The gain is worked out when you sell: sale value minus purchase value, including dealing costs.

That gain is added to your other savings income for the year (dividends, interest) and taxed on the progressive scale: the first €6,000 at 19%, up to €50,000 at 21%, up to €200,000 at 23%, up to €300,000 at 27% and the rest at 30%.

Switching between funds: the big tax advantage

Article 94 of the Spanish income tax law lets you move money from one investment fund to another without tax: the new units keep the original purchase value and date, and tax is only due when you finally redeem.

Conditions: the switch is ordered through the receiving institution and the money never reaches your account. Foreign funds (Irish or Luxembourg, for example) qualify if they are registered with the CNMV for sale in Spain and bought through a registered distributor.

It does not apply to ETFs, in either direction. The only exception is transitional: foreign ETFs not listed on Spanish exchanges and bought before 1 January 2022 can be switched into a fund that is not an ETF.

Which units you sell first (FIFO)

If you bought the same fund on several dates, the tax office treats the oldest units as sold first. As those have usually grown the most, a partial sale can produce a bigger gain than you expect.

Offsetting losses

Losses on selling funds or ETFs are offset against gains of the same kind. Any remaining loss can offset up to 25% of investment income (dividends, interest), and the rest carries forward for four years.

Watch the wash-sale rule: a loss cannot be claimed if you buy back equivalent securities in the two months before or after the sale (one year if they are unlisted); it is claimed when you sell those securities.

Dividends from distributing funds

Distributing funds and ETFs pay dividends that are taxed every year as savings income, even if you reinvest them. That is why accumulating share classes are usually more tax-efficient for long-term compounding.

Basque Country and Navarre

The Basque Country and Navarre run their own income tax regimes with different brackets. This calculator applies the scale for the rest of Spain.

Next steps

Frequently Asked Questions