United Kingdom · Guide

UK GDPR & PECR

UK GDPR and the Privacy and Electronic Communications Regulations

Consent before most non-essential cookies. Since 2026, some low-risk uses are exempt if visitors can object.

Applies in
United Kingdom
How it works
Opt-in
Opt-out signals
Not applicable
Enforced by
Information Commissioner’s Office (ICO)
In effect
PECR 2003 · cookie changes from the Data (Use and Access) Act 2025 in force since February 2026

Last reviewed November 20265 primary sourcesMaintained by the CodeAsure teamHow we write these guidesGeneral information, not legal advice

01In plain English

In the UK, PECR says you need consent before storing or reading information on a visitor’s device, unless an exception applies. UK GDPR defines valid consent: a clear, active choice.

The Data (Use and Access) Act 2025 added exceptions. Some low-risk uses, such as cookies that only collect statistics to improve your own service, no longer need consent when the statutory conditions are met, including telling visitors and giving them a simple, free way to object. Not all analytics qualify, and advertising and cross-site tracking still need consent.

The same Act raised PECR fines to UK GDPR levels: up to £17.5 million or 4% of worldwide turnover.

02Why it matters

£17.5M[3],[5]
or 4% of worldwide turnover: the maximum PECR fine since the Data (Use and Access) Act
Ads[3],[4]
advertising and cross-site tracking still need consent; the new exceptions are narrow and conditional
2026[4]
the ICO finalized its updated guidance on storage and access technologies

03Who it covers

A website that stores or accesses information on the devices of users in the UK and:

  • Sets or reads cookies, pixels or similar technologies on those devices
  • Uses them for advertising, tracking across sites, or anything else that isn’t strictly necessary or covered by an exception

Strictly necessary uses are exempt, and since February 2026 so are certain statistics, appearance and security uses, but only when every condition of the exception is met. Advertising and cross-site tracking are not exempt. UK GDPR obligations have their own scope rules.

04What the law asks of your site

  1. 4.1Ask before cookies that aren’t exempt

    The law says
    You must not store or access information on a user’s device unless they consent, or one of the exceptions applies.[1],[3]
    For your site
    Advertising and tracking tags don’t run, and their cookies aren’t set, until the visitor accepts.
    Related CodeAsure test
    Initial browser-state inspectionIn reports: Before any choice. It observes behavior related to this duty; it doesn’t establish that the duty is met.
  2. 4.2Make refusing as easy as accepting

    The law says
    Consent must be freely given, specific, informed and unambiguous, by a clear affirmative action; the ICO expects rejecting to be as easy as accepting.[2],[4]
    For your site
    “Reject all” sits next to “Accept all”, equally visible, on the first layer.
    Related CodeAsure test
    Initial browser-state inspectionIn reports: Before any choice. It observes behavior related to this duty; it doesn’t establish that the duty is met.
  3. 4.3Make “no” actually stop the tracking

    The law says
    Without consent or an exception, the storage and access aren’t allowed, including after a visitor refuses.[1]
    For your site
    After “Reject all”, the tags the visitor refused don’t run, on any page.
    Related CodeAsure test
    Post-rejection browser behaviorIn reports: After “Reject all”. It observes behavior related to this duty; it doesn’t establish that the duty is met.
  4. 4.4If you use the statistics exception, meet every condition

    The law says
    Not all analytics technologies qualify for the statistical-purpose exception. Eligibility depends on the purposes for which the technology and resulting information are used, the applicable statutory conditions, and requirements to inform users and provide a simple, free means of objecting.[3],[4]
    For your site
    Analytics that only measure how your own service is used, to improve it, may qualify. Analytics whose data is shared for others’ purposes, used for advertising or tracking across sites, don’t. Say what the analytics do, offer a real, free way to object, and keep advertising tags behind consent.
    Related CodeAsure test
    No related CodeAsure test. Automated testing doesn’t cover this; check with your team or counsel.

A law tells you what your site must do. It can’t show you what your site actually does.

That takes a test, run the way a visitor would, on every page type, every week, because sites change. CodeAsure runs those tests and keeps every result, dated. What the results mean for your obligations is a question for your counsel.

05Questions

Do I still need a cookie banner in the UK?

If your site uses advertising, cross-site tracking or other storage and access that no exception covers, yes. The 2025 changes exempt some low-risk uses when their conditions are met, not advertising.

Can I run analytics without consent now?

Possibly. Not all analytics qualify. The exception covers information collected only for statistics about how your own service is used, to improve it, when visitors get clear information and a simple, free way to object, and the information isn’t shared for other purposes. Analytics shared with advertising platforms, or used to track people across sites, don’t fit it.

Is the UK the same as the EU?

Close, but no longer identical. The consent standard is similar; the UK now has extra exceptions, and its own regulator, the ICO.

What are the penalties?

Since the Data (Use and Access) Act, PECR fines can reach £17.5 million or 4% of worldwide turnover, the same as UK GDPR.

Does CodeAsure make my site compliant?

No. CodeAsure tests observable browser behavior before a choice, after “Reject all” and after “Accept”, and keeps dated evidence. Those results document specific tests; they don’t establish compliance, and they can’t tell whether an analytics tool meets the statistics exception’s conditions. Whether your site meets UK law is a question for your counsel.

06Sources

  1. [1]StatutePrivacy and Electronic Communications Regulations 2003, regulation 6 (opens in a new tab)
  2. [2]StatuteUK GDPR, Article 4 (definition of consent) (opens in a new tab)
  3. [3]RegulatorICO: Data (Use and Access) Act 2025, changes to PECR (opens in a new tab)
  4. [4]RegulatorICO: Guidance on the use of storage and access technologies (opens in a new tab)
  5. [5]RegulatorGOV.UK: Data (Use and Access) Act factsheet, PEC Regulations (opens in a new tab)

Last reviewed November 2026. Laws and how courts read them change; check the sources.

This content is provided for general educational purposes and does not constitute legal advice. Privacy laws vary by jurisdiction, business activity and circumstances. CodeAsure provides technical testing and evidence of observed website behavior, not legal compliance certification. Consult qualified legal counsel about the obligations that apply to your organization.

These guides cover selected laws and the CodeAsure tests most closely related to them. They don’t describe everything CodeAsure tests, and they aren’t a complete list of the laws that may apply to your site. Both the guides and CodeAsure’s testing are subject to change and will continue to evolve as laws, regulator guidance and the product change.

Next guideColoradoColoradans can opt out of targeted ads and the sale of their data, and Global Privacy Control must be honored.

See what your site does under UK GDPR & PECR.

Book a 30-minute demo and we’ll scan your site for free: what loads before a choice, what “Reject all” really stops, and whether typed text leaves your site.

30-minute call · Free scan of your site · Results on the call