indigo42. home

Blog / 1 December 2026 / 7 min read

Do I need a cookie banner in the UK? (2026 guide)

Do you need a cookie banner in the UK? What PECR and UK GDPR require, which cookies are now exempt, and what a compliant consent banner looks like.

Joe

Joe

Director and Lead Software Engineer

A tray of freshly baked cookies

Do you need a cookie banner in the UK? If your website uses any non-essential cookies or similar tracking, such as advertising pixels, retargeting or most third-party embeds, then yes: you need people's consent before they're set, and a cookie banner is the usual way to get it. Since February 2026, some analytics and preference cookies no longer need consent, but you still have to explain them clearly and give people an easy way to opt out.

This is general guidance, not legal advice. The authoritative source is the Information Commissioner's Office (ICO), whose guidance on storage and access technologies is on [ico.org.uk](https://ico.org.uk/for-organisations/direct-marketing-and-privacy-and-electronic-communications/guidance-on-the-use-of-storage-and-access-technologies/).

Do you need a cookie banner? The short answer

  • You need a consent banner if you use advertising, marketing or tracking technologies, including Meta or LinkedIn pixels, ad conversion tracking and most third-party embeds.
  • You may not need one if you only use strictly necessary cookies plus analytics or preference cookies that qualify for the new exceptions. You'll still need clear information and a simple way to object.
  • If you're unsure, ask for consent. It's the safer default.

What does UK cookie law actually say?

Two pieces of law work together.

PECR (the Privacy and Electronic Communications Regulations) is the main cookie law. It says you must get consent before storing information on someone's device or reading information from it, unless an exception applies. It covers cookies and similar technologies, including local storage, tracking pixels and device fingerprinting. The ICO now calls these "storage and access technologies".

UK GDPR sets the standard for what valid consent looks like, and applies whenever cookies involve personal data, which most tracking does. Consent must be freely given, specific, informed and a clear positive action. Silence, pre-ticked boxes or "by continuing to browse you accept" don't count.

What changed with the Data (Use and Access) Act 2025?

The Data (Use and Access) Act 2025 amended PECR, and the cookie changes came into force on 5 February 2026. It added new exceptions to the consent rule, and the ICO finalised its updated guidance in April 2026.

It also significantly increased the maximum fines for breaching PECR, bringing them into line with UK GDPR levels. Cookie compliance is no longer a low-risk afterthought.

Which cookies need consent, and which are exempt?

Under the current rules and ICO guidance, you don't need consent where the sole purpose of a cookie or similar technology is one of the following:

  • Strictly necessary for a service the user has asked for, such as a shopping basket, login, security features or remembering their cookie choices
  • Communication, where it's needed to transmit a communication over a network
  • Statistical purposes (analytics), collecting statistics about how your own website is used so you can improve it
  • Appearance and functionality, remembering preferences like language, text size or dark mode
  • Emergency assistance, locating a device to help someone who has asked for emergency help

The analytics and preference exceptions come with conditions. You must tell people clearly what you're doing and give them a simple, free way to object. For analytics, the data should be used in aggregate to improve your site, not to track or profile individuals. If you use a third-party analytics provider, it must act on your behalf and not use the data for its own purposes.

These still need consent:

  • Advertising and retargeting cookies
  • Ad conversion tracking and ad performance measurement
  • Social media pixels, such as Meta, LinkedIn or TikTok
  • Embedded content that tracks visitors, such as some video players and maps
  • Analytics that feed into advertising, or that profile individual users

Does Google Analytics need consent?

It depends on how it's set up, and many setups will still need consent. If you link Google Analytics to Google Ads, enable advertising features or share data with Google for its own purposes, it won't fit the analytics exception. Check your configuration against the ICO guidance. If in doubt, keep it behind consent.

What does a compliant cookie banner look like?

The ICO's expectations are clear and practical:

  • Reject is as easy as accept. Put "Reject all" on the first layer, with the same prominence as "Accept all". Hiding it behind a "Manage settings" link isn't acceptable.
  • No pre-ticked boxes. Optional categories start switched off.
  • Nothing non-essential fires before consent. The banner must actually block tags until someone agrees, not just display a message.
  • Clear, plain language. Say what each category does and name the third parties involved.
  • Easy to change your mind. Include a link, usually in the footer, to reopen cookie settings at any time.
  • No nudging. Avoid tricks like greyed-out reject buttons or confusing wording.

Your banner also needs to be accessible: usable with a keyboard and screen reader, and not hiding content when people zoom in. Our guide to website accessibility law in the UK covers what that involves.

Can I avoid a cookie banner with cookieless analytics?

Often, yes. Several privacy-focused analytics tools don't use cookies or collect personal data, and give you the core numbers most businesses need: visits, popular pages, referrers and conversions. Combined with the new statistical purposes exception, many small business websites can now measure what matters without a consent banner, as long as they don't run advertising pixels.

You'll still need to explain your analytics in your privacy or cookie notice, and offer a simple way to object where the exceptions require it. Lighter analytics scripts can also help with page speed, which our guide to Core Web Vitals explains.

Common cookie consent mistakes

  • Tags firing before consent. The most common problem. A consent tool is installed but your tag manager still loads tracking straight away.
  • Assuming the new exceptions cover everything. They're narrow. Advertising and conversion tracking still need consent.
  • Forgetting embeds. YouTube videos, maps, chat widgets and social feeds can all set cookies.
  • Out-of-date cookie lists. New tools get added by marketing and agencies, and nobody updates the banner or policy.
  • Ignoring local storage and pixels. The rules cover similar technologies, not just cookies.
  • Never testing. Open your site in a private window, reject everything, and check in your browser's developer tools what's still being set.

What to do next

Start with an audit: list every cookie, script and tracking tool on your site, what it does and who set it up. Then decide which ones you really need, move what you can to the new exceptions or cookieless alternatives, and make sure everything else waits for consent. It's also worth asking any developer you hire how they handle consent, alongside the other questions to ask a web developer.

If you'd like help auditing your cookies or setting up consent properly, get in touch.

Tell us what you’re building.

One email. We’ll reply within 24 hours.