Skip to main content

Fund vs ETF

Index fund vs ETF in Spain: the cost of not being able to transfer

In Spain an index fund can be transferred to another fund without paying tax, and an ETF cannot. This calculator measures what that difference is worth depending on how often you sell to rebalance or switch products, and compares it with each one's TER.
You sell to rebalance or switch every
Index fund − ETF+€3,879The fund ends €3,879 ahead of the ETF
Formula

€164,658 − €160,779 = +€3,879

Index fund

Total contributed
€82,000
Value before selling
€187,894
Tax on intermediate sales
−€0
Tax on the final sale
−€23,236
Net after selling
€164,658

ETF

Total contributed
€82,000
Value before selling
€170,235
Tax on intermediate sales
−€10,877
Tax on the final sale
−€9,456
Net after selling
€160,779

Year by year (before the final sale)

YearIndex fundETFCumulative ETF tax
1€14,416€14,422€0
2€19,134€19,150€0
3€24,175€24,203€0
4€29,560€29,604€0
5€35,314€33,948€1,429
6€41,461€40,021€1,429
7€48,029€46,513€1,429
8€55,046€53,452€1,429
9€62,543€60,870€1,429
10€70,552€65,380€4,848
11€79,110€73,620€4,848
12€88,253€82,427€4,848
13€98,021€91,842€4,848
14€108,457€101,906€4,848
15€119,607€106,634€10,877
16€131,519€117,717€10,877
17€144,247€129,564€10,877
18€157,844€142,228€10,877
19€172,372€155,765€10,877
20€187,894€170,235€10,877

The difference is the transfer

When you transfer between investment funds the gain is not taxed: the new units keep the purchase value and date of the old ones and the whole gain is taxed when you finally redeem (art. 94 of the Spanish Personal Income Tax Law). ETFs were excluded from this regime by Law 11/2021, effective 1 January 2022, including those listed on foreign exchanges: switching ETF, or from ETF to fund, means selling and paying tax that year.

When it matters and when it doesn't

If you buy and hold and never sell, the final tax is the same: both are taxed when sold, on the same scale. The difference appears when you sell along the way to rebalance, move to a cheaper product or change provider. Tax you don't pay today stays invested and compounds too. If you never sell, only the annual cost (TER) and your broker's purchase fees separate them.

How this tool calculates

It applies your monthly contributions and a constant annual return, net of each product's TER. Every set number of years the ETF is sold in full and bought back, paying tax on the gain under the savings scale in force since 2025 (19%, 21%, 23%, 27% and 30%), assuming no other savings income or losses to offset that year; the fund makes the same switch through a tax-free transfer. At the end both are sold. Trading fees and dividends are not included (it assumes accumulating share classes).

Frequently asked questions

Can an ETF be transferred without paying tax in Spain?

No. Since 1 January 2022 ETFs, whether listed in Spain or abroad, cannot use the transfer regime. Every sale produces a capital gain or loss in that year.

How much tax is paid when selling a fund or an ETF?

The gain is taxed in the savings base: 19% up to €6,000, 21% up to €50,000, 23% up to €200,000, 27% up to €300,000 and 30% above that (scale in force since 2025).

Can I rebalance ETFs without selling?

Yes, by directing new contributions to the asset that has fallen below its target weight. That way you realise no gains. The calculator assumes a full sale, the most expensive case.

Does it apply if I am not a Spanish tax resident?

No. The transfer regime is specific to Spain. Other countries tax funds and ETFs under different rules.

Calculators