Lawscan.org Scan free

Cookies & tracking

Cookie Banner Requirements in the EU: What Makes One Compliant

Published September 15, 2026 · 7 min read

Prior consent, a real Reject button, no dark patterns, granular choices and proof of consent: the rules a cookie banner must follow in the EU.

In the EU, storing or reading information on a user’s device is governed by the ePrivacy rules, and when personal data is involved the GDPR standard of consent applies. In practice a compliant cookie banner follows a handful of clear principles.

Analytics, advertising, social pixels and similar trackers must not load until the visitor has agreed. A banner that appears while the scripts already fire is the most frequent failure we see in scans. Strictly necessary cookies (session, cart, security) do not need consent.

Refusing must be as easy as accepting

Regulators expect a "Reject all" option at the same level as "Accept all": same size, colour weight and number of clicks. Hiding the refusal in a settings menu or using a faint link is a dark pattern.

Consent requires a clear affirmative act. Pre-ticked boxes, silence and "by continuing to browse you accept" do not qualify. The Italian Garante guidelines of June 2021, for example, say so explicitly.

Be specific and granular

Let users choose by category (analytics, marketing, personalisation) and name the third parties involved. A single "accept everything" cannot cover different purposes.

Make withdrawal easy

Add a permanent link such as "Cookie settings" in the footer so people can change their mind as simply as they agreed.

Store the choice, the date and the banner version so you can demonstrate consent. Avoid asking again too often: guidance such as the Italian Garante’s suggests waiting around six months unless something changes.

The banner is the first layer; a cookie policy lists each cookie, purpose, provider and duration. See also technical versus profiling cookies.

Quick test

Open your site in a private window, do not click anything and look at the Network tab: if analytics or advertising requests are already firing, the banner is not doing its job.

Related checks in the Compliance Index

Find out what your website is missing

Scan it for free, then ask for a full report with a prioritised action plan.

Scan my website free

Prefer expert help? Request a full compliance report →

Keep reading

This guide is for general information and is not legal advice. Rules change and national laws vary: check with a qualified professional for your specific case.

Scan your website free →