ePrivacy-Richtlinie: Was sie für Ihr Cookie-Banner bedeutet
Aufschlüsselung der EU-ePrivacy-Richtlinie (das „Cookie-Gesetz"), wie sie zusammen mit der DSGVO funktioniert und was Ihr Banner enthalten muss.
Veröffentlicht am
If you think GDPR is the law that mandates cookie banners, you're half right. The actual cookie rule comes from a different law: the ePrivacy Directive, in force since 2002 and last meaningfully updated in 2009. Yes, 2009. The EU has been trying to replace it with a new ePrivacy Regulation since 2017, and the replacement is still stuck in legislative purgatory. So in 2026 we're operating under a 2002 framework that mostly assumed the internet ran on dial-up.
It still works, mostly. But the gap between what the directive says and how each member state actually enforces it has gotten wide. This guide covers what the directive actually requires, how it interacts with GDPR, and where the national differences will bite you.
The single sentence that matters
Almost everything cookie-related in EU law traces back to Article 5(3) of the directive, as amended in 2009:
Member States shall ensure that the storing of information, or the gaining of access to information already stored, in the terminal equipment of a subscriber or user is only allowed on condition that the subscriber or user concerned has given his or her consent.
Three things to notice. First, it says “storing of information,” not “cookies.” The rule applies to cookies, localStorage, IndexedDB, fingerprinting techniques that read browser properties, and anything else that reads or writes to the device. Second, “terminal equipment” means phones, laptops, tablets, smart TVs, anything. Third, the rule is about access to information, not just storing new data. Reading an existing cookie counts.
There's one exception, in the next sentence: technically necessary cookies don't require consent. The session cookie that keeps a user logged in, the cart cookie on an e-commerce site, the CSRF token, the load balancer cookie. The narrowest possible reading of “necessary.”
How ePrivacy and GDPR fit together
ePrivacy is the lex specialis for electronic communications, which means it takes precedence over GDPR where the two overlap. For cookies, the relevant overlap is the definition of consent.
ePrivacy says: consent is required for non-essential cookies.
ePrivacy then defers to GDPR for what consent actually means: freely given, specific, informed, unambiguous, and withdrawable.
So if you're building a banner, the legal stack looks like this:
- ePrivacy Article 5(3) tells you when consent is required (any non-essential cookie or storage access).
- GDPR Article 4(11) and Article 7 tell you what a valid consent looks like.
- Member-state implementations add their own rules on top, mostly about banner design and enforcement priorities.
One thing worth knowing: ePrivacy applies even when no personal data is involved. A purely statistical cookie that doesn't identify the user still needs consent under Article 5(3), because the test is “was information stored on the user's device,” not “was personal data processed.” That's a difference from GDPR, where the test starts with personal data.
Why your country's rules might be stricter
A directive isn't directly enforceable. Member states have to transpose it into national law, and each one did so differently. The headline national implementations:
France (CNIL). The most aggressive enforcer in the EU. The CNIL's 2020 guidelines require “Accept” and “Reject” buttons of equal prominence on the first screen. The €150M Google fine in December 2021 and €60M Meta fine the same month were both built on this requirement. CNIL has continued issuing six- and seven-figure fines through 2024 (Délibération SAN-2024-007 was the latest pattern I've tracked) and has been the source of most CMP product-design decisions in the past few years.
Germany. Germany passed the TTDSG in May 2021, which was renamed to TDDDG in May 2024 (TTDSG is sunset). It codifies Article 5(3) into national law with a strict reading. German DPAs (the Datenschutzkonferenz, an association of the 17 state-level regulators) coordinate enforcement and have been roughly aligned with CNIL on banner design.
United Kingdom. Post-Brexit, the UK still applies PECR (Privacy and Electronic Communications Regulations), which is their version of the ePrivacy Directive. The ICO is generally considered more lenient than CNIL on banner design specifics, but more aggressive on enforcement of essential vs non-essential categorisation.
Italy. The Garante has been active on cookie wall decisions and was one of the first regulators to issue specific guidance on dark patterns in 2021. They explicitly banned the practice of hiding “Reject” behind extra clicks.
Spain, Netherlands, Belgium. Generally aligned with the EDPB consensus but less active on standalone enforcement. Tend to follow CNIL's lead on technical interpretation.
Practical upshot: if you're building a banner for an EU-wide site, design for CNIL's requirements and you're probably fine everywhere. Designing for a less strict regulator and hoping for the best is how most CMP-related fines happen.
What “strictly necessary” actually covers
The exception is narrow. Recital 25 of the 2009 amendment lists what counts: cookies that are “strictly necessary for the provision of a service explicitly requested by the user.” The EDPB Guideline 04/2012 (still the most-cited interpretation) gave examples:
- Session cookies maintaining the user's log-in state.
- Shopping cart cookies during checkout.
- Cookies storing language preferences.
- Load balancer cookies (server-side routing).
- Security cookies (CSRF tokens, fraud prevention).
- Cookies storing first-party UI state (e.g. closing a banner the user just closed).
What doesn't count:
- Analytics cookies, even your own first-party ones. Useful, not necessary.
- Personalisation cookies for content or layout that the user hasn't explicitly requested.
- A/B testing cookies.
- Any third-party cookies, almost by definition.
The line that trips teams up is between “helpful for the business” and “necessary for the service the user asked for.” Analytics tells you which pages people visit. It's helpful. It's not necessary for the page to load. The CNIL has made this exact distinction in enforcement actions multiple times.
The ePrivacy Regulation that's been coming for eight years
The EU has been working on replacing the 2002 directive since January 2017. The proposed replacement, the ePrivacy Regulation, would be directly applicable (no national transposition needed) and would modernise rules around things like communications metadata, online tracking, and machine-to-machine communication.
It's been stuck in trilogue negotiations between the European Parliament, the Council, and the Commission for most of those years. As of early 2026 there's still no agreed text, no adoption timeline, and no real political momentum behind moving it forward. Lobbying from the ad-tech industry, complications around member-state law-enforcement carve-outs, and the general slowdown of EU digital legislation after the AI Act all contributed.
Practical effect: nothing changes for you. The 2002 directive (amended 2009) is still the applicable law, member states' national implementations of it are still in force, and the enforcement trajectory is still pointing toward stricter, not looser. If and when the new Regulation lands, expect a transition period and don't panic.
What this means for your banner
If you're building or auditing a cookie banner, the ePrivacy Directive (as nationally implemented) tells you three things:
- Consent is required before any non-essential storage or access. Not after, not in parallel. Before.
- The exception for “strictly necessary” is narrow. If in doubt, treat the cookie as non-essential.
- The validity of that consent is judged by GDPR's standard, which is the EDPB's consistent interpretation: freely given, specific, informed, unambiguous, withdrawable.
The visible banner is just the surface. The underlying obligation is to actually block non-essential cookies until the visitor opts in, log the consent so you can prove it later, and let them withdraw later as easily as they consented. That's a technical implementation problem, not a UI problem.
What I'd read next
GDPR Cookie Consent covers the consent-validity side in more depth (the GDPR layer of the stack above). If you're trying to figure out which of your cookies actually fall under the “non-essential” bucket, First-Party vs Third-Party Cookies breaks down the categories. And What Is a CMP walks through the technical pieces (script blocking, consent log, etc.) that an ePrivacy-compliant setup actually needs.