Guide
Deploying LLMs in line with the GDPR
No model is GDPR-compliant on its own: compliance depends on the purposes, data, contracts and controls around it. This guide walks through the decisions a controller makes when deploying an LLM and ends with a checklist.
In short
A GDPR-compliant LLM deployment gives each use a defined purpose and lawful basis, limits personal data in prompts, retrieval and logs to what that purpose needs, sets retention periods, runs a DPIA where risk is high, binds every processor under Article 28, controls transfers outside the EEA and can honour data subject rights. The model alone does not decide compliance.
Key takeaways
- The GDPR applies to processing, not to models: define each use case's purpose, lawful basis and data before choosing where the model runs.
- Prompts, uploaded files, retrieved passages, outputs, conversation history and logs can all hold personal data; minimise each one and give each a retention period.
- A DPIA is required before processing that is likely to result in a high risk; screen every LLM use case that involves employees, customers or special category data.
- Every provider that processes personal data for you needs an Article 28 contract, and any processing or access outside the EEA needs a basis under Chapter V.
- EDPB Opinion 28/2024 says a model trained on personal data is not anonymous by default, and that deployers should check, in proportion to the risk, that the model was developed lawfully.
Can an LLM deployment comply with the GDPR?
Yes, but compliance attaches to the processing, not to the model. The GDPR regulates what an organisation does with personal data, so the same model can be used lawfully in one deployment and unlawfully in another.
When your organisation deploys a large language model (LLM) for its own purposes, it is normally the controller, and a provider that hosts or serves the model on your behalf is a processor bound by contract. The controller must be able to demonstrate compliance (Article 5(2)): a record of each use case’s purpose, lawful basis, data, retention, processors and transfers, and a system configured to match it.
Where the model runs changes some obligations and not others. A private LLM on your own infrastructure, or in a dedicated EU environment, keeps third-country transfers out of the inference step and puts logs and retention under your control. Lawful basis, purpose limitation, minimisation, impact assessment and data subject rights apply wherever the model runs.
Where does personal data sit in an LLM deployment?
In more places than the model. Decide what each store may hold, for how long and who may read it.
| Data store | Personal data it can hold | Decision to make | Controls |
|---|---|---|---|
| Prompts and uploaded files | Names, case details and special category data pasted by users | Which data classes each use case may receive | Usage policy, input filtering or masking where the purpose allows, user training |
| Retrieval index | Content of source documents about customers, staff and third parties | Which repositories to connect and who may retrieve from them | Permission-aware retrieval; deletion and re-indexing when sources change |
| Outputs | Statements about identifiable people, which may be wrong | Whether outputs feed decisions about people | Human review, accuracy notices, no solely automated decisions with legal or similar effects |
| Conversation history | Everything above, linked to a user account | Whether history is kept, and for how long | Retention period, user deletion, access limited to the user and named administrators |
| Audit and security logs | Identity, timestamps and, if configured, full prompt text | Whether logs need content or metadata only | Metadata by default, separate access control, fixed retention, no reuse for unrelated purposes |
| Provider-side copies and telemetry | Prompts, outputs or usage data held by a vendor | Whether anything leaves your boundary | Contract terms on retention and training use, telemetry switched off, egress controls |
| Fine-tuning and evaluation sets | Tickets, emails, records and documents | Whether personal data is needed at all | Anonymise or pseudonymise where possible; a separate purpose and compatibility assessment |
Which lawful basis applies to an LLM use case?
The one that fits each specific purpose; the GDPR sets no hierarchy between the six bases in Article 6(1). Decide per use case, not once for “the AI”.
- Legitimate interests (Article 6(1)(f)) is a common candidate for internal productivity uses such as drafting, summarising or searching documents. In Opinion 28/2024 the European Data Protection Board (EDPB) recalls the three-step test: identify an interest that is lawful, clearly articulated and real rather than speculative; show that the processing is necessary for it and that no less intrusive way exists; and balance it against the interests and rights of the people concerned, including their reasonable expectations. Document the test.
- Contract (Article 6(1)(b)) can fit where the processing is necessary to deliver a service the person has asked for.
- Legal obligation or public task (Article 6(1)(c) and (e)) are the usual routes for public bodies, which cannot rely on legitimate interests for processing in the performance of their tasks.
- Consent (Article 6(1)(a)) must be freely given and should not be relied on where there is a clear imbalance between the person and the controller (recital 43), so assess it carefully for employees.
Two further layers apply. Special category data, such as health data or biometric data used to identify a person, also needs an Article 9(2) condition; users paste such data into prompts, so decide whether each use case may receive it. Employee data may be subject to more specific national laws or collective agreements (Article 88).
How does purpose limitation apply to prompts, outputs and logs?
Data collected for one purpose may not be further processed in a way that is incompatible with it (Article 5(1)(b)). For an LLM, the risk is quiet reuse: logs kept for security becoming a source for performance reviews, or prompts becoming training data.
Define the purpose of each data store at design time. Before any later use, run the compatibility assessment in Article 6(4), which considers the link between the purposes, the context of collection, the nature of the data, the possible consequences for the people concerned, and safeguards such as encryption or pseudonymisation.
The same applies to providers: a processor may act only on your documented instructions (Article 28(3)(a)). A provider whose terms let it train or improve its own models on your prompts decides the purpose of that processing and acts as a controller for it, so the disclosure needs its own lawful basis. Check these terms before personal data flows.
How do you minimise personal data in prompts, retrieval and logs?
Process only what each purpose needs (Article 5(1)(c)), keep it no longer than necessary (Article 5(1)(e)), and make that the system’s default rather than a choice left to users (Article 25(2)).
Measures for an LLM platform:
- A usage policy with data classes. State which kinds of data each use case may receive, and train users on it.
- Filtering and masking before the model. Where the purpose allows, detect and mask identifiers in prompts and documents. Pseudonymised data is still personal data if it can be attributed to a person using additional information (recital 26), so this reduces risk without taking the data out of scope.
- Permission-aware retrieval. Retrieval-augmented generation (RAG) should return only passages the user is already allowed to read, so the assistant never widens access to personal data.
- Minimal logging. Log metadata such as user, time, model and volume by default. Keep full prompt and output text only where a defined purpose, such as incident investigation, requires it, and restrict who can read it.
- A retention period for every store. Conversation history, logs, uploaded files and vector indexes each need a period and a working deletion mechanism.
- No unassessed telemetry. Switch off usage reporting in components that send data out, and block outbound traffic you have not approved.
When does an LLM deployment need a DPIA?
When the processing is likely to result in a high risk to people’s rights and freedoms. Article 35 requires a data protection impact assessment (DPIA) before the processing starts, and it requires one in particular for:
- systematic and extensive evaluation of personal aspects based on automated processing, including profiling, on which decisions with legal or similarly significant effects are based;
- large-scale processing of special category data or data on criminal convictions and offences;
- large-scale systematic monitoring of publicly accessible areas.
Also check your supervisory authority’s list of processing that requires a DPIA (Article 35(4)). The assessment must contain at least a description of the processing and its purposes, an assessment of necessity and proportionality, an assessment of the risks, and the measures to address them (Article 35(7)). For an LLM, cover the data stores in the table above, inaccurate outputs about people, leakage between users through retrieval or shared history, prompt injection, retention, processors and transfers. If the assessment shows a high risk that your measures do not mitigate, consult the supervisory authority before starting (Article 36(1)).
What must an Article 28 contract with an LLM provider cover?
Every provider that processes personal data on your behalf, from the hosting company to an API model provider, needs a contract or other legal act that meets Article 28(3). You may use only processors that provide sufficient guarantees (Article 28(1)).
Among other terms, the processor must act only on your documented instructions, including on transfers outside the European Economic Area (EEA); ensure confidentiality and the security measures of Article 32; engage sub-processors only with your prior written authorisation and under the same obligations; assist you with data subject requests, security, breach notification and DPIAs; delete or return all personal data at the end of the service, at your choice; and make available the information needed to demonstrate compliance, including through audits.
For an LLM service, also settle in writing whether prompts, files and outputs are retained, for how long and where; whether the provider may use them to train or improve models; from where support staff access the systems; and how the provider handles requests from public authorities. In Opinion 22/2024 the EDPB said controllers should have the identity of all processors and sub-processors readily available at all times, and that processors should provide and update this information proactively.
How do transfer rules apply to LLM services?
Any processing outside the EEA, including remote access from outside it, needs a basis in Chapter V: an adequacy decision, such as the EU-US Data Privacy Framework for US organisations on its list, or a transfer tool such as standard contractual clauses with an assessment of the destination’s law.
LLM services make that assessment harder, because the provider must read prompts in the clear. The EDPB’s recommendations on supplementary measures found no effective technical measure where a provider needs unencrypted data and the destination’s authorities have access powers beyond what is necessary and proportionate. Our guides to the CLOUD Act and Schrems II and to data sovereignty versus data residency explain the current framework and why an EU region alone may not settle the question.
The most direct way to take transfers out of the inference path is to run the model where no party outside the EEA has access: on your own infrastructure (see what on-prem AI is), in a dedicated EU environment such as private AI hosting, or on an air-gapped network.
How do you handle data subject rights in an LLM system?
Design for them before go-live. You must act on a request without undue delay and in any event within one month, extendable by two further months where requests are complex or numerous (Article 12(3)).
- Access (Article 15). Be able to find a person’s data across prompts, conversation history, logs, uploaded files and stored outputs.
- Rectification (Article 16). Where a stored output contains inaccurate personal data, correct or annotate the record, and fix the source documents behind repeated errors.
- Erasure (Article 17). Delete from every store, including source documents and the vector index built from them, then re-index. Apply your retention schedule to backups.
- Objection (Article 21). Where you rely on legitimate interests, a person can object on grounds relating to their situation, and you must stop unless you demonstrate compelling legitimate grounds.
- Automated decisions (Article 22). People have the right not to be subject to a decision based solely on automated processing that produces legal or similarly significant effects, subject to exceptions. Keep a human decision-maker where LLM outputs feed such decisions.
What does EDPB Opinion 28/2024 mean for deployers?
It means you cannot assume a model is free of personal data, and you should check, in proportion to the risk, that the model you deploy was developed lawfully. The EDPB adopted the opinion on 17 December 2024.
Its main points for deployers:
- Anonymity is assessed case by case. A model trained on personal data is anonymous only if both the likelihood of extracting personal data about people in the training data, directly or probabilistically, and the likelihood of obtaining such data through queries are insignificant, taking into account all the means reasonably likely to be used.
- Unlawful development can matter at deployment. Where a model retains personal data and another controller deploys it, supervisory authorities should consider whether the deployer carried out an appropriate assessment that the model was not developed by unlawfully processing personal data. That assessment considers the source of the data and whether a supervisory authority or court has found an infringement, and is more or less detailed depending on the risks of the deployment.
- Anonymisation changes the picture. If it can be shown that the operation of a model does not involve processing personal data, the GDPR does not apply to that operation, although it applies to personal data you process during deployment.
Keep evidence of this assessment for each model: its documentation and licence, the publisher’s description of its training data, including the training-content summary that providers of general-purpose AI models must publish under the AI Act (Article 53(1)(d)), and any regulatory findings.
Does the EU AI Act change GDPR duties for LLMs?
No, it adds to them. The AI Act states that it does not affect the GDPR, without prejudice to two of its own provisions (Article 2(7)). One of them, Article 4a, allows providers and deployers to process special category data where strictly necessary to detect and correct bias, under strict conditions. Where an LLM is part of a high-risk AI system, deployers must use the information the provider supplies under Article 13 when carrying out their DPIA (Article 26(9)). Your other AI Act duties depend on your role and the system’s risk category; our EU AI Act overview sets them out.
What should an LLM deployment checklist include?
Use it before go-live and at each change of model, provider or purpose.
- Record each use case: purpose, data categories, people affected, lawful basis and any Article 9 condition.
- Document the legitimate interests assessment wherever you rely on it.
- Map every data store: prompts, files, retrieval index, outputs, history, logs, telemetry and fine-tuning sets.
- Set a retention period and a deletion mechanism for each store, including backups.
- Make minimisation the default: data classes per use case, masking where possible, metadata-only logging, permission-aware retrieval and role-based access to logs.
- Screen each use case for a DPIA, and complete it before processing where required.
- Sign Article 28 terms with every processor, keep the sub-processor list current, and settle training use, retention and support access.
- Identify a Chapter V basis for any processing or access outside the EEA, or remove it.
- Assess each model: licence, documentation, training-content summary and the lawfulness check from Opinion 28/2024.
- Test that you can answer access, erasure and objection requests across all stores.
- Keep human review wherever outputs feed decisions with legal or similarly significant effects.
- Update your records of processing activities (Article 30) and your AI inventory.
This guide explains the GDPR in general terms as it applied on 27 October 2026 and is not legal advice. The lawful basis, the need for a DPIA and the right controls depend on each use case, so involve your data protection officer and qualified counsel. SysArt designs these controls into private LLM platforms; the sovereign AI page describes the deployment options.
Frequently asked questions
Can an LLM be GDPR-compliant?
No model is compliant or non-compliant on its own, because the GDPR applies to processing. A deployment can be designed so that each use has a defined purpose and lawful basis, minimal personal data in prompts and logs, retention limits, contracts with every processor, a basis for any transfer and a way to honour data subject rights. The deploying organisation remains accountable.
Which lawful basis applies to an internal LLM assistant?
Often legitimate interests, which needs a documented three-step test: a legitimate interest, necessity, and a balancing test against the interests of employees and others affected. Public authorities cannot rely on legitimate interests for processing in the performance of their tasks. Special category data needs an additional Article 9 condition, and national rules on employee data may apply.
Do we need a DPIA for an LLM?
You need one before processing that is likely to result in a high risk to people's rights and freedoms, for example systematic evaluation of employees that leads to significant decisions, or large-scale processing of special category data. Check your supervisory authority's list as well. The assessment must describe the processing, assess necessity and proportionality, assess the risks and set out the measures.
Are prompts personal data?
Often. A prompt that names a customer, pastes an email or attaches a contract usually contains personal data, and so do outputs, logs and retrieved passages about identifiable people. Pseudonymised data remains personal data if it can be attributed to a person with additional information. Treat prompt and log stores as personal data stores, with access controls and retention periods.
Can an LLM provider use our prompts to train its models?
A processor may process personal data only on your documented instructions. If a provider's terms let it use prompts to train or improve its own models, it decides the purpose of that processing and acts as a controller for it, so the disclosure needs its own lawful basis. Check the terms on training, product improvement and retention, and switch off uses you cannot justify.
How do we handle erasure requests in an LLM system?
Find and delete the person's data in every store: prompts and conversation history, uploaded files, logs, source documents and the vector index built from them, then re-index. Apply your retention schedule to backups. Where a model itself may have memorised personal data, the EDPB does not treat it as anonymous by default, so assess that risk when you select or fine-tune models.
What did EDPB Opinion 28/2024 say about AI models?
Adopted on 17 December 2024, it says a model trained on personal data is anonymous only if the likelihood of extracting personal data from it, or obtaining it through queries, is insignificant. It explains how to assess legitimate interests for developing and deploying models, and says deployers should check whether a model was developed unlawfully, in proportion to the risk of their use.
Is the GDPR changing for AI?
Possibly. In November 2025 the European Commission proposed amendments to the GDPR, including on processing personal data for AI, as part of a Digital Omnibus package. On 27 October 2026 the proposal was still at committee stage in the European Parliament, so the GDPR in force applies. Check the legislative status before relying on any proposed change.
Sources
- EUR-Lex: Regulation (EU) 2016/679, General Data Protection Regulation (Articles 5, 6, 9, 12, 15 to 17, 21, 22, 25, 28, 30, 35, 36 and 88; recitals 26 and 43) · checked 27 October 2026
- EDPB: Opinion 28/2024 on certain data protection aspects related to the processing of personal data in the context of AI models (17 December 2024) · checked 27 October 2026
- EDPB: Opinion 22/2024 on obligations following from the reliance on processors and sub-processors · checked 27 October 2026
- EDPB: Recommendations 01/2020 on measures that supplement transfer tools, version 2.0 (paragraphs 13 and 94 to 97) · checked 27 October 2026
- EUR-Lex: Commission Implementing Decision (EU) 2023/1795, EU-US Data Privacy Framework (Article 1) · checked 27 October 2026
- AI Act Service Desk: Article 2, scope, paragraph 7 (consolidated text as amended by Regulation (EU) 2026/1744) · checked 27 October 2026
- AI Act Service Desk: Article 4a, processing of special categories of personal data for bias detection and correction · checked 27 October 2026
- AI Act Service Desk: Article 26, obligations of deployers of high-risk AI systems (paragraph 9) · checked 27 October 2026
- AI Act Service Desk: Article 53, obligations of providers of general-purpose AI models (paragraph 1(d)) · checked 27 October 2026
- European Commission: Digital package and digital omnibus, questions and answers · checked 27 October 2026
- European Parliament Legislative Observatory: procedure 2025/0360(COD), Digital Omnibus · checked 27 October 2026