Cookie banner requirements in the EU, UK and US

JurisdictionWhat the guidance saysSource
EU member statesWhere 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 KingdomPECR 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
CaliforniaCalifornia 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 exceptionCondition to reviewSource
Strictly necessaryStorage or access must be strictly necessary for the service the visitor requested.Data (Use and Access) Act 2025, Schedule 12
Statistical purposesThe 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
AppearanceThe 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?

ControlWhat regulators expectSource
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.