Regulations

Cookie Banner Requirements by Country: EU, UK, US, Brazil (2026)

·12 min read

Quick answer: Cookie banner requirements vary significantly by country. The EU requires opt-in consent before setting non-essential cookies. The UK follows similar rules under PECR. The US has no federal cookie law, but California (CCPA) requires opt-out disclosures. Brazil (LGPD) requires consent. Getting cookie compliance wrong is one of the most common reasons for GDPR fines.

Cookie Banner Requirements at a Glance

Country/RegionLawConsent ModelPre-checked BoxesReject Button RequiredMax Fine
EU (all members)GDPR + ePrivacyOpt-inIllegalYes (must be equal)€20M / 4% turnover
United KingdomUK GDPR + PECROpt-inIllegalYes£17.5M / 4% turnover
United StatesNo federal lawVaries by stateAllowed (federally)NoVaries
California (US)CCPA/CPRAOpt-outN/ANo (opt-out link)$7,500/violation
BrazilLGPDOpt-inIllegalRecommended2% revenue (max R$50M)
CanadaPIPEDAImplied/ExpressContext-dependentRecommendedCAD $100K
AustraliaPrivacy ActNotice-basedAllowedNoAUD $50M
JapanAPPIOpt-outAllowedNo¥100M
South KoreaPIPAOpt-inIllegalYes3% revenue
IndiaDPDPA 2023Opt-in (consent)IllegalYes₹250 crore

European Union: The Strictest Requirements

EU cookie law is governed by two regulations working together: the ePrivacy Directive (cookie-specific) and the GDPR (general data processing). Together, they create the world's strictest cookie consent regime.

What EU Law Requires

  • Prior consent: You must obtain consent before setting any non-essential cookies. No cookies can fire on page load except strictly necessary ones
  • Granular choice: Users must be able to accept or reject cookies by category (analytics, marketing, functional)
  • Equal prominence: "Accept All" and "Reject All" buttons must be equally visible. The CJEU ruled in 2024 that hiding "Reject" behind a settings layer is non-compliant
  • No dark patterns: You cannot use larger fonts, brighter colors, or emotional language to nudge users toward acceptance
  • Easy withdrawal: Users must be able to change their preferences at any time, just as easily as they gave consent
  • Cookie wall ban: You cannot deny access to your website if users reject cookies (with very limited exceptions)

EU Cookie Banner Enforcement Examples

CompanyFineViolationDPAYear
Google€150MNo easy reject option on cookiesCNIL (France)2022
Facebook€60MNo easy reject option on cookiesCNIL (France)2022
TikTok€5MCookie consent not GDPR-compliantCNIL (France)2023
Microsoft (Bing)€60MCookies deposited without valid consentCNIL (France)2022
Criteo€40MNo valid consent for advertising cookiesCNIL (France)2023

United Kingdom: Post-Brexit Rules

