Use with your AI

Unlawful obtaining etc of personal data

Law
DPA 2018Data Protection Act 2018
Part
EnforcementPart 6
Version
Revisedvalid 30 Sep 2026
This form from
5 February 2026
Language
Englishofficial text

The text

Official UK text (English), revised version valid 30 September 2026. Not an official copy. Not legal advice. Contains public sector information licensed under the Open Government Licence v3.0.

(1)

It is an offence for a person knowingly or recklessly—

(a)

to obtain or disclose personal data without the consent of the controller,

(b)

to procure the disclosure of personal data to another person without the consent of the controller, or

(c)

after obtaining personal data, to retain it without the consent of the person who was the controller in relation to the personal data when it was obtained.

(2)

It is a defence for a person charged with an offence under subsection (1) to prove that the obtaining, disclosing, procuring or retaining—

(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.

(3)

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 had a legal right to do the obtaining, disclosing, procuring or retaining,

(b)

the person acted in the reasonable belief that the person would have had the consent of the controller if the controller had known about the obtaining, disclosing, procuring or retaining 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 obtaining, disclosing, procuring or retaining was justified as being in the public interest.

(4)

It is an offence for a person to sell personal data if the person obtained the data in circumstances in which an offence under subsection (1) was committed.

(5)

It is an offence for a person to offer to sell personal data if the person—

(a)

has obtained the data in circumstances in which an offence under subsection (1) was committed, or

(b)

subsequently obtains the data in such circumstances.

(6)

For the purposes of subsection (5), an advertisement indicating that personal data is or may be for sale is an offer to sell the data.

(7)

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 [F2UK 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.

Notes from legislation.gov.uk: not part of the law

F is a textual amendment, I a commencement note, C a modification, M a marginal citation, X an editorial note: the source's own labels, as it numbers them on this page. Amended wording is in square brackets with the label of its note.

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

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

F2 Words in s. 170(7) 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. 71 (with reg. 5); 2020 c. 1, Sch. 5 para. 1(1)

About this text

Shown in English, word for word from the revised version on legislation.gov.uk. This is not legal advice. Only the text published by the UK Parliament and the King's Printer is legally binding; the revised version is not an official copy.

Revised (current) version from legislation.gov.uk, valid 30 September 2026, the date the source gives for the text it served. The source also lists changes that have not yet been applied to the text: where there are any, the page of the provision says what they are, and the text shown is the text without them. Fetched by Fino on 5 November 2026.

The notes under the text (F for textual amendments, I for commencement, C for modifications, M for marginal citations, X for editorial notes) are the editorial notes of legislation.gov.uk, labelled and numbered as it does on the page of the provision. They are not part of the law. Wording an amending law added or substituted is in square brackets with the label of its note, as the source shows it.

Contains public sector information licensed under the Open Government Licence v3.0. Source: legislation.gov.uk (The National Archives).

Section 170 DPA 2018 on legislation.gov.uk ↗ · Data Protection Act 2018 (c. 12) ↗