Last updated: 25 November 2026

A compliant cookie banner gives people a real choice before any non-essential cookie is set: accept and reject are offered with equal ease, nothing is pre-ticked, each purpose is explained in plain language, and consent can be withdrawn as easily as it was given. The cookie banner examples below show what that looks like in practice, set against the non-compliant patterns regulators have fined, for the EU, the UK, California and South Africa.

Unlike most cookie banner example galleries, this guide does not grade other companies' live banners. Each example is a described mock-up of a pattern, tied to the rule or regulator position that makes it pass or fail, so you can check your own banner against it.

The cookie banner is how most websites meet two separate sets of rules:

  • The storage and access rule. In the EU this is Article 5(3) of the ePrivacy Directive; in the UK it is regulation 6 of the Privacy and Electronic Communications Regulations (PECR). Storing or reading information on a user's device needs consent unless an exemption applies, such as cookies that are strictly necessary for a service the user asked for.
  • The consent standard. Where consent is needed, it must meet the GDPR (or UK GDPR) definition: "freely given, specific, informed and unambiguous" and given by "a clear affirmative action" (GDPR Article 4(11)). Recital 32 adds that "silence, pre-ticked boxes or inactivity should not therefore constitute consent", and Article 7(3) says withdrawing consent must be as easy as giving it.

The US model is different. Under the CCPA, cookies used for cross-context behavioural advertising are usually a "sale" or "sharing" of personal information, so the duty is to offer an opt-out, honour opt-out preference signals and avoid manipulative design, rather than to collect opt-in consent first. South Africa's POPIA does not mention cookies at all, but its general consent and processing conditions still apply where cookies collect personal information.

Jurisdiction Legal basis for the banner Default model Key regulator positions
EU ePrivacy Directive Art 5(3) (national laws) + GDPR consent standard Opt-in before non-essential cookies EDPB Cookie Banner Taskforce report (17 Jan 2023); CJEU Planet49 (C-673/17, 2019) on pre-ticked boxes
UK PECR reg 6 and new Schedule A1 (inserted by the Data (Use and Access) Act 2025) + UK GDPR consent standard Opt-in, with new exceptions for analytics and site functionality if users can object ICO cookies guidance; revised detailed guidance under consultation
California CCPA right to opt out of sale/sharing; 11 CCR 7004 (symmetry, no dark patterns); 11 CCR 7025 (opt-out preference signals) Opt-out for advertising cookies; honour Global Privacy Control CPPA Enforcement Advisory 2024-02; Honda settlement (Mar 2025)
South Africa POPIA conditions for lawful processing (s8-25); consent definition in s1 No cookie-specific rule; rely on consent or another s11 ground where cookies process personal information No cookie-specific Information Regulator guidance found at the time of writing

The UK change: new exceptions since 5 February 2026

The UK now allows some cookies without consent. Schedule 12 of the Data (Use and Access) Act 2025 inserted a new Schedule A1 into PECR, in force from 5 February 2026. Alongside the existing consent and strictly necessary routes, it adds exceptions where the sole purpose is:

  • Statistical purposes: collecting information about how a service or website is used, to improve it. The information must not be shared except to help with those improvements.
  • Appearance or functionality: adapting a website's appearance or functionality to the user's preferences, or otherwise enhancing it.
  • Emergency assistance: locating a user who has requested emergency help.

For the statistics and appearance exceptions, the user must be given clear and comprehensive information about the purpose and a simple, free way to object, and must not have objected. So a UK banner can now load first-party analytics by default, but only with a visible "object" control. Advertising and cross-site tracking cookies still need consent. The ICO's own cookies page says revised detailed guidance is out for consultation, so check it before you rely on the new exceptions.

This exception does not exist in the EU. A banner shared across EU and UK sites still needs opt-in for analytics in the EU.

Each example below describes a banner pattern, says whether it passes and why.

Example 1: Equal "Accept all" and "Reject all" on the first layer (compliant)

What it looks like: A bottom banner with one sentence ("We use cookies to measure how our site is used and, with your permission, to show you relevant ads"), a link to the cookie policy, and three buttons of the same size, colour and weight: "Accept all", "Reject all" and "Manage settings".

Why it passes: Refusing takes one click, the same as accepting. The EDPB taskforce found that most supervisory authorities treat a banner with no reject option on any layer as an infringement, and the CNIL fined Google (EUR 150 million) and Facebook (EUR 60 million) in January 2022 because refusing took several clicks while accepting took one (Taylor Wessing summary). In California, the CPPA's advisory gives "Accept All" and "Decline All" as an example of symmetrical choices.

What it looks like: A large green "Accept and continue" button. Below it, in small grey text inside the paragraph, "or change your preferences".

Why it fails: The EDPB taskforce specifically flagged refusal options shown only as a link embedded in text, or placed outside the banner, without visual support to draw attention to them. The path to the privacy-protective choice is also longer, which breaks the CCPA symmetry rule in 11 CCR 7004(a)(2): "The path for a consumer to exercise a more privacy-protective option shall not be longer or more difficult" than the path to the less protective one.

