How Safe Is Synthetic Data for Privacy? GDPR, Re-identification and Privacy Risks Explained

Synthetic data is not automatically privacy safe. How safe a dataset is depends on who will receive it, and on tests that measure how much an attacker could learn about real people from it. The same dataset can be safe to share with a research partner and still fall short for open publication. This article is about synthetic microdata generated with machine learning: a model learns the patterns in real, record-level personal data and then produces new records from those patterns, which is how BlueGen works. That alone puts it well ahead of classic anonymisation techniques such as masking and generalisation. Those keep every original record with some details removed, so each row still belongs to one real person. Synthetic records are generated from scratch and do not correspond one-to-one with anyone, which already lowers the reasonable likelihood of re-identification considerably, and that likelihood is the test the GDPR applies. Many of the same risks still need watching, though: a model can memorise rare cases, and an attacker can sometimes infer details about the people it learned from.

A client recently asked us what they could safely do with their synthetic dataset. Could they share it with a third party? Could they even publish it? And how would they know it was safe enough? This article answers all three, using open publication, the hardest test a dataset can face, as the benchmark. The timing helps: on 7 July 2026 the European Data Protection Board (EDPB) adopted draft Guidelines 02/2026 on Anonymisation, the first EU-level update on the subject since the Article 29 Working Party’s 2014 opinion on anonymisation techniques.

In this article

    1. Do you need a legal basis to create synthetic data?
    2. When does synthetic data stop being personal data?
    3. How is re-identification risk measured in synthetic data?
    4. How much residual risk is acceptable in synthetic data?
    5. Can you publish synthetic data as open data?
    6. Who makes the final call?
    7. What could still change?
    8. Conclusion: five steps before you share or publish

Yes, for machine learning-based synthesis. Training a generator means reading and analysing the original personal records, and under the GDPR that is processing. So the generation step needs a legal basis, even if the synthetic dataset it produces later turns out to be anonymous. Generating from summary statistics alone, such as column means and standard deviations, is a different case: quality is usually lower, and while computing those statistics is itself processing, whether the generation step needs a legal basis depends on whether they still count as personal data. The EDPB’s draft points to Article 6 for that basis, plus an Article 9(2) exemption for special category data such as health records. It presumes that basis to be the one already used for the source data, provided the synthetic version serves the same purpose within the same processing activity.

A hospital that may analyse its registry for quality research can therefore usually create a synthetic registry for that research. Handing it to a vendor for product development is a new purpose and needs its own assessment. Either way, data subjects should be told that their data will be used to produce anonymous data.

When does synthetic data stop being personal data?

When no party that can reach it is reasonably likely to identify anyone in the source data. The risk does not have to be zero; in the EDPB’s words, it should be insignificant in reality.

The Court of Justice of the EU set the direction in EDPS v SRB (Case C-413/23 P) on 4 September 2025. The Single Resolution Board had shared pseudonymised comments with Deloitte, which had no key to re-identify their authors. The Court ruled that such data is not personal data in all cases and for every person: it depends on who holds it and what means they have. The SRB kept the key, so for the SRB itself the data stayed personal.

Who is the data anonymous for? Take a hospital that shares a synthetic registry with a university. For the university, which only ever sees the synthetic data, it may be anonymous. For the hospital, which can still compare it with the original records, the same dataset may count as personal data. Each audience gets its own assessment.

How do you judge what that audience could do? One route, the contextual approach, looks at the parties who actually get access: what other data, skills and tools they have. It is precise but can miss something, so the EDPB asks for a safety margin. The other, the simplified approach, skips that analysis and assumes anyone with access has every means available. It takes less work but sets a stricter bar.

On either route, a contract that forbids re-identification helps, but it cannot make data anonymous on its own. Contracts can be changed or broken, and the data has to hold up if that happens.

How is re-identification risk measured in synthetic data?

By attacking the data. The draft keeps the three tests from the 2014 opinion under new names: No Record Isolation (called singling out in 2014), No Linkage (linkability) and No Inference. BlueGen’s privacy evaluation was built on the 2014 versions, so the new criteria map directly onto what we already measure. Each one becomes a simulated attack with a measurable success rate.

Why inference is the test to watch

With the one-to-one link gone, isolation and linkage rarely fail. Inference is different, and the EDPB names synthetic data and AI models specifically: querying them with extra information may reveal something new about one person. Learning that a particular person was in the source data counts as well.

The draft also draws the line that makes synthetic data useful. An inference only counts against anonymity if it relies on that person’s data and could not have come from general knowledge or from the population at large. A bank that learns which profiles tend to default and applies that to a new applicant is using population patterns, not leaking anyone.

To separate the two, the EDPB suggests comparing outputs produced with and without a person’s records. BlueGen’s control attacker, based on Giomi et al. (2023), follows the same logic. Each attack runs against people whose records trained the generator and against a control group of real people it never saw. Equal success means the attack found population patterns. Any extra success on the training group is leakage, and that gap is the residual risk.

How much residual risk is acceptable in synthetic data?

