Choose your organisation type
EU flag with a padlock symbol on a laptop screen – data protection

UK GDPR requirements for public-sector websites: what you need to know

UK data protection law — the UK GDPR and the Data Protection Act 2018, as amended by the Data (Use and Access) Act 2025 — has applied to public bodies for years, yet their websites still often fall short. A compliant website is not just a privacy policy page: it is a set of technical and organisational measures that protect personal data, together with the separate cookie rules in the Privacy and Electronic Communications Regulations (PECR). Below we set out the requirements and how to meet them in practice.

Why is the UK GDPR especially important for the public sector?

Public bodies — councils, schools, libraries, museums, NHS bodies and GP practices — process highly sensitive residents’ data. This includes:

  • Identification data (first name, surname, reference numbers such as a National Insurance or NHS number).
  • Contact data (address, telephone number, email).
  • Health data (in NHS bodies and GP practices).
  • Children’s data (in schools and nurseries).
  • Financial data (council tax, benefits).

A public-sector website must meet the highest standards, because any data breach can have serious consequences for thousands of people. Public bodies also have duties of their own: most must appoint a data protection officer, and when performing their tasks they cannot rely on legitimate interests as their lawful basis for processing.

Main requirements for websites

1. Cookies and similar technologies (PECR)

Cookies are governed by regulation 6 of PECR, which was replaced with a new version on 5 February 2026. It prohibits storing information on, or accessing information from, a visitor’s device unless the visitor consents or one of the exceptions in Schedule A1 applies:

  • Strictly necessary — storage or access that is strictly necessary to provide the service the visitor requested, for example for security, fraud prevention, detecting technical faults or remembering what the visitor has entered in a form. No consent is needed.
  • Statistics — cookies used solely to collect statistical information about how your website or service is used, with a view to improving it, where the information is not shared except to help with those improvements. The visitor must be given clear and comprehensive information and a simple, free way to object.
  • Appearance and functionality — cookies that adapt the website to the visitor’s preferences (for example text size). The same conditions apply: clear information and a simple, free way to object.
  • Everything else needs consent — for example advertising cookies. The visitor must receive clear and comprehensive information about the purpose and give consent before the cookie is set.

In practice, a cookie mechanism on a public-sector website should:

  • Inform visitors about each cookie and its purpose before it is set.
  • Not set consent-based cookies without consent — they stay off until the visitor actively agrees.
  • Offer a simple way to object to statistical and preference cookies that rely on the new exceptions.
  • Allow choices to be changed at any time.
  • Keep consent records — where processing is based on consent, the organisation must be able to show that consent was given.

A common mistake is a cookie banner that only informs but does not actually block the cookies that need consent. That does not meet PECR.

2. Privacy notice

When personal data is collected through the website, visitors must be given a privacy notice stating:

  • Data controller — the organisation’s identity and contact details.
  • Data protection officer (DPO) — contact details. Public authorities must appoint a DPO; note that parish councils in England and community councils in Wales and Scotland are excluded from the definition of a public authority for this purpose.
  • Purposes and lawful basis — why the data is collected and on what basis (consent, contract, legal obligation, public task, etc.).
  • Data retention periods — how long the data is kept, or the criteria used to decide.
  • Data subject rights — the right of access, rectification, erasure, restriction of processing, objection and data portability.
  • Complaints — the right to complain to your organisation and to the Information Commission.
  • Recipients — to whom the data is passed (e.g. cloud service providers, analytics platforms).

3. Contact forms and data collection

A compliant contact form must ensure:

  • Minimal data collection — collect only the data that is truly necessary (data minimisation principle). If email and message text are enough, a telephone number or address should not be required.
  • Clear information — the form must link to the privacy notice at the point where data is collected. If you rely on consent, use a checkbox that is not pre-ticked: consent requires a clear affirmative action.
  • Encrypted transfer — the form must be sent over HTTPS (SSL certificate).
  • Secure storage — the data received must be stored securely and accessible only to authorised persons.

4. SSL certificate (HTTPS)

Every public-sector website should use an SSL certificate. HTTPS ensures that data transferred between the visitor’s browser and the server is encrypted — encryption is one of the security measures the UK GDPR itself names. Without an SSL certificate, browsers show a “Not secure” label, which harms both security and trust.

5. Contracts with processors

