Data Anonymisation for AI: Why the GDPR Standard Is Harder Than European Companies Think
- Last reviewed:
- 06 Mins read
Teams preparing data for an AI model often describe the preparation step as “anonymisation”: names are replaced, identifiers are masked, and the result is sent to a model. Whether that description is correct is a legal question with consequences. Anonymous data falls outside the GDPR. Pseudonymised data does not. Which one you hold determines whether you need a lawful basis, a processor contract and a transfer mechanism for what you send.
This article sets out the test as the EU institutions currently describe it, including two developments from the past year that change how it is applied. It is general information, not legal advice.
Two definitions that are often confused
The GDPR defines pseudonymisation as processing personal data so that it “can no longer be attributed to a specific data subject without the use of additional information”, provided that information is kept separately under technical and organisational safeguards (Art. 4(5)). The data is still about an identifiable person; the link is just held elsewhere.
Anonymous information is different. Recital 26 says that to decide whether a person is identifiable, account should be taken of “all the means reasonably likely to be used, such as singling out, either by the controller or by another person”, including the costs and time required and the technology available. The data protection principles do not apply to information that does not relate to an identifiable person, or to data rendered so that the subject “is not or no longer identifiable”.
The EDPB’s January 2025 pseudonymisation guidelines restate the consequence: pseudonymised data that remains information relating to an identifiable person is still personal data, including where the link could be made by someone other than the controller. Pseudonymisation is a security measure, listed as an example in Art. 32(1)(a). It reduces risk. It does not remove the data from scope.
What the Court of Justice decided in 2025
On 4 September 2025 the Court of Justice decided EDPS v SRB (C-413/23 P). The case concerned comments that the Single Resolution Board had pseudonymised before passing them to Deloitte, a third-party recipient. According to the Clifford Chance analysis, the Court held that pseudonymised data is not automatically personal data for every holder: it can be non-personal for a recipient who has no means reasonably likely to re-identify people, and personal for one who does. The same analysis reports that the duty to tell data subjects about recipients arises at collection and is assessed from the controller’s side, so downstream recipient analysis does not remove the controller’s own obligations.
Two readings of this are common, and only one is safe. The tempting reading is that data pseudonymised before sending to a vendor is no longer personal data. The more defensible reading is narrower. The judgment makes the test relative to the party holding the data, but the sending organisation still holds the key, still processes personal data, and remains the controller. Whether the vendor holds personal data depends on what the vendor can do with it, including by combining it with other information.
What the EDPB now says: draft Guidelines 02/2026
The EDPB adopted draft Guidelines 02/2026 on Anonymisation on 7 July 2026. The public consultation ran from 8 July to 30 October 2026, so the text is still a draft. I read the draft itself (PDF); the points below are from it.
- It offers two ways to assess anonymity: a contextual approach that considers the capabilities of each relevant entity, and a simplified approach that assumes broader capabilities and is more conservative.
- It proposes three criteria: no record isolation (no one can be singled out), no linkage (the data cannot be linked to other data about the same person), and no inference (no specific and meaningful inference about a person can be drawn). If all three pass under either approach, the data can be considered anonymous.
- The “means” an entity may use are read broadly. The draft’s own example: if a business partner could hire a third party to perform a re-identification technique, that technique counts as a means reasonably likely to be used.
- The assessment must account for available technology and reasonably foreseeable technological developments, which implies periodic re-testing.
- The inference criterion applies to aggregated outputs, AI models and synthetic datasets, not only to record-level data. Synthetic data is therefore not anonymous by default.
AI models raise the bar
Opinion 28/2024, adopted on 17 December 2024, says that models trained on personal data cannot in all cases be considered anonymous. For a model to qualify, both the likelihood of direct extraction of personal data about the people whose data was used, and the likelihood of obtaining such data through queries, must be insignificant. Researchers have shown extraction in practice: a team recovered hundreds of verbatim training sequences, including names, phone numbers and email addresses, from GPT-2 (Carlini et al.). That was a research model, so it shows the mechanism rather than the rate for any commercial product.
For an organisation sending data to a model, the relevant risk is different but related. Free text, such as support tickets or case notes, can identify people through context even after names are removed, and a model can be used to combine such text with other sources. The EDPB draft notes that AI can lower the time, cost and expertise needed to combine datasets.
Where the legislative position is moving
The Commission’s Digital Omnibus proposal of 19 November 2025 would have narrowed the definition of personal data. The EDPB and EDPS adopted a joint opinion on 11 February 2026 urging the co-legislators not to adopt those changes, saying they do not accurately reflect CJEU case law (EDPB). On 21 October 2026 the Council agreed a position that keeps the existing definition and adds a new Article 25a on when pseudonymised data counts as personal data; the Parliament had not yet agreed its position as of the latest summary I found (Lewis Silkin). None of this is law. Plan on the current GDPR text.
An anonymisation gate for AI projects
This is my own checklist, built on the EDPB’s three criteria. It is not an EDPB or legal test, and passing it does not establish legal anonymity. Its purpose is to stop the word “anonymised” being used in a project without evidence.
| Gate question | Evidence | Treat as anonymous? |
|---|---|---|
| Is a key, lookup table or token vault retained anywhere in the organisation? | Architecture review | If yes, the data is pseudonymised. Stop here. |
| Could a record be singled out by a rare combination of fields (role, site, date, amount)? | Uniqueness test on the actual dataset | If yes, fails isolation |
| Could the data be linked to another dataset the recipient holds or could obtain? | List of recipient data sources, including public ones | If yes, fails linkage |
| Can a specific inference about one person be drawn, including by prompting a model? | Red-team queries against the pipeline output | If yes, fails inference |
| Is free text included? | Field inventory | If yes, assume fail until a detection test shows otherwise |
| Was the test repeated after the last data or model change? | Dated test record | If no, the result is stale |
If any row fails, handle the data as personal data: lawful basis, a controller-processor contract (Art. 28), a transfer mechanism, and a DPIA where required. The anonymisation step itself is also processing and needs a legal basis, as the EDPB draft notes.
Actions
- Replace the word “anonymised” in project documents with “pseudonymised” unless the gate has been passed and recorded.
- Run the gate on each dataset that will reach an external model, including free text fields.
- Keep the key separate and document who can access it.
- Re-test when the data, the model or the recipient changes.
- Follow the final version of the EDPB guidelines and the Omnibus negotiations before changing the position.
Sources
- GDPR Art. 4, Art. 28, Art. 32, Recital 26 (reproductions of Regulation (EU) 2016/679; the EUR-Lex original could not be opened in this session)
- EDPB, pseudonymisation guidelines news release, 17 January 2025
- EDPB, draft Guidelines 02/2026 on Anonymisation: consultation page and draft text
- EDPB Opinion 28/2024 on AI models
- Clifford Chance, Pseudonymized data after EDPS v SRB (secondary source; I could not open the judgment itself)
- EDPB, Digital Omnibus joint opinion news
- Lewis Silkin, Digital Omnibus data protection update, 9 November 2026
- Carlini et al., Extracting Training Data from Large Language Models