Understand the cookie banner requirements that apply to your website
A cookie banner's wording and controls depend on what each technology on your site does and who visits it.
This information isn't legal advice. Consult a lawyer about the requirements that apply to your organization.
Cookie banner requirements in the EU, UK and US
| Jurisdiction | What the guidance says | Source |
|---|---|---|
| EU member states | Where consent is needed, it has to come before the cookies are set, by a clear action from the visitor. Pre-ticked boxes don't count. | EDPB cookie banner findings |
| United Kingdom | PECR bars storing or reading information on a visitor's device unless they get clear information about the purpose and give consent, or an exception applies. | PECR regulation 6 and Schedule A1 |
| California | California lets people opt out of the sale or sharing of their personal information, and covered businesses must honor GPC as an opt-out. | California opt-out guidance |
When might a website not need cookie consent?
| UK exception | Condition to review | Source |
|---|---|---|
| Strictly necessary | Storage or access must be strictly necessary for the service the visitor requested. | Data (Use and Access) Act 2025, Schedule 12 |
| Statistical purposes | The only purpose is collecting statistics on how the service is used, to improve it. The information isn't shared except with someone helping make those improvements, and visitors get clear information and a simple, free way to object. | Data (Use and Access) Act 2025, Schedule 12 |
| Appearance | The only purpose is making the website look or work the way the visitor prefers, or otherwise improving how it looks or works, with the same information and objection conditions. | Data (Use and Access) Act 2025, Schedule 12 |
What should a cookie consent banner let visitors do?
| Control | What regulators expect | Source |
|---|---|---|
| Reject on the same layer (EU) | Most EU authorities in the EDPB's taskforce treated a banner with an accept button but no reject option on the same layer as an infringement. | EDPB cookie banner report |
| Withdraw consent (EU) | Withdrawing consent must be as easy as giving it, with an easily accessible way to do it at any time. | EDPB cookie banner report |
Frequently asked questions
Does the GDPR require a cookie banner?
Not on its own. The EDPB's cookie banner taskforce confirms that each EU country's law based on the ePrivacy Directive governs placing and reading cookies, while the GDPR's conditions for valid consent decide whether the consent a banner collects counts.
Connect cookie banner requirements to signals and cookie settings
Website privacy
See which trackers load before visitors agree, and which policies you're missing.
Google Consent Mode v2
Understand Google's consent signals and test the tag behavior behind your banner.
Global Privacy Control
Learn how browsers send an opt-out signal and which state laws require honoring it.
Cookie security
Choose cookie attributes that fit your sign-in flow and limit unnecessary exposure.
Why most cookie banners fail before you click
A cookie banner cannot create consent after tracking has started. Audit storage and network requests, gate optional tools, and test both choices.