---
title: "Re-identification of de-identified personal data: the UK offence"
description: "Section 171 DPA 2018 makes re-identifying de-identified personal data a crime. Its defences, the 72-hour testing notice and what it means for licensed records."
canonical: https://plety.net/about/compliance/re-identification-offence-uk
last-updated: 2026-11-27
---

# Re-identification of de-identified personal data: the UK offence

By Plety. Updated 2026-11-27.

Re-identifying de-identified personal data is a criminal offence in the UK when it is done knowingly or recklessly without the consent of the controller that de-identified it. Section 171 of the Data Protection Act 2018 creates that offence and a second one for processing data re-identified that way. Both are punishable by a fine, and the defences are narrow.

## What is the re-identification offence?

Section 171(1) makes it an offence for a person knowingly or recklessly to re-identify information that is de-identified personal data without the consent of the controller responsible for de-identifying it. Section 171(5) adds a second offence: knowingly or recklessly processing personal data that has been re-identified, without that controller's consent, where the re-identification was itself an offence.

Personal data is "de-identified" under section 171(2) if it has been processed so that it can no longer be attributed, without more, to a specific person. A person "re-identifies" information by taking steps that result in it no longer being de-identified. The ICO says this is wider than the UK GDPR definition of pseudonymisation, because no separately held key is needed: the offences cover pseudonymised data and ineffectively anonymised data, including attempts that use decryption or hacking techniques.

Section 171(8) settles two points about consent. Consent from a processor treated as a controller under Article 28(10) of the UK GDPR does not count, and where several controllers de-identified the data, the consent of one or more of them is enough.

## What defences are there to re-identification?

Section 171 sets out separate defences for the act of re-identifying and for processing the data afterwards, and in each case the person charged must prove them. The crime defence was widened from 5 February 2026, when the Data (Use and Access) Act 2025 added "investigating" alongside preventing or detecting crime.

*Defences in section 171 of the Data Protection Act 2018*

| Defence | Re-identifying (s171(3) and (4)) | Processing re-identified data (s171(6) and (7)) |
| --- | --- | --- |
| Necessary for preventing, investigating or detecting crime | Yes | Yes |
| Required or authorised by an enactment, a rule of law or a court or tribunal order | Yes | Yes |
| Justified in the particular circumstances as being in the public interest | Yes | Yes |
| Reasonable belief that the person is the data subject, had their consent or would have had it | Yes | No |
| Reasonable belief that the person had, or would have had, the consent of the controller that de-identified the data | Yes, and also a belief of being that controller | Yes |
| Reasonable belief that the processing was lawful | No | Yes |
| Special purposes: journalistic, academic, artistic or literary publication believed to be in the public interest | Yes | Yes |
| Effectiveness testing conditions in section 172 met | Yes | No |

## What are the effectiveness testing conditions?

The effectiveness testing conditions in section 172 protect a person who re-identifies data to test whether the de-identification works, but only if both conditions are met. First, the person acted with a view to testing the effectiveness of the de-identification, without intending to cause or threaten damage or distress to anyone, and in the reasonable belief that re-identifying the information was justified in the public interest.

Second, the person notified the regulator, or the controller responsible for de-identifying the data, about the re-identification without undue delay and, where feasible, no later than 72 hours after becoming aware of it. Where several controllers de-identified the data, notifying one or more of them is enough.

Since 30 September 2026, section 172(3) names the Commission as the regulator to notify, in place of the Commissioner, after the Information Commissioner's Office became the Information Commission under the Data (Use and Access) Act 2025. The regulator says it will continue to be known as the ICO, and its guidance still uses that name.

## What is the penalty for re-identification?

The penalty is a fine. Under section 196(2) of the Data Protection Act 2018, an offence under section 171 is punishable on summary conviction in England and Wales by a fine, in Scotland and Northern Ireland by a fine up to the statutory maximum, and on conviction on indictment by a fine. The forfeiture power in section 196(4) applies to offences under sections 170 and 184 only, not to section 171.

In England and Wales, and separately in Northern Ireland, section 197 lets proceedings be brought only by the Commission or by, or with the consent of, the relevant Director of Public Prosecutions.

## What does section 171 mean for licensed records?

For licensed business records, section 171 means a buyer that knowingly or recklessly matches de-identified records back to the people in them, without the seller's consent, risks a criminal offence as well as a breach of contract. When a company removes or masks personal data before licensing records, it is normally the controller responsible for de-identifying them, so its consent is the one that counts. In Plety's process, personal data is removed inside the company's own systems before any records go to a buyer.

The ICO's summary is direct: you must not try to match pseudonymous personal data to the person it relates to, or try to re-identify people in information believed to be anonymised, unless the controller that pseudonymised or anonymised it agrees. A licence can make the position clear by stating that no consent to re-identification is given, whether any effectiveness testing is allowed, and that a notice under section 172 goes to the seller.

The offence is a backstop, not a substitute for good de-identification. Whether masked records are still personal data in a buyer's hands depends on the means reasonably likely to be used to identify people, covered at https://plety.net/about/compliance/anonymising-business-records-for-ai-training. The status of pseudonymised data is at https://plety.net/about/questions/is-pseudonymised-data-still-personal-data.

## Questions

### Is re-identifying data by accident an offence?

The offence in section 171(1) requires the person to act knowingly or recklessly. The processing offence in section 171(5) applies only where the re-identification was itself an offence under subsection (1).

### Does section 171 apply to data that was meant to be anonymous?

It can. The ICO says the re-identification offences cover ineffectively anonymised data as well as pseudonymised data, because the test is whether the data can be attributed to a person without more.

### Does section 171 apply across the UK?

Yes. The section extends to the whole UK, and section 196 sets the penalties for England and Wales, Scotland and Northern Ireland.

## Sources

- [Data Protection Act 2018, section 171 (re-identification of de-identified personal data)](https://www.legislation.gov.uk/ukpga/2018/12/section/171)
- [Data Protection Act 2018, section 172 (re-identification: effectiveness testing conditions)](https://www.legislation.gov.uk/ukpga/2018/12/section/172)
- [Data Protection Act 2018, section 196 (penalties for offences)](https://www.legislation.gov.uk/ukpga/2018/12/section/196)
- [Data Protection Act 2018, section 197 (prosecution)](https://www.legislation.gov.uk/ukpga/2018/12/section/197)
- [ICO, Anonymisation guidance: pseudonymisation (re-identification offences)](https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/data-sharing/anonymisation/pseudonymisation/)
- [ICO, ICO governance changes confirmed for 30 September 2026 (15 September 2026, updated 17 September 2026)](https://ico.org.uk/about-the-ico/media-centre/news-and-blogs/2026/09/ico-governance-changes-confirmed-for-30-september-2026/)

## Read next

- [Is pseudonymised data still personal data?](https://plety.net/about/questions/is-pseudonymised-data-still-personal-data.md)
- [Anonymising business records for AI training in the UK](https://plety.net/about/compliance/anonymising-business-records-for-ai-training.md)
- [Is selling personal data a criminal offence in the UK?](https://plety.net/about/compliance/is-selling-personal-data-a-criminal-offence-uk.md)
- [Data licence clauses AI buyers ask for](https://plety.net/about/for-buyers/data-licence-clauses-buyers-ask-for.md)
- [How is personal data removed from business records?](https://plety.net/about/questions/how-is-personal-data-removed-from-business-records.md)

---

Plety Limited, company number 17598186, registered in England and Wales. Registered office: 15 Hackbridge, Wallington, United Kingdom, SM6 7AU. Contact: partnerships@plety.net. Book a call: https://plety.net/book.

General information, not legal advice.