No single score makes a synthetic dataset safe. BlueGen accepts a dataset only when it passes five checks, and which checks are enough, and how strict they must be, depends on how the data will be used.

The three attacks from the previous section each have to stay below a residual risk of 0.09, or 9 in 100; in the example above, 6 successes against 1 leave a gap of 5. Zero is not a realistic target, because any release with useful statistical information carries some risk. The 0.09 value is the threshold the European Medicines Agency uses when clinical trial data is published. Singapore’s Personal Data Protection Commission adopts the same value in its guide on synthetic data generation, and ISO/IEC 27559:2022 advises a range that includes it.

The EDPB’s criteria do not cover copying, so BlueGen adds two checks of its own. The first looks for exact duplicates: real records that reappear in the synthetic data, including near-identical ones. The second, a nearest neighbour distance test, checks whether synthetic records sit closer to real people than real people sit to each other, a sign that the generator memorised rather than learned. Research at Statistics Netherlands (CBS) leans on this kind of check, with a useful argument: in the end every privacy risk is an inference risk, and duplicate detection is a proxy for it.

Privacy check What it detects Acceptance criterion Basis
Exact duplicates Real records copied into the synthetic data, including near-identical ones Zero in the released dataset BlueGen framework
Nearest neighbour distance (NNDR) Synthetic records that sit unusually close to real people No significant shift towards real records (α = 0.01) BlueGen framework
Singling out (No Record Isolation) One real person can be isolated Residual risk below 0.09 EDPB 2026, WP29 2014
Linkability (No Linkage) Two datasets about one person can be joined through the synthetic data Residual risk below 0.09 EDPB 2026, WP29 2014
Inference (No Inference) A sensitive attribute of one person can be deduced Residual risk below 0.09 EDPB 2026, WP29 2014
The five privacy checks in a BlueGen evaluation report and their acceptance criteria.

Can you publish synthetic data as open data?

Possibly, but it is the strictest case, because once data is public everyone counts as a recipient.

The EDPB’s draft says that data meant for independent use by anyone who receives it must be anonymous from the perspective of all of them. It cites a Court ruling on a European Commission press release: because the release was meant for journalists, the test had to consider investigative journalists with research skills well beyond those of an average reader.

Open data is that logic at its limit. Anyone can download it, from unethical companies to cybercriminals and foreign intelligence services. No contract binds them, and you cannot know what other data they hold, so a contextual assessment of open data ends up close to the simplified one. Outliers decide the outcome, since a dataset only counts as anonymous if the protection holds for every individual in it.

Dutch public bodies already work this way. Statistics Netherlands (CBS) prefers synthesising from properly protected aggregates whenever that serves the purpose, and asks for a separate assessment of whether a synthetic dataset built from personal data still contains any personal identifiers, based on the lawful means available to whoever gets access. It adds that limiting distribution widens the range of acceptable uses. DUO, the Dutch education executive agency, has offered synthetic datasets to researchers since 2022, because its student records cannot be shared directly.

Our answer to the client: sharing with a named partner is possible once the tests pass with that partner’s means in mind, and publication is legally possible too, but only when a release-specific assessment built on the worst-case attacker described above supports it. In both cases, the evidence decides, not the fact that the data is synthetic.

Who makes the final call?

The organisation that holds the original personal data, as data controller. A privacy evaluation supplies the evidence, but the decision to treat the synthetic data as anonymous is the controller’s, and so is the responsibility if that turns out to be wrong.

The GDPR requires controllers to be able to demonstrate that they comply, and the EDPB’s draft applies that duty to anonymisation. In practice, this means a written record of how you concluded that the synthetic data is anonymous, kept for as long as the data is in use. If a data protection authority asks, that record is your answer. The checklist below lists what goes in it.

What could still change?

The EDPB text is a draft and may change after the consultation. We will update this article once the final version is adopted.

The Digital Omnibus could change the GDPR itself. In November 2025 the European Commission proposed writing a relative definition of personal data into Article 4(1). The EDPB and EDPS opposed it in Joint Opinion 2/2026, and Council drafts have reportedly gone both ways. Until a final text is adopted, the law is unchanged, and the Court’s case law and the EDPB’s guidance decide.

Conclusion: five steps before you share or publish

How privacy safe a synthetic dataset is comes down to who will hold it and what the tests show.

    1. Write down who will receive the data: your own analysts, a named partner or the public.

    2. List what an attacker could already know: example columns such as age, postcode, gender or admission date, plus the sensitive columns to protect, such as diagnosis or income.

    3. Fix the maximum residual risk per attack: 0.09, meaning no more than 9 extra successful attacks in 100 compared with the control group. For open publication, set it lower and agree the value with your DPO before testing.

    4. Run all five checks from the table: duplicates and distance first, then the three attacks against the control group, with every attack score under the step 3 maximum.

    5. Record the decision: source data and legal basis, audience and attacker, the score per attack, who approved it, and a review date.


BlueGen evaluates every synthetic dataset it generates against these tests, and can be deployed on your infrastructure when data may not leave your organisation. To see what the evidence looks like on your own data, book a session at bluegen.ai/demo.

Share this article:

Get inspired by our cases.