Saving tax on your portfolio: loss offsetting, exemption order, Günstigerprüfung and tax-loss harvesting
If you want to save tax on your portfolio in Germany, you cannot opt out of the flat-rate withholding tax (Abgeltungsteuer), but you can often defer it, offset losses more effectively and make full use of allowances. The most important levers are the loss offset pots, a correctly allocated exemption order (Freistellungsauftrag), the loss certificate (Verlustbescheinigung) by 15 December, the most-favourable assessment (Günstigerprüfung) on a low income, and targeted selling and buying back. Here are the rules as of October 2026, with worked examples. The basics of the flat-rate tax and the partial exemption (Teilfreistellung) are explained in the article flat-rate tax and partial exemption. Not tax advice.
The levers at a glance
| Lever | What it achieves | Rule, deadline |
|---|---|---|
| Know your loss pots | Realise losses where they can be offset | Stock losses only against stock gains |
| Allocate the exemption order | No tax deducted up to €1,000 or €2,000 | Can be changed at any time, otherwise Anlage KAP |
| Loss certificate | Losses at bank A against gains at bank B | Apply by 15 December |
| Günstigerprüfung | Personal tax rate instead of 25% | Tax return, Anlage KAP |
| Tax-loss harvesting | Save tax now, pay later | Not an abuse of legal arrangements, according to the BFH |
| Realise gains up to the saver's allowance (Sparer-Pauschbetrag) | Higher cost basis, lower tax later | The allowance lapses at the end of the year |
| Transfer the account properly | Take acquisition data and losses with you | Same holder, or report it as gratuitous |
Loss offset pots
Your bank keeps two pots for you. The stock loss pot (Aktienverlusttopf) only receives losses from selling individual shares; they may only be offset against gains from share sales (§ 20(6) sentence 4 EStG (2009)). All other losses (from funds and ETFs, bonds, certificates, options) go into the general loss offset pot and reduce all investment income. Whatever is left at the end of the year, the bank carries forward to the next year.
Stock loss pot and general loss offset pot under § 20(6) EStG (2009). Whatever is left at the end of the year, the bank carries forward to the next year.
- Derivatives (Termingeschäfte): the Annual Tax Act (Jahressteuergesetz) 2024 abolished the former limit of €20,000 a year on losses from derivatives for all open cases (CMS 2024); it no longer appears in the current § 20(6) EStG (Income Tax Act).
- Stock losses in court: the Federal Fiscal Court (BFH) considers the special rule for stock losses unconstitutional and has referred it to the Federal Constitutional Court (BFH 2021). As far as we know, no decision had been issued by the end of October 2026.
- Loss carryforward: losses do not expire; they move on to the next year. However, they cannot be offset against salary or rental income.
Allocating the exemption order correctly
Up to €1,000 of investment income a year remains tax-free, or €2,000 for jointly assessed married couples (§ 20(9) EStG (2009)). So that the bank does not deduct tax, it needs an exemption order with your tax identification number (EStG §§ 43, 43a, 44a (2009), § 44a). You can split the amount between several banks and change it at any time. The bank applies the partial exemption first: with an equity ETF, it takes €1,428.57 of income to use up €1,000 of allowance.
Loss certificate by 15 December
Each bank only offsets its own pots. If you have losses at bank A and gains at bank B, you apply to bank A for a loss certificate. The application is irrevocable and must be received by 15 December of the current year (§ 43a(3) EStG §§ 43, 43a, 44a (2009)); if it arrives later, the bank can no longer issue a certificate, and the losses cannot be taken into account in that year's tax return (BMF (2025), marginal no. 234). With the certificate, the carryforward at bank A lapses; instead, the losses take effect via Anlage KAP (the investment income annex of the tax return).
Günstigerprüfung and church tax
On application, the tax office includes your investment income in the normal income tax scale if that is cheaper than the 25% flat-rate tax (EStG (2009), § 32d(6)). The application covers all investment income for the year. It pays off when your other income is low, for example in retirement, during parental leave or as a student. The difference from the marginal tax rate is important: what is compared is the additional income tax on the investment income against 25% of it.
Additional tax under the 2026 scale when €3,000 of investment income (after the allowance) is added to other income, against the 25% flat-rate tax; excluding solidarity surcharge and church tax. To the left of the marker, the Günstigerprüfung pays off.
For €3,000 of investment income, the Günstigerprüfung under the 2026 scale (EStG § 32a 2009) pays off up to other taxable income of about €19,300. If your income is below the basic tax-free allowance (Grundfreibetrag) of €12,348, the income up to that limit is completely tax-free. The children's portfolio (Kinderdepot) makes use of this.
The bank deducts church tax automatically if the Federal Central Tax Office reports your religious affiliation to it; it reduces the flat-rate tax according to the formula in § 32d EStG (see church tax). If you object to the query with a blocking notice (Sperrvermerk), you have to file a tax return for every year with capital gains tax (EStG (2009), § 51a(2e)). It does not save anything.
Partial exemption and Vorabpauschale on sale
For equity funds, 30% of gains are tax-free, and a loss also only counts at 70% (InvStG (2016), § 20). The tax office deducts the Vorabpauschale (advance lump-sum taxation) you paid tax on in previous years from the gain on sale (InvStG (2016), § 19); nothing is taxed twice, only earlier (see Vorabpauschale). And FIFO applies: within one account, the units bought first count as sold first (§ 20(4) sentence 7 EStG (2009)). If you want to control purchase lots separately, keep a second account.
Account transfers: acquisition data and change of holder
- Same holder: the old bank reports the acquisition data to the new one (EStG §§ 43, 43a, 44a (2009), § 43a(2)). It only passes on losses if you transfer everything and apply for it; you may also send the two pots to different banks (BMF (2025), marginal nos. 235, 236).
- From abroad: acquisition data from an account in the EU or EEA only count with a certificate from the institution. If they are missing, the bank assumes a flat 30% of the sale proceeds as the gain (§ 43a(2)). Any tax overpaid can then only be recovered through the tax return.
- Different holder: a transfer to another person counts as a sale for capital gains tax purposes, unless you report it as gratuitous. The bank then sends the value and acquisition costs to the tax office by 31 May of the following year (EStG §§ 43, 43a, 44a (2009), § 43(1)). So gifts do not go unnoticed (see inheriting and gifting a portfolio).
Tax-loss harvesting: selling and buying back
With tax-loss harvesting, you sell a position with a paper loss and immediately buy it back, or swap it for a similar one. The loss is realised and offset against gains, while the portfolio stays invested in the same way. As early as 2009, the Federal Fiscal Court saw no abuse of legal arrangements when securities were bought back on the same day in the same type and number at a different price (BFH 2009). For the flat-rate tax, it ruled in 2020 that a disposal depends neither on the level of the price nor on the costs, and that selling worthless shares is not an abuse even if the seller acquires shares from the buyer in return (BFH 2020). The Income Tax Act contains no waiting period for buying back.
The counterpart is realising gains up to the allowance: if a year's allowance would otherwise go unused, you sell units with exactly that much gain and buy them back. With an equity ETF, up to €1,428.57 of gain is tax-free; the higher cost basis permanently lowers the tax later on.
For advanced readers: what tax deferral is worth
A deferred tax S works like an interest-free loan from the tax office. If you invest it for n years at a return r, the advantage remaining after tax on the gain from this investment is:
Advantage after n years = S × ((1 + r)ⁿ − 1) × (1 − q)- S
- tax saved today and due later
- r, n
- return on the investment and years until the tax is paid
- q
- tax on the investment gain, for equity ETFs 0.7 × 26.375% = 18.4625%
With S = €1,846.25, r = 6% and n = 10, this gives €1,190.53, as in the example. Constantinides (1983) showed that under a capital gains tax it is optimal to realise losses immediately and defer gains. The limits in Germany: FIFO does not let you choose which units you sell, unlike the HIFO method (highest cost first), which Berkin and Ye (2003) examine for US accounts. And the partial exemption cuts losses as well as gains, so an ETF loss of €10,000 only produces €7,000 of loss that can be offset.
The Günstigerprüfung can also be written as a formula: it pays off as long as T(E + K) − T(E) < 25% × K, with other income E, investment income K and scale tax T. Because the marginal tax rate rises with income, it only pays off as long as the rate at E is still below 25%. And the larger K, the sooner the advantage ends: for €3,000 at about €19,300, for very small amounts only at about €20,774, where the 2026 scale reaches a marginal tax rate of 25%.
What the research shows
Private investors often act against their tax interests. Odean (1998) analysed 10,000 accounts at a US discount broker: investors were much keener to sell winners than losers. In taxable accounts, this disposition effect lowers the after-tax return. Tax-motivated loss sales were most pronounced in December. Similarly, Badrinath and Lewellen (1991) found a clear clustering of loss sales towards the end of the year in more than 80,000 share trades by 3,000 private investors.
Berkin and Ye (2003) used simulations to examine how much systematic loss harvesting achieves: most in markets with high single-stock risk and low returns, and with ongoing contributions that keep creating new purchase lots; withdrawals reduce the advantage. Tax-efficiently managed portfolios beat a simple index fund after tax, even after a sale at the end. Barber and Odean (2000), by contrast, show that frequent trading is costly in itself. So tax-loss harvesting should be rare and targeted, not a reason for constant trading.
Limits and common mistakes
- Deadline missed: after 15 December, there is no loss certificate for the current year.
- Stock loss against ETF gain: does not work, because stock losses need stock gains.
- Underestimated costs: the spread and fees for selling and buying back can eat up the interest advantage of a small tax deferral.
- Tax only deferred: tax-loss harvesting lowers the cost basis. Without reinvesting the tax saved, only a small interest effect remains.
- Forgetting the Günstigerprüfung: if you earn little, the 25% flat-rate tax means giving money away. You only get the refund by filing a tax return.
- Account without acquisition data: the bank then withholds tax on 30% of the proceeds.
Tax law changes, and individual circumstances decide. This article is not tax advice.
How Portfolio Lab calculates it
With German taxes switched on, the Backtest models a private account: flat-rate tax with solidarity surcharge and, if you wish, church tax of 8 or 9%, a saver's allowance of 0 to €10,000 a year, partial exemption per security, Vorabpauschale, FIFO per security and two pots (individual shares in the stock loss pot, everything else in the general pot) with loss carryforward. Taxes arise on rebalancing, withdrawals, the Vorabpauschale and, if you wish, on the sale at the end; this shows you what frequent reshuffling costs.
Not modelled are the Günstigerprüfung, exemption orders at several banks, loss certificates and automatic tax-loss harvesting. To check how much tax a longer rebalancing interval saves, compare the same portfolio with different intervals. Details in the tax calculation methodology.
Frequently asked questions
By when do I have to apply for a loss certificate?
By 15 December of the current year, at the bank where the losses are held. The application is irrevocable; you then offset the losses against gains at other banks via Anlage KAP.
Can I sell shares and buy them back immediately to realise losses?
Yes. The Federal Fiscal Court saw no abuse of legal arrangements in selling and buying back on the same day, and the Income Tax Act has no waiting period. However, this only defers the tax, because the cost basis falls.
What is the best way to allocate my exemption order?
According to the expected income at each bank: interest, distributions, Vorabpauschale and planned gains from sales. The total may not exceed €1,000, or €2,000 for married couples; you can recover any tax withheld in excess via your tax return.
Is the Günstigerprüfung worthwhile for me?
If your other taxable income is low. With €3,000 of investment income, it pays off under the 2026 scale up to other taxable income of about €19,300; below the basic tax-free allowance of €12,348, the income up to that limit is tax-free.
Are losses from derivatives still capped?
No. The €20,000 annual limit was abolished for all open cases by the Annual Tax Act 2024. Offsetting remains restricted for losses on individual shares, which can only be set against stock gains; this rule is before the Federal Constitutional Court.
What happens to my losses when I switch brokers?
The bank only transfers them if you transfer the whole account and apply for it. Otherwise they stay with the old bank until you apply for a loss certificate.
Literature
- Badrinath, S. G.; Lewellen, Wilbur G. (1991): Evidence on Tax-Motivated Securities Trading Behavior. The Journal of Finance 46 (1), pp. 369. doi:10.2307/2328699
- Barber, Brad M.; Odean, Terrance (2000): Trading Is Hazardous to Your Wealth: The Common Stock Investment Performance of Individual Investors. The Journal of Finance 55 (2), pp. 773–806. doi:10.1111/0022-1082.00226
- Berkin, Andrew L.; Ye, Jia (2003): Tax Management, Loss Harvesting, and HIFO Accounting. Financial Analysts Journal 59 (4), pp. 91–102. doi:10.2469/faj.v59.n4.2548
- Bundesfinanzhof (2009): Urteil vom 25. August 2009, IX R 60/07 (Verkauf und Wiederkauf gleichartiger Wertpapiere am selben Tag). Leitsatz veröffentlicht im Betriebs-Berater; abgerufen am 26.10.2026. Source
- Bundesfinanzhof (2020): Urteil vom 29. September 2020, VIII R 9/17 (Veräußerung wertloser Aktien). Bundesfinanzhof; abgerufen am 26.10.2026. Source
- Bundesfinanzhof (2021): Vorlage an das Bundesverfassungsgericht: Der BFH hält die Verlustverrechnungsbeschränkung für Aktienveräußerungsverluste für verfassungswidrig (Pressemitteilung Nr. 021/21 vom 4.6.2021 zum Beschluss vom 17.11.2020, VIII R 11/18). Bundesfinanzhof; abgerufen am 26.10.2026. Source
- Bundesministerium der Finanzen (2025): Einzelfragen zur Abgeltungsteuer (Schreiben vom 14. Mai 2025, IV C 1 - S 2252/00075/016/070). Bundesministerium der Finanzen; abgerufen am 26.10.2026. Source
- CMS Hasche Sigle (2024): Ade Verlustabzugsbeschränkung für Termingeschäfte – Gesetzgeber bereinigt Verfassungswidrigkeit. CMS Deutschland, Legal Update 2024; abgerufen am 26.10.2026. Source
- Constantinides, George M. (1983): Capital Market Equilibrium with Personal Tax. Econometrica 51 (3). doi:10.2307/1912150
- Deutscher Bundestag (2009): Einkommensteuergesetz (EStG), § 20 (Kapitalvermögen) und § 32d (Abgeltungsteuer). Bundesgesetzblatt; Fassung auf gesetze-im-internet.de. Source
- Deutscher Bundestag (2009): Einkommensteuergesetz (EStG), § 43 (Kapitalerträge mit Steuerabzug), § 43a (Bemessung der Kapitalertragsteuer) und § 44a (Abstandnahme vom Steuerabzug). Fassung auf gesetze-im-internet.de, abgerufen am 26.10.2026. Source
- Deutscher Bundestag (2009): Einkommensteuergesetz (EStG), § 32a Einkommensteuertarif (Fassung ab dem Veranlagungszeitraum 2026). Neufassung vom 8.10.2009, zuletzt geändert durch Art. 1 des Gesetzes vom 15.10.2026 (BGBl. 2026 I Nr. 307); Fassung auf gesetze-im-internet.de, abgerufen am 26.10.2026. Source
- Deutscher Bundestag (2016): Investmentsteuergesetz (InvStG), §§ 16, 18, 19 und 20 (Investmenterträge, Vorabpauschale, Veräußerung, Teilfreistellung). Bundesgesetzblatt; Fassung auf gesetze-im-internet.de. Source
- Odean, Terrance (1998): Are Investors Reluctant to Realize Their Losses?. The Journal of Finance 53 (5), pp. 1775–1798. doi:10.1111/0022-1082.00072
This article explains a method; it is not investment or tax advice. Worked examples are simplified and rounded. All terms in the glossary.