What is the lawful basis for AI training?
The lawful basis for AI training is the legal ground a data controller relies on before developing or training a model on a dataset containing personal data; in the EU it must be one of the bases in GDPR Article 6, in Turkey explicit consent or another processing condition in Article 5 of Law No. 6698.
Unlike training data licensing, which concerns copyright and contract rights, the lawful basis concerns data protection law. Both must be secured separately.
- Topic
- Responsible AI and governance
- Also known as
- Legal basis for AI model training
How the lawful basis for AI training works
- Identify whether training data contains personal data and its source.
- Define the purpose and choose a basis such as consent, contract, legal obligation or legitimate interest.
- For legitimate interest, assess interest, necessity and balancing in writing.
- Apply safeguards such as data minimisation, notice and a right to object.
In more detail
Special category data (GDPR Article 9, KVKK Article 6 and the EU AI Act)
When training data includes health records, biometric templates, ethnic origin or similar sensitive attributes, GDPR Article 9 and Article 6 of Turkish Law No. 6698 prohibit processing unless a specific statutory exception (such as explicit consent) applies; legitimate interest alone cannot justify training on special category data. The EU AI Act allows a narrow exception under strict safeguards to detect and correct bias; first limited to high-risk systems under Article 10(5), it was extended by Regulation (EU) 2026/1744 to providers and deployers of all AI systems.
Model anonymity, memorisation and the taint of unlawful collection (EDPB 28/2024)
EDPB Opinion 28/2024 clarifies that an AI model trained on personal data is not automatically anonymous; it can only be treated as anonymous if both the likelihood of extracting personal data (e.g., via memorisation or inversion attacks) and the likelihood of obtaining it through queries are insignificant. Furthermore, if personal data was initially collected or scraped unlawfully without a valid legal basis, that taint can affect subsequent deployment unless the resulting model is genuinely anonymous.
Pre-training DPIA and the rights to erasure and objection
Because removing a single person's data from already-trained neural weights is technically difficult without costly retraining or fragile machine unlearning, organisations must design compliance upstream: run a Data Protection Impact Assessment (DPIA) before training, filter PII before ingestion and establish how data-subject objection or erasure requests (GDPR Art. 17 / 21, Law No. 6698 Art. 7 / 11) will be handled across training datasets and future model checkpoints.
Change of purpose and compatibility of secondary use
Where training relies on a separate purpose from the original collection (e.g., repurposing customer support logs to train an internal LLM), controllers must assess purpose compatibility (GDPR Art. 6(4)) or secure a fresh lawful basis and update privacy notices transparently before training begins.
Commonly confused terms
| Term | How it differs |
|---|---|
| Copyright and data licensing | Lawful basis concerns personal data protection (GDPR Art. 6/9, Law No. 6698 Art. 5/6) for processing identifiable information, whereas copyright/text-and-data-mining exceptions and licences govern intellectual property rights over training works; both must be satisfied independently. |
| Anonymisation versus pseudonymisation | True anonymisation irreversibly removes identifiability so data protection law no longer applies to the output, whereas pseudonymisation (such as masking names or IDs) still leaves personal data subject to GDPR and Law No. 6698. |
Why the lawful basis for AI training matters for on-premises AI
The European Data Protection Board's opinion on AI models recalls that GDPR legal bases have no hierarchy, choosing one is the controller's task and legitimate interest needs a three-step test; the interest must be lawful, clearly articulated, real and present. Law No. 6698 accepts processing necessary for the controller's legitimate interests, if it does not harm the data subject's fundamental rights, as a condition besides explicit consent. The EU Council's October 2026 Digital Omnibus mandate includes a provision allowing legitimate interest for developing and operating AI; it is not yet law.
This page gives general information and is not legal advice.
Before training a classifier on customer reviews, an online retailer strips personal data, documents a legitimate interest assessment and updates its privacy notice to cover training.
Common questions
Is consent required for AI training?
Not always. GDPR legal bases have no hierarchy and Law No. 6698 also has conditions other than explicit consent. The chosen basis must be documented.
Has a new EU legal basis for AI training taken effect?
Not as of November 2026. The Council's negotiating mandate includes such a provision but the text must still be negotiated with the European Parliament.
Related terms
- AI training data licensing
- AI training data provenance
- AI data governance
- Data minimisation in AI
- AI zero-training policy
- Data protection impact assessment for AI
Sources
- EU General Data Protection Regulation, Regulation (EU) 2016/679
- European Data Protection Board, Opinion 28/2024 on certain data protection aspects related to the processing of personal data in the context of AI models, 2024
- Turkish Personal Data Protection Law No. 6698
- Council of the European Union, Digital Omnibus: Mandate for negotiations with the European Parliament, 14756/26, 2026
In the glossary: Glossary, E to L