Selling a database under UK GDPR: what the ICO's data sharing code says
By Plety. Updated
Selling a database that contains personal data is usually data sharing between controllers, and the ICO's statutory data sharing code expects both sides to carry out due diligence. The buyer must satisfy itself about where the data came from, its lawful basis and what people were told; the seller should follow a similar process and plan how people will be informed.
What is the ICO's data sharing code?
The data sharing code is a statutory code of practice prepared under section 121 of the Data Protection Act 2018. It was laid before Parliament on 18 May 2021, issued on 14 September 2021 and came into force on 5 October 2021. The ICO must take it into account when deciding whether an organisation has met its data protection duties on data sharing, and the courts must take its provisions into account wherever relevant.
Two parts bear on a database changing hands: one on due diligence when sharing data following mergers and acquisitions, and one on sharing personal data in databases and lists. As of November 2026 the ICO says the code is under review because of changes made by the Data (Use and Access) Act 2025.
What does the code say about mergers, acquisitions and insolvency?
The code says that when a database moves in a merger, acquisition or other change in structure, the data sharing should be part of the due diligence. It asks the parties to identify the purposes for which the data was originally obtained, establish the lawful basis for sharing it, and check whether those purposes have changed.
It applies the same thinking to insolvency. The code notes that on insolvency, data might be sold as an asset to a different legal personality, and that an insolvency practitioner or other adviser may take the role of controller for the time being.
After the transfer, the code asks the new controller to check that records are accurate and up to date, document what it does with the data and apply a consistent retention policy. It also warns of a security risk of loss, corruption or degradation where different systems are involved, and recommends technical advice before sharing.
What must the buyer of a database check?
The buyer of a database must satisfy itself about the integrity of the data, and the code says it is responsible for compliance with the law for the data it receives. The enquiries it lists include confirming the source, identifying the lawful basis on which the data was obtained, verifying how and when it was collected, checking records of consent where consent is relied on, reviewing the privacy information given at collection, and checking the data is accurate and up to date.
The buyer must also tell people who it is sharing their data with and for what purposes, and the code says it is the recipient's responsibility to be satisfied that the information required by Article 14 has been provided. The data received should not be excessive or irrelevant for the buyer's needs, and a written contract with the supplier is good practice.
What are the seller's duties when a database changes hands?
The seller should follow a process similar to the buyer's, according to the code, which treats due diligence by both the sharing and the receiving controller as central to compliance. It asks the parties to comply with the data protection principles, especially lawfulness, fairness and transparency, to document the sharing, and to consider when and how people will be informed.
The code reminds the parties that people may have a right to object, and that the same considerations may apply in reverse to the controller receiving the data.
A licence of records for AI training is narrower than a sale: the company keeps its data and grants a defined use. The same checks apply whenever personal data passes from one controller to another. Plety's process removes personal data inside the company's own systems before records go to a buyer.
Which checks should be documented?
Both parties should document the checks below, because the code asks them to document the sharing. It calls a data sharing agreement good practice rather than a legal requirement, and says an agreement does not provide immunity from breaching the law.
| Check | What the code asks | Evidence to keep |
|---|---|---|
| Source and original purpose | Confirm the source and the purposes the data was first obtained for | System inventory, original privacy notices, collection dates |
| Lawful basis | Establish the lawful basis for obtaining and for sharing the data | Board minute or office holder's note, legitimate interests assessment |
| Consent records | Check records of consent where consent is relied on | Consent logs with dates and wording |
| Privacy information | Be satisfied people were told who receives their data and why | Notice text, Article 14 notices, delivery records |
| Accuracy and relevance | Check the data is accurate, up to date and not excessive | Field list with reasons, data quality report |
| Security of transfer | Take technical advice where systems differ and guard against loss or corruption | Transfer method, encryption, receipt confirmation |
| Objections | Consider people's right to object | Objection log and the records removed |
Questions
- Does the buyer need to send its own privacy notices?
- The code says the recipient must tell people who it is sharing their data with and for what purposes, and must be satisfied that the Article 14 information has been provided. Agreeing in the contract which party sends notices helps show it was done.
- Does the code cover sharing with a processor?
- No. The code notes that some transfers are between a controller and a processor and fall outside its scope. Those are governed by a contract meeting Article 28 of the UK GDPR.
- Can an administrator sell a customer database?
- The code recognises that data may be sold as an asset on insolvency, with the insolvency practitioner acting as controller for the time being. The buyer's due diligence duties are the same.
Want to know what your records could fetch?
Email Herman or book a 30-minute call. We tell you which buyers fit before anything else happens.
Sources
- ICO, Data sharing code of practice: about this code (statutory status and dates)
- ICO, Data sharing code: due diligence when sharing data following mergers and acquisitions
- ICO, Data sharing code: sharing personal data in databases and lists
- ICO, Data sharing code: data sharing agreements
- ICO, Data sharing code of practice (contents)
- UK GDPR, Article 28 (processor)
This page is general information, not legal advice. Take advice on your own company's records and contracts.