GDPR and AI: training a model under EDPB and CNIL guidance
You can still train AI on personal data. Europe’s regulators have set out how: a sound legal basis, real safeguards, informed individuals and rights that reach into the model itself. Here is where GDPR and AI stand in 2026.
- Legitimate interest is the legal basis most often used to train a model. It holds only if it passes a three-step test and comes with safeguards.
- A model trained on personal data is not anonymous by default. Anonymity has to be shown, with tests.
- Web scraping is not banned. But sites that refuse it through robots.txt or a CAPTCHA must be left out.
1. Does the GDPR apply to AI training?
Yes, as soon as the training set holds personal data. The regulation covers collecting, cleaning, annotating and storing that data. It can also apply to the model itself.
That is the core of the EDPB’s Opinion 28/2024, adopted on 18 December 2024 at the request of the Irish supervisory authority. In the Board’s view, a model trained on personal data cannot always be treated as anonymous. It is anonymous only if two risks are insignificant: pulling personal data straight out of the model, and obtaining it through queries. Each case is assessed on its own facts.
France’s CNIL turned the opinion into a method on 22 July 2025. It starts from a set of warning signs: rare or identifying data, duplicates, parameter count, overfitting. Attack tests follow, such as regurgitation or membership inference, and are generally needed for a model. The outcome must be documented and kept up to date. Our guide to the EDPB’s anonymisation guidelines covers the criteria in detail.
2. What legal basis can you use to train an AI model?
In most projects, legitimate interest. The CNIL’s guidance of 19 June 2025 calls it the most common basis, but one that only works when three conditions are met.
- The interest is legitimate: lawful, specific and real.
- The processing is necessary. No less intrusive route reaches the same result.
- It does not weigh disproportionately on people’s rights, given what they can reasonably expect.
The EDPB applies the same three-step test. Its examples include a conversational agent that helps users and better threat detection in an information system. The CNIL adds scientific research, product improvement and fraud detection.
3. Which safeguards do regulators expect?
The balancing test is won with concrete measures. The CNIL’s list is not exhaustive, but it shows the bar.
For a company handing its archives to a third party, these safeguards are agreed upfront: what is removed, what is pseudonymised, what is documented.
4. Can you scrape the web to train an AI model?
Yes, with conditions. The CNIL does not ban it and asks for a case-by-case review. Some measures it treats as mandatory: collection criteria set in advance, unneeded categories of data left out, irrelevant data deleted, and sites that refuse collection through robots.txt or a CAPTCHA excluded.
The EDPB takes the same line in its Guidelines 03/2026 on web scraping, open for consultation from 8 July to 30 October 2026. Its October 2026 summary says to avoid sites that block scraping by technical means, such as a robots.txt or ai.txt file. Special category data needs both a legal basis under Article 6 and an exception under Article 9(2) GDPR.
Roles matter too. Whoever decides why and how data is collected is usually the controller. A provider scraping on your documented instructions may be a processor. We look at the limits of the web as a source in Will AI run out of data?
5. How do you inform people and handle their rights?
Individual notice is the rule. When data does not come from the people themselves, the CNIL expects them to be told within one month of obtaining it at the latest. Where that would take disproportionate effort, a public notice can be enough, backed by a documented assessment. When scraping many sites, you can list categories of sites rather than every address.
Rights apply to the training set, and to the model when it is not anonymous. The answer is due within one month, which can be extended by two months.
- Retraining the model is the most effective fix, if the data is still available.
- Where that is disproportionate, robust output filters can take over.
- The CNIL advises general rules over simple blocklists.
6. Can a model trained unlawfully still be used?
The EDPB sets out three scenarios. If the same controller develops and deploys the model, whether these are separate purposes is judged case by case. If another organisation deploys it, that organisation should check the model’s development was properly assessed. And if the model has truly been anonymised, the GDPR no longer applies to how it runs, so the original unlawfulness should not affect its later use.
The lesson is plain. The cleaner the data upstream, the less risk travels into the model. That holds for an AI lab and for the company that licenses its data to it.
ORPHÉE prepares company data before any licence: scope fixed by contract, personal data removed, choices documented for the GDPR and the AI Act.
Sources
- EDPB, Opinion 28/2024 on certain data protection aspects related to AI models, 18 December 2024
- EDPB, full text of Opinion 28/2024 (PDF)
- EDPB, consultation on Guidelines 03/2026 on web scraping
- EDPB, web scraping guidelines at a glance, October 2026 (PDF)
- CNIL, AI how-to sheets (in French)
- CNIL, legitimate interest as a legal basis, 19 June 2025 (in French)
- CNIL, focus on web scraping, 19 June 2025 (in French)
- CNIL, informing data subjects, 7 February 2025 (in French)
- CNIL, respecting data subject rights, 7 February 2025 (in French)
- CNIL, status of an AI model under the GDPR, 22 July 2025 (in French)
Sources checked on 16 November 2026. This article is for information only and is not legal advice.