Cookie Banners in Germany: What the TDDDG and the GDPR Require
In Germany, a website may only store or read cookies and similar technologies on a visitor’s device after the visitor has consented, unless they are strictly necessary for a service the visitor asked for. The rule is § 25 TDDDG, and the consent must meet the GDPR standard: informed, specific, freely given and given by a clear action. Breaches of § 25 can be fined up to €300,000.
This article explains the rules in general terms. It is not legal advice: what your banner needs depends on the tools your store uses, so take legal advice for your own case.
The TDDDG and § 25
The TDDDG (Telekommunikation-Digitale-Dienste-Datenschutz-Gesetz) is the German law that implements the cookie rule of the ePrivacy Directive. It was called the TTDSG until 14 May 2024, when the Digitale-Dienste-Gesetz renamed it and replaced the term “Telemedien” with “digitale Dienste”. The rules themselves did not change.
§ 25(1) TDDDG says that storing information in a user’s terminal equipment, or accessing information already stored there, is only allowed if the user has consented on the basis of clear and comprehensive information. The information and the consent must follow the GDPR.
The rule covers more than cookies. It applies to anything stored on or read from the device: local storage, pixels that read identifiers, device fingerprinting and similar techniques.
When no consent is needed
§ 25(2) TDDDG has two exceptions:
- storage or access whose only purpose is to transmit a message over a public telecommunications network;
- storage or access that is strictly necessary for the provider to deliver a digital service the user has expressly asked for.
In an online store, the second exception typically covers the shopping cart, the login session, security and fraud prevention, and remembering the visitor’s consent choice itself. Analytics, advertising and marketing pixels, retargeting, A/B testing and most embedded third-party content are generally not strictly necessary and need consent.
Whether consent is needed depends on the purpose, not on whether a cookie is first-party or third-party.
What valid consent looks like
Because § 25 points to the GDPR, the consent must meet the GDPR standard (Art. 4(11) and Art. 7):
- Given before the cookies are set or the scripts run. Tags that fire on page load and are only removed after a “no” are too late.
- By a clear, active choice. Pre-ticked boxes are not consent: the Court of Justice of the EU ruled so in Planet49 (C-673/17, 1 October 2019), and the Federal Court of Justice followed in Cookie-Einwilligung II (I ZR 7/16, 28 May 2020). Scrolling or simply continuing to browse is not consent either.
- Specific and informed. The visitor can see which purposes and providers they are agreeing to, usually through categories such as analytics and marketing with the cookies listed under each.
- Freely given. Refusing must be a real option and must not be made harder than accepting.
- As easy to withdraw as to give (Art. 7(3) GDPR). In practice, a link or a small button that reopens the settings on every page.
- Provable. The store must be able to demonstrate that consent was given (Art. 7(1) GDPR), which is why consent tools keep a log of each choice.
The reject button
The German data protection authorities (the DSK) set out their view in their guidance for providers of digital services, the “Orientierungshilfe Digitale Dienste” (version 1.2, November 2024). Their view on the first layer of the banner:
- A reject option on the first layer is not required in every case. It is required when visitors have to interact with the banner to keep using the site, which the DSK says is very often the case with common banner designs.
- Offering “Accept all” on the first layer, but making visitors go to a second layer to refuse, is a measurable extra effort that the DSK considers incompatible with freely given consent.
- A button labelled “Settings or reject” is not enough.
Courts take a similar line. In a case brought by the Federation of German Consumer Organisations, the Munich Regional Court (LG München I, 33 O 14776/19, 29 November 2022) held that consent was not freely given where visitors could only refuse on a second layer and the reject option was inconspicuous next to the accept button.
The practical upshot for most stores is “Accept” and “Reject” side by side on the first layer, with the same size and the same prominence.
How long consent lasts
Neither the GDPR nor the TDDDG sets a period after which consent expires. The DSK says consent must be asked for again when the cookies or third-party services change. Asking again after a set period, such as 6 or 12 months, is common practice, but no German law sets a figure.
Recognised consent management services (EinwV)
Since 1 April 2025, the Einwilligungsverwaltungsverordnung (EinwV) under § 26 TDDDG lets independent services be officially recognised for storing users’ consent choices across websites. Using such a service is voluntary for website operators (§ 18(1) EinwV), and it does not replace the cookie banner, the consent manager behind it, or the duties above. Our article on the consent management ordinance covers it in more detail.
Enforcement and fines
The data protection authorities of the German states enforce both laws, and consumer associations and competitors can bring civil claims, as in the Munich case.
- Setting or reading cookies without the required consent is an administrative offence under § 28(1) no. 13 TDDDG, fined up to €300,000 (§ 28(2)).
- Where personal data is processed without a valid legal basis, the GDPR applies on top, with fines up to €20 million or 4% of worldwide annual turnover, whichever is higher (Art. 83(5)).
Cookie banners in a Shopify store
A Shopify store has a few specifics:
- Shopify’s own pixels and the checkout read the visitor’s choice through Shopify’s Customer Privacy API. A banner that does not pass the choice to Shopify leaves those running on Shopify’s default.
- Apps and theme scripts often load trackers on their own. A cookie scan shows what the store actually sets, so the banner’s categories match reality.
- Google tags need Google Consent Mode v2 to receive the choice when the store advertises with Google in the EEA.
- Visitors outside Germany may need a different banner. The TDDDG applies to anyone who provides services in Germany, wherever they are based (§ 1(3) TDDDG), and geolocation shows each visitor the banner their region needs.
Checklist
- Every tool that sets or reads cookies is known and assigned to a category
- Nothing except strictly necessary cookies runs before consent
- “Accept” and “Reject” on the first layer, equally prominent
- Categories with plain descriptions and the cookies listed under each
- No pre-ticked boxes, and no consent by scrolling
- A link or button on every page to change or withdraw consent
- A log of every consent choice
- The banner asks again when the cookies or services change
- The privacy policy explains the cookies and the services behind them
For an overview of the German rules beyond the banner, see German cookie regulation.
How Pandectes helps
Pandectes GDPR Compliance adds a cookie banner to a Shopify store with “Accept” and “Decline” side by side on the first layer, a preferences dialog by category, and a widget that lets visitors change their choice at any time. Auto-blocking holds trackers back until the visitor consents, consent tracking logs every choice, and the choice is passed to Shopify and to Google Consent Mode. You can set the banner to ask again after a number of days. Whether a store complies still depends on how the banner is configured and which tools the store uses.
Frequently asked questions
Is a cookie banner mandatory in Germany? Only if the website uses cookies or similar technologies that are not strictly necessary, such as analytics or advertising. A site that sets only strictly necessary cookies needs no consent, though it should still explain them in its privacy policy.
Does the cookie banner need a reject button? In most designs, yes. The German authorities require an equally easy way to refuse on the first layer when visitors have to interact with the banner to use the site, and they say this applies very often. Hiding refusal on a second layer has been held to make consent invalid.
What is the difference between the TTDSG and the TDDDG? They are the same law. It was renamed the TDDDG on 14 May 2024, and “Telemedien” became “digitale Dienste”. § 25 on cookies kept its content and its number.
Do German rules apply to a Shopify store based outside Germany? Yes, when it sells to visitors in Germany. The TDDDG applies to anyone who provides services in Germany, wherever they are based, and the GDPR applies to stores that offer goods to people in the EU.