Use your tax allowance: sell and rebuy ETFs (with calculator)
If your ETF shows a gain and you do not need your tax allowance this year, you can sell part of it and buy it back right away. The gain stays tax-free and you pay less tax later. How it works and when it is worth it.
Status: Current law. Saver's allowance at €1,000 since 2023; no change for 2027 has been passed or drafted (as of 8 Oct 2026).
In short
As of 8 October 2026In Germany, capital income up to the saver's allowance of €1,000 a year (€2,000 for married couples) is tax-free. With an equity ETF only 70 % of the gain is taxable because of partial exemption. So you can realize €1,428.57 of gain and rebuy the ETF right away. The new, higher purchase price cuts the tax on a later sale by up to €263.75. This is legal.
Key facts at a glance
- Saver's allowance
- €1,000 a year, €2,000 for married couples filing jointly (§ 20(9) EStG); lapses at year end
- Partial exemption
- equity ETF 30 %, mixed fund 15 % of the gain tax-free (§ 20 InvStG)
- Tax-free gain, equity ETF
- €1,428.57 (€1,000 ÷ 0.7), married couples €2,857.14
- Tax-free gain, mixed fund
- €1,176.47 (€1,000 ÷ 0.85)
- Later saving
- up to €263.75 per year (25 % plus solidarity surcharge on €1,000), without church tax
- Order of sale
- units bought first count as sold first (FIFO, § 20(4) sentence 7 EStG)
- Date that counts
- the trade date, not settlement two days later (finance ministry guidance, para. 85)
- Loss certificate
- request must reach the bank by 15 December (§ 43a(3) EStG)
- Sell and rebuy at once
- allowed; the Federal Fiscal Court sees no abuse in it (IX R 60/07)
Do the maths
Shown in your broker app under the tax exemption order (Freistellungsauftrag). Dividends, interest and sales this year may already have used part of it.
Sum of all purchases including buying fees.
Order fees for both orders plus estimated spread.
That is 35.7% of your position.
Sell and rebuy this much: €3,571.43. Gain that stays tax-free: €1,428.57. Tax you will not pay later: €263.75.
- Gain of the whole position
- €4,000.00
- 40.0% of the current value is gain
- Gain that stays tax-free
- €1,428.57
- Allowance used (after partial exemption)
- €1,000.00
- Tax you will not pay later
- €263.75
- at a 26.4% tax rate, nominal
- After trading costs
- €261.75
Simplified: we assume every unit carries the same share of gain. Your bank, however, sells the oldest units first (FIFO); they often carry more gain, so a smaller sale may be enough. Existing loss pots, the Vorabpauschale and costs reduce the result. The saving is nominal and only arrives when you eventually sell. Not tax advice.
The idea in one sentence
Everyone has a saver's allowance of €1,000 a year. Capital income up to that amount stays tax-free; whatever is unused lapses on 31 December. If your ETF is in profit, you can use the allowance by selling part of it and buying it back straight away. You end up with almost the same position, but with a higher purchase price. When you finally sell later, your gain is smaller by that amount and you pay less tax. Our chapter on taxes on stocks explains the basics.
Why €1,428.57 and not €1,000
With equity ETFs, 30 % of the gain is tax-free. This is called partial exemption (Teilfreistellung). Only 70 % of the gain counts against your allowance. To use up €1,000, you therefore need €1,000 ÷ 0.7 = €1,428.57 of gain. For mixed funds with 15 % partial exemption it is €1,176.47; for funds without partial exemption exactly €1,000. How much you need to sell depends on how much gain sits in every euro of your position. If your ETF is 40 % above its purchase price, a value of €10,000 contains €4,000 of gain. You would then sell about €3,571. That is exactly what the calculator above works out.
Gain from an equity ETF that stays tax-free in a year, if your allowance is still completely unused.
How to do it
1. Check your tax exemption order. Your broker app shows how much of your Freistellungsauftrag has been used this year. Dividends, interest on savings and earlier sales all count. If you have accounts at several banks, the orders together may not exceed €1,000. 2. Check the loss pot. If the bank already holds a loss for you, it offsets the gain against that first. The allowance only applies after that. 3. Sell. Ideally with a limit order during exchange hours, when the spread is small. 4. Buy back right away. The same ETF or an equivalent one, for the same amount. 5. Check the contract note. The sale note should show no tax, only allowance used. For the tax year, the trade date counts, not settlement two trading days later. Still, do not wait until the last day: Xetra does not trade on Christmas Eve and New Year's Eve, so in 2026 the last trading day is 30 December. Some brokers set their own cut-off dates.
The real costs are the order fees for two orders and the spread on selling and buying. With a broker charging €1 per order and a broadly diversified ETF, that is often only a few euros. If in doubt, trade when volume is high, for example in the morning.
Is it worth it?
Honestly: it is a small advantage, not a big one. You do not save the tax today, only when you finally sell at some point. With a €1,000 allowance that is at most €263.75, a little more with church tax. Repeated every year, it can add up to several thousand euros over decades. Three things can shrink the benefit. First, costs: with high order fees or a wide spread, little is left. Second, small amounts: if your ETF is only €50 in profit, the effort outweighs the gain. Third, your future: if you later only ever sell as much as fits into the allowance each year, you might never have paid the tax anyway. If you hold an accumulating ETF, the Vorabpauschale has also already taxed part of your gain. That part is deducted from the gain when you sell. Your bank shows the correct figure. If the account belongs to a GmbH, entirely different rules apply, see company investment account.
The Vorabpauschale in January
For accumulating ETFs, the bank debits the Vorabpauschale for the past year at the start of January. For tax purposes it counts as received on the first working day of the new year (§ 18(3) InvStG). So it uses part of the new year's allowance, not the old one. Plan a December sale with the full allowance of the current year. But leave some room in the new year if you want to sell again as early as January. How large it turns out for 2026 is worked out on our page about the Vorabpauschale 2027.
Realizing losses and buying back
It also works the other way round: if a position is in the red, you can sell and rebuy it to use the loss for tax. The bank puts it into a loss offset pot and sets it against later gains. Which pot matters: losses from shares may only be offset against gains from shares (§ 20(6) EStG). ETF units are not shares. ETF losses go into the general pot and also reduce gains from other ETFs, interest and dividends. Germany has no wash-sale rule like the US that penalizes an immediate rebuy. The Federal Fiscal Court ruled that selling and quickly rebuying the same securities at different prices is not abuse (IX R 60/07). It can be different if the rebuy at the same price is arranged in advance with no price risk at all (IX R 5/16).
Loss certificate by 15 December
Losses normally stay at the bank where they arose and are carried forward to the next year. If you have losses at bank A and gains at bank B, they are not offset automatically. You then need a loss certificate (Verlustbescheinigung) from bank A. The request must reach the bank by 15 December (§ 43a(3) EStG) and cannot be withdrawn. With the certificate you claim the losses in your tax return on form Anlage KAP; the bank's own carry-forward then ends. If you miss the deadline, the loss is not gone. It stays at bank A and is offset there against future gains.
Married couples
Married couples and registered partners filing jointly share €2,000. That is up to €2,857.14 of tax-free gain from equity ETFs. One partner can use the joint amount alone if the other has little capital income. For this you need a joint tax exemption order. It has a second advantage: only then does the bank offset one partner's losses against the other's gains. Check in autumn that the order is split correctly across your banks. What a regular savings plan adds up to over the years is shown by our calculator. Why crypto follows different tax rules is covered on our page about the crypto holding period. This page is not tax or investment advice.
Frequently asked questions
Is it legal to sell an ETF and buy it back immediately?
Yes. German tax law has no waiting period before a rebuy. The Federal Fiscal Court has expressly ruled that selling and quickly rebuying the same securities at different prices is not abuse of legal arrangements.
How much gain from an equity ETF can I take tax-free?
With the full allowance €1,428.57 of gain, as a married couple €2,857.14. Because of the 30 % partial exemption, only 70 % of the gain counts against the allowance. If you have already received dividends or interest, it is correspondingly less.
By when must I sell for it to count for this year?
What matters is the day the order is executed, not settlement two trading days later. Xetra does not trade on Christmas Eve and New Year's Eve; in 2026 the last trading day is 30 December. Plan a few days of buffer and ask your broker for its cut-off date.
Which units does the bank sell first?
The ones bought first (FIFO). With a savings plan, those are the oldest instalments, which usually carry the most gain. You then often need to sell less than a calculation with the average price suggests.
What do I really save?
With the full allowance, up to €263.75 of tax later, a little more with church tax. The saving only arrives when you finally sell. Order fees and spread come off it.
By when must I request a loss certificate?
The request must reach the bank holding the losses by 15 December. It cannot be withdrawn. If you miss the deadline, the loss stays at that bank and is carried forward to the next year.
Can I offset ETF losses against share gains?
Yes. ETF losses go into the general loss pot and reduce all capital income, including share gains. The reverse does not work: losses from individual shares may only be offset against gains from shares.
Will the saver's allowance rise in 2027?
As of 8 October 2026, no. The planned changes for 2027 concern, among other things, the basic personal allowance and the employee lump sum. Under current law the saver's allowance stays at €1,000.
Related
- TopicVorabpauschale 2027: what your bank debits in January (calculator)In early January 2027, German banks will take tax from many ETF savers even though nobody sold anything. Here is what it is for, how much it can be per 10,000 euros and how to work it out yourself in advance.
- ChapterTaxes on stocksTaxes sound complicated. For stocks in Germany, they are surprisingly manageable. Three terms and one form, and you are well covered.
- CalculatorSavings plan calculator
- TermCapital gains tax (Abgeltungsteuer)Germany's flat tax on investment income: 25 % plus solidarity surcharge, i.e. 26.375 %, plus church tax if applicable.
Sources
- § 20 EStG: Kapitalvermögen, FIFO (Abs. 4 S. 7), Verlustverrechnung (Abs. 6), Sparer-Pauschbetrag (Abs. 9)
- § 43a EStG: Verlustverrechnung der Bank und Verlustbescheinigung bis 15. Dezember (Abs. 3)
- § 32d EStG: Abgeltungsteuer 25 %, Kirchensteuer-Formel
- § 20 InvStG: Teilfreistellung bei Aktien- und Mischfonds
- § 18 InvStG: Vorabpauschale, Zufluss am ersten Werktag des Folgejahres
- § 19 InvStG: Gewinn aus dem Verkauf von Fondsanteilen
- Bundesfinanzministerium: Einzelfragen zur Abgeltungsteuer, BMF-Schreiben vom 14.05.2025 (Rn. 85, 230, 233 f., 266)
- Bundesfinanzhof, Urteil vom 08.03.2017, IX R 5/16 (mit Verweis auf IX R 60/07: Verkauf und Rückkauf kein Gestaltungsmissbrauch)
- § 42 AO: Missbrauch von rechtlichen Gestaltungsmöglichkeiten
- Deutsche Börse: Handelskalender Xetra 2026 (kein Handel am 24. und 31.12.)
As of 8 October 2026 · Educational content, not investment or tax advice.