Cookie consent
Is a cookie banner required on my website?
By the Kiescy teamUpdated 8 min readChecked against the official text on
Some people assume every website needs a cookie banner; others hear "the US doesn't require them" and skip it. Both can be wrong. The answer depends on two things: where your visitors are and what your site loads. This guide gives the answer for each region, with examples, and covers the UK's new exemptions that took effect in February 2026.
The short version
You need a cookie banner if visitors from the EU, UK or other opt-in regions reach your site and it uses non-essential cookies or trackers, such as advertising pixels, most embedded videos and maps, or analytics shared with a third party. Sites that only use strictly necessary cookies (login, cart, security) don't need one. Since 5 February 2026 the UK lets you run first-party analytics without consent if you tell people and let them object. Most US states don't require an opt-in banner, but you need an opt-out if you sell or share data for advertising.
Words you'll see in this guide (5)
- Cookie banner:
- A message asking visitors to accept or reject non-essential cookies before they're used.
- Strictly necessary cookies:
- Cookies needed for something the visitor asked for, such as a login session or shopping cart. They don't need consent.
- Opt-in:
- Nothing happens until the visitor says yes. The rule in the EU, India and, for most cookies, the UK.
- Opt-out:
- It happens by default, but the visitor can say no. The model in most US states.
- ePrivacy Directive:
- The EU law (Article 5(3)) that requires consent before storing or reading anything on a visitor's device, except when strictly necessary.
On this page
Do you need a cookie banner? A 60-second check
- Run the [free website check](/check) or open your site in a private window and look at what loads. You can't answer this question without knowing what your site sets.
- Only strictly necessary cookies (login, cart, security, load balancing, the consent cookie itself)? You don't need a banner anywhere. Mention them in your privacy or cookie policy.
- Advertising pixels (Meta, Google Ads, TikTok, LinkedIn)? You need an opt-in banner for the EU, UK and India, and a "Do Not Sell or Share" opt-out for California and other US states.
- Embedded YouTube, Vimeo, Google Maps or social feeds? These usually set third-party cookies when they load, so they need consent in the EU, UK and India, or a click-to-load placeholder.
- Only analytics? In the EU you need consent (a few countries allow properly configured, anonymous audience measurement without it). In the UK, first-party analytics used only to improve your own site can run without consent since February 2026, if you tell people and let them object.
Cookie banner rules by country
| Visitors from | Banner needed? | The rule |
|---|---|---|
| European Union / EEA | Yes, for any non-essential cookie or tracker | ePrivacy Directive Article 5(3), with GDPR-standard consent: before anything loads, opt-in, as easy to refuse as accept |
| United Kingdom | Yes for advertising and most third-party tools; not for first-party statistics or site functionality since 5 February 2026 | PECR as amended by the Data (Use and Access) Act 2025: exemptions need clear information and a simple, free way to object |
| India | Yes, for tracking that identifies people (from 13 May 2027) | DPDP Act Section 6: consent by clear affirmative action, withdrawal as easy as giving it |
| Brazil | In practice, yes | LGPD: consent is the safest legal basis for non-essential cookies |
| California | No opt-in banner; an opt-out is required if you sell or share data | CCPA/CPRA: "Do Not Sell or Share My Personal Information" link and honouring Global Privacy Control |
| Other US states | No opt-in banner; opt-out of targeted advertising in most | About 20 state laws, such as Virginia, Colorado, Texas and Oregon |
| Canada | Depends on sensitivity; Quebec is stricter | PIPEDA allows implied consent for low-risk uses; Quebec's Law 25 requires tracking to be off by default |
Cookie rules follow where the visitor is, not where your business is. A US company with European visitors must follow EU rules for them. You can show different banners by region, as long as every visitor from an opt-in region gets the opt-in version.
What changed in the UK in 2026
The Data (Use and Access) Act 2025 amended the UK's cookie rules (PECR). From 5 February 2026, you can set some cookies without consent:
- Statistics: analytics whose only purpose is to understand how your site is used so you can improve it.
- Appearance and functionality: remembering choices such as language, region or display settings.
- Emergency assistance, such as locating someone who calls for help.
There are conditions. You must give clear information about the cookies and a simple, free way to object, for example a toggle in your cookie settings. The exemption doesn't cover analytics data shared with a third party for its own purposes, such as advertising or profiling. The ICO reads the exemptions narrowly. Advertising and cross-site tracking still need consent.
Example
A UK bakery uses a self-hosted, first-party analytics tool that only counts visits to improve the site, plus a Meta Pixel for ads. The analytics can now run without consent, as long as the cookie notice explains it and offers an opt-out. The Meta Pixel still needs opt-in consent, so the site still needs a banner.
The Act also raised the maximum PECR fines to UK GDPR levels: up to £17.5 million or 4% of worldwide turnover.
Examples: who needs a banner?
Needs a banner
A German online shop with Google Analytics, a Meta Pixel and a YouTube product video: yes. All three need consent in the EU, so the banner must block them until the visitor accepts.
Needs a banner and an opt-out
A US software company with the LinkedIn Insight Tag and many European visitors: yes. Europeans need an opt-in banner, and Californians need a "Do Not Sell or Share" option, because the LinkedIn tag shares data for advertising.
Doesn't need a banner
A portfolio site with no analytics, no embeds and only the owner's login cookie: no. It uses only strictly necessary cookies. Its privacy policy should still mention them.
Doesn't need an opt-in banner
A plumber in Texas with Google Analytics and no ad pixels, serving only local customers: no opt-in banner needed. It still needs a privacy policy that mentions Google Analytics, and an opt-out if it later adds ad tracking.
Which cookies need consent?
| Usually needs consent | Usually doesn't |
|---|---|
| Advertising pixels: Meta, Google Ads, TikTok, LinkedIn, Pinterest | Login and session cookies |
| Session recording and heatmaps: Hotjar, Microsoft Clarity | Shopping cart and checkout cookies |
| Third-party analytics such as Google Analytics (EU; UK if data is used beyond your own statistics) | Security and fraud prevention |
| Embedded YouTube, Vimeo, Google Maps, Instagram feeds | The cookie that stores the visitor's consent choice |
| A/B testing and personalisation tools | Load balancing |
| Chat widgets that load and track for everyone | First-party statistics in the UK (with notice and opt-out) |
For borderline cases, read GDPR cookie categories.
What a valid cookie banner must do
European regulators set out a common position in the EDPB's Cookie Banner Taskforce report. A valid banner must:
- Appear before any non-essential cookie or tracker loads.
- Offer Reject all as easily as Accept all, on the first screen.
- Leave optional categories switched off until the visitor turns them on: no pre-ticked boxes.
- Avoid tricks: no hidden reject link, no misleading colours that steer people to Accept.
- Explain in plain words what each category does, with a link to your cookie policy.
- Let visitors change their mind at any time, for example with a "Cookie settings" link in the footer.
- Keep proof of each choice, so you can show consent was given (GDPR Article 7(1)).
See good and bad designs in cookie banner examples.
What happens if you don't have one?
- Fines in Europe. Cookies are one of the most enforced areas of privacy law. France's CNIL fined Google €150 million and Facebook €60 million in 2021 because refusing cookies was harder than accepting them, and has since fined online shops, publishers and apps of all sizes.
- Higher UK fines. PECR fines now reach the same level as UK GDPR fines.
- Lawsuits in the US. Even without an opt-in law, US sites face claims under California's wiretapping law (CIPA) over pixels, chat widgets and session recording, which is why many add a banner anyway.
- Lost ad features. Google restricts advertising and measurement features for European traffic without valid consent signals (Consent Mode v2).
How to add a cookie banner
- Simple sites: the free cookie banner generator gives you copy-paste code with Reject all, categories and Google Consent Mode v2.
- Growing sites: Kiescy's consent banner shows the right banner for each visitor's region, scans for new cookies and keeps consent records. See the install guides for WordPress, Shopify, Webflow and more.
Questions
Is a cookie banner required in the US?
Not an opt-in banner in most states. If you share data with ad networks for targeted advertising, California and about 20 other states require an opt-out, such as a "Do Not Sell or Share" link, and California requires honouring Global Privacy Control.
Is a cookie banner required in the UK in 2026?
Yes, if you use advertising or most third-party trackers. Since 5 February 2026, first-party analytics used only to improve your site and cookies for appearance or functionality can run without consent, provided you explain them and offer a simple way to object.
Do I need a cookie banner if I only use Google Analytics?
For EU visitors, yes. For UK visitors it depends on how it's set up: the statistics exemption only covers analytics used for your own purposes, and the ICO reads it narrowly, so Google Analytics with data sharing or advertising features turned on still needs consent.
Do I need a cookie banner if my site has no cookies?
No, if you truly use no non-essential cookies or similar trackers. Check carefully: embeds, fonts, chat widgets and plugins often add trackers without you noticing, and the rules cover pixels and local storage too, not just cookies.
Can I show the banner only to European visitors?
Yes. Region-based banners are allowed, as long as every visitor from an opt-in region sees the opt-in version.
Is "By using this site you accept cookies" enough?
Not in the EU, UK or India. Continuing to browse isn't a clear affirmative action, so it isn't valid consent.
Sources
The facts in this guide come from these official sources, last checked on . We review the guide whenever they change.
- ePrivacy Directive 2002/58/EC, Article 5(3) (EUR-Lex)
- EDPB: Report of the work undertaken by the Cookie Banner Taskforce (2023)
- ICO: Guidance on the use of storage and access technologies
- ICO: The Data (Use and Access) Act 2025, what it means for organisations
- Data (Use and Access) Act 2025, Schedule 12: cookie exemptions (legislation.gov.uk)
- Data (Use and Access) Act 2025, Schedule 13: PECR fines at UK GDPR levels (legislation.gov.uk)
- Commencement No. 6 Regulations 2026 (S.I. 2026/82): in force 5 February 2026
- Irish Data Protection Commission: Does my website have to have a banner?
- California Attorney General: California Consumer Privacy Act
Find out what your site loads
The free check lists every cookie and tracker your site sets before a visitor chooses. About 15 seconds, no sign-up.
Open the free toolThis guide explains the law in general terms and isn't legal advice. Laws change and how they apply depends on your situation; for high-risk processing, ask a lawyer.