OpenLegislation

Section 171 Re-identification of de-identified personal dataI1

(1)

It is 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 the personal data.

(2)

For the purposes of this section and section 172—

(a)

personal data is “de-identified” if it has been processed in such a manner that it can no longer be attributed, without more, to a specific data subject;

(b)

a person “re-identifies” information if the person takes steps which result in the information no longer being de-identified within the meaning of paragraph (a).

(3)

It is a defence for a person charged with an offence under subsection (1) to prove that the re-identification—

(a)

was necessary for the purposes of preventing F1, investigating or detecting crime,

(b)

was required or authorised by an enactment, by a rule of law or by the order of a court or tribunal, or

(c)

in the particular circumstances, was justified as being in the public interest.

(4)

It is also a defence for a person charged with an offence under subsection (1) to prove that—

(a)

the person acted in the reasonable belief that the person—

(i)

is the data subject to whom the information relates,

(ii)

had the consent of that data subject, or

(iii)

would have had such consent if the data subject had known about the re-identification and the circumstances of it,

(b)

the person acted in the reasonable belief that the person—

(i)

is the controller responsible for de-identifying the personal data,

(ii)

had the consent of that controller, or

(iii)

would have had such consent if that controller had known about the re-identification and the circumstances of it,

(c)

the person acted—

(i)

for the special purposes,

(ii)

with a view to the publication by a person of any journalistic, academic, artistic or literary material, and

(iii)

in the reasonable belief that in the particular circumstances the re-identification was justified as being in the public interest, or

(d)

the effectiveness testing conditions were met (see section 172).

(5)

It is an offence for a person knowingly or recklessly to process personal data that is information that has been re-identified where the person does so—

(a)

without the consent of the controller responsible for de-identifying the personal data, and

(b)

in circumstances in which the re-identification was an offence under subsection (1).

(6)

It is a defence for a person charged with an offence under subsection (5) to prove that the processing—

(a)

was necessary for the purposes of preventing F2, investigating or detecting crime,

(b)

was required or authorised by an enactment, by a rule of law or by the order of a court or tribunal, or

(c)

in the particular circumstances, was justified as being in the public interest.

(7)

It is also a defence for a person charged with an offence under subsection (5) to prove that—

(a)

the person acted in the reasonable belief that the processing was lawful,

(b)

the person acted in the reasonable belief that the person—

(i)

had the consent of the controller responsible for de-identifying the personal data, or

(ii)

would have had such consent if that controller had known about the processing and the circumstances of it, or

(c)

the person acted—

(i)

for the special purposes,

(ii)

with a view to the publication by a person of any journalistic, academic, artistic or literary material, and

(iii)

in the reasonable belief that in the particular circumstances the processing was justified as being in the public interest.

(8)

In this section—

(a)

references to the consent of a controller do not include the consent of a person who is a controller by virtue of Article 28(10) of the F3UK GDPR or section 59(8) or 105(3) of this Act (processor to be treated as controller in certain circumstances);

(b)

where there is more than one controller, such references are references to the consent of one or more of them.

Annotations

Textual amendments

F1

Word in s. 171(3)(a) inserted (5.2.2026) by Data (Use and Access) Act 2025 (c. 18), s. 142(1), Sch. 11 para. 23(2); S.I. 2026/82, reg. 2(z12)

F2

Word in s. 171(6)(a) inserted (5.2.2026) by Data (Use and Access) Act 2025 (c. 18), s. 142(1), Sch. 11 para. 23(3); S.I. 2026/82, reg. 2(z12)

F3

Words in s. 171(8)(a) substituted (31.12.2020) by The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419), reg. 1(2), Sch. 2 para. 72 (with reg. 5); 2020 c. 1, Sch. 5 para. 1(1)

Commencement

I1

S. 171 in force at 25.5.2018 by S.I. 2018/625, reg. 2(1)(f)

Notes on Part 6

Modifications

C1

Pt. 6 applied in part (with modifications) by S.I. 2016/696, Sch. 2 (as substituted (25.5.2018) by Data Protection Act 2018 (c. 12), s. 212(1), Sch. 19 para. 406 (with ss. 117, 209, 210); S.I. 2018/625, reg. 2(1)(g) (with reg. 4); and as amended (5.2.2026) by Data (Use and Access) Act 2025 (c. 18), ss. 105, 142(1); S.I. 2026/82, reg. 2(u); and (30.9.2026) by S.I. 2026/386, reg. 1(2), Sch. 3 para. 19(3)(c); S.I. 2026/1015, reg. 2(c))

C2

Pts. 5-7 applied in part (with modifications) (5.2.2026) by S.I. 2003/2426, reg. 31, Sch. 1 (as substituted by Data (Use and Access) Act 2025 (c. 18), ss. 115(5)(8), 142(1), Sch. 13; S.I. 2026/82, reg. 2(y)(z14) (with regs. 8-11) and as amended (30.9.2026) by S.I. 2026/386, reg. 1(2), Sch. 3 para. 6(3), (4)(j); S.I. 2026/1015, reg. 2(c))