Example 3: Pre-ticked purpose toggles (non-compliant)

What it looks like: A "Manage settings" panel where "Analytics", "Personalisation" and "Advertising" toggles are already switched on, and the user only has to click "Save".

Why it fails: Pre-ticked boxes do not produce valid consent. The CJEU held this in Planet49 (C-673/17, 1 October 2019), Recital 32 of the GDPR says so directly, and the EDPB taskforce repeated it. Only strictly necessary cookies may be shown as "always on", and they should be explained, not toggled.

Example 4: Low-contrast "Reject" button (non-compliant)

What it looks like: "Accept all" as a solid, high-contrast button; "Reject all" as pale grey text on a white background that is barely readable.

Why it fails: The EDPB taskforce declined to set a general colour rule and said banners must be assessed case by case, but it named one practice as manifestly misleading: an alternative option whose text contrast is so low it is unreadable to virtually any user. A reject button that fails WCAG 2.2 AA contrast (4.5:1 for normal text) is also an accessibility defect.

Example 5: "By continuing to browse, you accept cookies" (non-compliant)

What it looks like: A notice bar that disappears when the user scrolls, with tracking scripts already loaded on page view.

Why it fails: Scrolling or continuing to use a site is not a clear affirmative action. The ICO says continuing to use a website is not enough for consent, and that non-essential cookies must not be set on the home page before the user consents. Check your tag manager: many "compliant" banners fail here because scripts fire before the choice is recorded.

What it looks like: A full-screen overlay: "Accept cookies to access this site". No reject option, and the content is blocked until the user accepts.

Why it usually fails: Consent that is a condition of access is generally not freely given. The EDPB's Guidelines 05/2020 on consent say access to content should not be made conditional on accepting cookies. Some EU authorities have accepted "consent or pay" models in narrow circumstances; treat any cookie wall as high risk and take legal advice before using one.

Example 7: "Legitimate interest" toggles for advertising cookies (non-compliant)

What it looks like: A second layer where advertising vendors are listed under "Legitimate interest" and switched on, separate from the consent toggles.

Why it fails: The EDPB taskforce's view is that legitimate interest cannot be the legal basis for placing or reading cookies under Article 5(3). Splitting "refuse cookies" from "object to legitimate interest" also confuses users. Use consent for non-essential cookies in the EU.

Example 8: Mislabelled "essential" cookies (non-compliant)

What it looks like: A banner that only offers "OK", with a note that the site uses "essential cookies only", while an analytics tag and an advertising pixel run in the background.

Why it fails: The strictly necessary exemption covers only what is needed to deliver the service the user requested, such as a shopping basket, login session or load balancing. The ICO says cookies that are merely helpful, or essential for your own purposes, still need consent. The EDPB taskforce asked site owners to keep a list of the cookies they treat as essential and be able to explain why. In the UK, first-party analytics may now fall under the statistics exception, but only with information and a right to object.

What it looks like: After the user chooses, a small "Cookie settings" link stays in the site footer (or a small icon in a corner) that reopens the preferences panel.

Why it passes: Withdrawing consent must be as easy as giving it (GDPR Art 7(3)). The EDPB taskforce said site owners should offer an easily accessible way to withdraw at any time, such as a permanently visible icon or a link in a standard location, but no single method is mandatory.

Example 10: California opt-out banner that honours Global Privacy Control (compliant)

What it looks like: For US visitors, a short notice: "We use cookies, including for targeted advertising, which may be a 'sale' or 'sharing' under California law." Buttons: "Accept" and "Opt out of sale/sharing", equal in design, plus a "Your Privacy Choices" link in the footer. When the browser sends a Global Privacy Control signal, the site treats it as an opt-out without asking again, and shows that the request has been honoured.

Why it passes: The CCPA regulations require businesses that sell or share personal information to process a valid opt-out preference signal as an opt-out request (11 CCR 7025) and require symmetrical choices (11 CCR 7004). The CPPA's first enforcement settlement, with Honda in March 2025 ($632,500), included an allegation that its cookie management tool did not offer privacy choices in a "symmetrical or equal way".

What it looks like: For a South African audience, a banner that names the responsible party, explains each purpose in plain language (site analytics, advertising), offers "Accept" and "Decline" equally, and links to the privacy notice that sets out the information required by POPIA section 18.

Why it works: POPIA does not regulate cookies directly. But where cookies collect personal information, processing must meet one of the grounds in section 11, and where you rely on consent it must be "voluntary, specific and informed" (section 1). A GDPR-standard banner meets that bar. See our POPIA compliance guide for the wider conditions.

Summary table: what passes and what fails