After Brexit, the UK retained the GDPR as the "UK GDPR" and cookie rules are governed byPECR (Privacy and Electronic Communications Regulations). The requirements are almost identical to the EU:

  • Opt-in consent required for all non-essential cookies
  • Strictly necessary cookies exempt (session IDs, shopping cart, security tokens)
  • ICO (Information Commissioner's Office) enforces compliance
  • Maximum fine: £17.5 million or 4% of global annual turnover
  • ICO published updated guidance in 2024 emphasizing the "Reject All" button requirement

Key difference from EU: The UK is considering a "legitimate interest" exception for analytics cookies under the Data Protection and Digital Information Bill. This could make the UK slightly more lenient than the EU for basic analytics. As of 2026, this has not yet been enacted.

United States: A Patchwork of State Laws

The US has no federal cookie consent law. However, several states have enacted comprehensive privacy laws that affect cookie practices:

California (CCPA/CPRA)

  • Model: Opt-out (not opt-in)
  • You must provide a "Do Not Sell or Share My Personal Information" link
  • Must honor Global Privacy Control (GPC) browser signals
  • No cookie banner required per se, but disclosure of cookie-based tracking is mandatory
  • Fine: up to $7,500 per intentional violation

Other US States With Cookie-Relevant Laws

StateLawEffectiveCookie Relevance
VirginiaVCDPA2023Opt-out for targeted ads and profiling
ColoradoCPA2023Universal opt-out mechanism required
ConnecticutCTDPA2023Opt-out for sale and targeted ads
TexasTDPSA2024Opt-out mechanism for data sales
OregonOCPA2024Universal opt-out signal recognition

Brazil (LGPD)

Brazil's LGPD follows an opt-in consent model for cookies, similar to the EU:

  • Consent must be "free, informed, and unambiguous"
  • Users must be able to revoke consent at any time
  • The ANPD (national authority) published cookie-specific guidance in 2024
  • Maximum fine: 2% of revenue, capped at R$50 million per violation
  • Enforcement has increased significantly in 2025-2026

Read our detailed comparison: LGPD vs GDPR: Brazil's Data Protection Law Explained

What Cookies Are "Strictly Necessary"?

Strictly necessary cookies are exempt from consent requirements across all jurisdictions. But the definition is narrow:

Cookie TypeStrictly Necessary?Needs Consent?
Session ID / authenticationYesNo
Shopping cartYesNo
CSRF tokensYesNo
Cookie consent preferenceYesNo
Load balancer cookiesYesNo
Google AnalyticsNoYes
Facebook PixelNoYes
Advertising / retargetingNoYes
Social media embedsNoYes
A/B testing toolsNoYes
Hotjar / session recordingNoYes

How to Build a Compliant Cookie Banner

Minimum Requirements (Works Globally)

  1. Block all non-essential cookies by default — no scripts fire until consent is given
  2. Show a clear banner explaining what cookies you use and why
  3. Provide Accept All and Reject All buttons with equal prominence
  4. Allow granular control — let users choose cookie categories
  5. Remember the choice — don't re-ask on every page load
  6. Allow withdrawal — provide a way to change preferences (footer link or icon)
  7. Log consent — keep records of when consent was given, by whom, and for what

Technical Implementation

The most reliable approach is a Consent Management Platform (CMP) that handles blocking, categorization, and consent logging. See our CMP Comparison Guide for options.

If implementing manually, the key is to ensure Google Consent Mode v2 is properly configured. This allows Google Analytics and Google Ads to respect user consent choices. See ourGoogle Consent Mode v2 Setup Guide.

Check Your Cookie Compliance

PrivacyChecker scans your website and identifies cookie compliance issues automatically. The scan detects:

  • Cookies that fire before consent (pre-consent violations)
  • Missing or misconfigured cookie banners
  • Third-party trackers loading without user permission
  • Google Analytics and advertising cookies compliance
  • Missing Consent Mode v2 implementation

Frequently Asked Questions

Do I need a cookie banner if I only use essential cookies?

If your website only uses strictly necessary cookies (session, security, preferences), you donot need a consent banner in most jurisdictions. However, you should still provide a cookie policy explaining what cookies you use. Most websites use at least some analytics or marketing tools that require consent.

Can I use a cookie wall to deny access?

In the EU, cookie walls are generally not allowed. The EDPB has stated that consent is not freely given if the user has no real choice. Some DPAs allow limited exceptions (e.g., if a free ad-supported version is available alongside a paid ad-free version), but the safest approach is to never use cookie walls.

How often should I re-ask for consent?

There is no legally mandated period, but best practice is to re-ask every 6 to 12 months. You must also re-ask whenever you add new cookie categories or change the purposes of existing cookies. The CNIL recommends re-obtaining consent every 13 months maximum.

Do cookie banners hurt my SEO?

Google has stated that cookie consent banners do not negatively impact SEO if implemented correctly. Avoid interstitials that block the main content on mobile — use a bottom or top bar instead of a full-screen overlay.

Check your website now — free

Run a complete privacy audit in under 60 seconds. Get your score, find issues, and learn how to fix them.

Start Free Audit