Skip to main content
Signocore

What is the ePrivacy Directive?

The ePrivacy Directive is the European Union law that governs privacy in electronic communications, and the reason websites show cookie banners to visitors in the EU. Its formal name is Directive 2002/58/EC, and the current cookie rules come from a 2009 amendment, which is why it is often called the Cookie Law.

What it requires

The key rule is Article 5(3). A website may only store information on a visitor's device, or read information already stored there, if the visitor has given consent after being clearly informed about the purpose. The rule covers cookies, but also local storage, tracking pixels and device fingerprinting, because it is about access to the device, not about one technology.

There are two exemptions: storage or access needed only to carry out the transmission of a communication, and storage or access that is strictly necessary to provide a service the visitor explicitly asked for. A login session, a shopping cart or a cookie that remembers the visitor's consent choice falls under the exemption. Advertising cookies do not, and in most countries analytics cookies do not either, which is why they need a cookie consent banner.

How it relates to the GDPR

The two laws work together. The ePrivacy Directive decides when a site may access the device at all, and the GDPR sets the standard for what valid consent looks like: freely given, specific, informed and unambiguous. Pre-ticked boxes do not count, and regulators expect refusing to be as easy as accepting. Where the cookies collect personal data, the GDPR also governs what happens to that data afterward.

Why the rules differ between countries

A directive is not applied directly. Each member state writes it into national law, so the details vary, and national regulators differ on questions such as whether a "reject all" button must appear on the first layer of a banner. A replacement, the ePrivacy Regulation, was proposed in 2017 to create a single rule for the whole EU, but negotiations stalled for years, and the European Commission formally withdrew it in 2025. The Commission's Digital Omnibus package, proposed in November 2025, would add cases where cookies need no consent, such as audience measurement, but it is still being negotiated. For now, the directive and its national versions remain the rules a site has to follow.

Also known as

Cookie Law EU Cookie Directive Directive 2002/58/EC

Have a question?

Get in touch if you'd like to learn more about this topic.