If website development, hosting or maintenance is carried out by an external provider that handles personal data on your behalf, the UK GDPR requires a written contract with that processor. It must, among other things, set out:

  • The subject matter, duration, nature and purpose of the processing, and the types of personal data.
  • That the provider acts only on your documented instructions.
  • What security measures the provider applies.
  • When the provider may use sub-processors.
  • What happens to the data when the contract ends — deletion or return.

This is especially relevant for cloud hosting, where website data is stored on third-party servers.

6. Data protection complaints

Since 19 June 2026 people can complain directly to the controller about an infringement of the UK GDPR. The controller must make complaining easy — for example with a complaint form that can be completed electronically — and acknowledge each complaint within 30 days. A website is the natural place for that form.

Practical UK GDPR compliance checklist

Use this checklist to check whether your website meets the requirements:

Technical requirements

  • ☐ SSL certificate installed and working (HTTPS).
  • ☐ Cookie mechanism installed and properly blocking cookies that need consent.
  • ☐ Contact forms link to the privacy notice; consent checkboxes where consent is the lawful basis.
  • ☐ Data is transferred through an encrypted channel.
  • ☐ The website is regularly updated (CMS, plugins, themes).
  • ☐ Regular backups are performed.
  • ☐ Access to the admin dashboard is protected by strong passwords and two-factor authentication.

Content requirements

  • ☐ Privacy notice prepared and up to date.
  • ☐ Cookie information page prepared.
  • ☐ Data protection officer contact information provided.
  • ☐ Information on data subject rights and complaint routes provided.
  • ☐ Data retention period stated.
  • ☐ Data protection complaint form available online.

Organisational requirements

  • ☐ Data protection officer appointed (where required).
  • ☐ Written contracts signed with processors.
  • ☐ Data breach plan prepared — a breach must be reported to the Information Commission without undue delay and, where feasible, within 72 hours, unless it is unlikely to result in a risk to people.
  • ☐ Annual data protection fee paid to the Information Commission (unless all processing is exempt).
  • ☐ Employees trained in data protection.
  • ☐ Regular compliance audit carried out.

Common website problems to check for

When reviewing a public-sector website, look for these problems first:

  • Improper cookie management — cookies that need consent are set without it.
  • Outdated privacy notice — does not reflect actual data processing practice.
  • Too much data collected — unnecessary data is requested in contact forms.
  • No contract with processors — website hosting or maintenance is carried out without a written processor contract.
  • Data security not ensured — outdated CMS versions, weak passwords.

Penalties for breaches

Maximum penalties are set in section 157 of the Data Protection Act 2018. The higher maximum (e.g. for breaches of the basic principles, consent conditions or data subjects’ rights) is £17,500,000 or, for an undertaking, 4% of total annual worldwide turnover, whichever is higher. The standard maximum (e.g. for security, processor and breach-notification obligations) is £8,700,000 or 2%. Reputational damage comes on top.

Since 30 September 2026 the regulator is the Information Commission, which replaced the Information Commissioner.

How to ensure UK GDPR compliance when creating a website?

The best approach is to build data protection in from the very start of website development — the UK GDPR calls this “data protection by design and by default”. The main steps are:

  1. Carry out a data processing audit — identify which personal data will be processed through the website, and carry out a data protection impact assessment where the processing is likely to result in a high risk.
  2. Implement a cookie management system — choose a professional solution (e.g. CookieYes, Complianz) configured for PECR.
  3. Prepare privacy documents — privacy notice, cookie information, data processing rules.
  4. Sign processor contracts — website developers, hosting service providers.
  5. Audit regularly — review and update all data protection processes at least once a year.

If you are planning to create a new public-sector website or update an existing one, it is important to choose a provider that understands UK GDPR and PECR requirements. We invite you to look at our website development services, where data protection compliance is a standard part of the project.

Conclusions

UK GDPR compliance on a public-sector website is not a formality, but a necessity that protects both residents and the organisation itself. By investing in proper data protection, you will not only avoid penalties, but also increase residents’ trust in your organisation.

Do you have questions about UK GDPR compliance on your website? Contact us — we will help assess the current situation and offer concrete solutions.

Check your organisation's website

Enter the address: you'll see the score straight away, and we'll e-mail you the full report with a list of fixes.

No registration needed. You will see the result straight away. How do we check?