Pattern EU UK California South Africa (POPIA)
Accept and reject equal on first layer Expected Expected Required (symmetry) Good practice
Reject only via text link or second layer Infringement for most DPAs High risk Fails symmetry if longer Weakens "voluntary" consent
Pre-ticked toggles Invalid Invalid Not consent under CCPA Not specific consent
Scrolling or browsing as consent Invalid Invalid N/A (opt-out model) Not an expression of will
First-party analytics without consent Needs consent Allowed with info + right to object (since 5 Feb 2026) Allowed if not sale/sharing Needs a s11 ground
Advertising pixels before choice Unlawful Unlawful Must allow opt-out and honour GPC Needs a s11 ground
Persistent "Cookie settings" link Expected Expected "Your Privacy Choices" link Good practice

Use this before you launch or change a banner:

  1. Scan the site. List every cookie, pixel, SDK and local storage item, who sets it, its purpose and lifetime.
  2. Classify each item. Strictly necessary, statistics, functionality, advertising or other. Record why anything is "strictly necessary".
  3. Block before choice. Confirm with a fresh browser that no non-essential script fires before the user chooses (EU always; UK for advertising; check your tag manager triggers).
  4. First layer. One or two sentences of purpose, a cookie policy link, and accept and reject with equal prominence.
  5. Second layer. Purpose-level toggles, all off by default except strictly necessary, with plain descriptions and vendor lists.
  6. US visitors. Opt-out of sale/sharing, a "Your Privacy Choices" link, and GPC detection that applies the opt-out automatically.
  7. UK visitors. If you rely on the new statistics or functionality exceptions, show clear information and a simple, free way to object.
  8. Record consent. Store the choice, timestamp, banner version and purposes, so you can prove consent later.
  9. Withdrawal. A persistent footer link or icon that reopens settings.
  10. Accessibility. Keyboard operable, focus visible, buttons meet WCAG 2.2 AA contrast, and the banner does not trap screen reader users.
  11. Policy and notice. Keep your cookie policy and privacy notice in step with the scan results.
  12. Review. Re-scan after every site release and at least quarterly, and re-ask for consent when purposes change.

How to fix a non-compliant banner in a week

  1. Day 1: Scan and inventory. Run a cookie scan on your top templates (home, product, blog, checkout or sign-up) and export the results.
  2. Day 2: Classify and decide by region. Agree with legal which purposes need consent where, and whether the UK statistics exception is worth using.
  3. Day 3: Rebuild the first layer. Equal accept and reject, short purpose text, no dark patterns. Test contrast.
  4. Day 4: Wire up blocking. Gate tags in your tag manager on consent state; add GPC handling for US traffic.
  5. Day 5: Test. Fresh browser per region, check network requests before and after each choice, test keyboard and screen reader use.
  6. Day 6: Record and document. Turn on consent logging, update the cookie policy and record the decisions in your compliance records.
  7. Day 7: Monitor. Schedule re-scans and add banner checks to the release checklist.

Frequently asked questions

Do I need a "Reject all" button on the first layer?

In the EU, most supervisory authorities in the EDPB taskforce treated a banner with no refuse option on any layer as an infringement, and the CNIL has fined companies for making refusal harder than acceptance. A reject button on the first layer, as prominent as "Accept", is the safest design. In California, the symmetry rule makes the same point for opt-outs.

Usually not in the EU, because consent given as a condition of access is unlikely to be freely given (EDPB Guidelines 05/2020). Some authorities have accepted "consent or pay" models in limited cases. Treat any cookie wall as high risk.

Since 5 February 2026, PECR allows storage or access whose sole purpose is collecting statistics to improve your own service, if you give clear information and a simple, free way to object, and the information is not shared except to help with improvements. Whether a given analytics set-up fits depends on how data is shared with the provider, so check the ICO's updated guidance. In the EU, analytics cookies still need consent.

The banner collects the choice; the cookie policy explains in detail what each cookie does, who sets it and how long it lasts. You need both, and the policy should be linked from the banner. See our GDPR compliance checklist for how transparency fits the wider programme.

There is no general US opt-in cookie rule, but under the CCPA, advertising cookies are often a sale or sharing of personal information, which requires an opt-out, honouring Global Privacy Control and avoiding dark patterns. Several other states have similar opt-out rules. A banner is the most common way to deliver those choices.

POPIA does not mention cookies. But where cookies collect personal information, you need a lawful ground under section 11 and must tell people about the processing (section 18). Many South African businesses use a consent banner to meet both duties, especially for advertising and analytics.

Keep your banner, scans and records in one place

Core GRC's cookie consent module helps you run a consent banner, keep cookie records current and log consent choices, while the privacy policies and notices module keeps your cookie policy and privacy notice versioned alongside it. If you are also reviewing your site for accessibility, our accessibility statement guide covers the other notice most websites now need. Talk to us to see how it fits your sites.


This article is general information, not legal advice. Cookie rules vary by country and are changing in the UK, so check current regulator guidance for each market you serve.

Cover photo by Glenn Carstens-Peters on Unsplash