Comply · Intermediate

How to do a DPIA for AI

  • Time: Allow two to five working days for a first DPIA on a moderately complex system, spread over a few weeks for the consultations and sign-off.
  • Cost: No software needed. The cost is the time of the people involved and, for borderline cases, legal review.
  • Level: Intermediate
On this page
  1. Short answer
  2. Before you start
  3. What a DPIA does not do
  4. 1. Decide whether a DPIA is required
  5. 2. Describe the processing and the data flow
  6. 3. Test necessity and proportionality
  7. 4. Identify and rate the risks to individuals
  8. 5. Choose measures to reduce each risk
  9. 6. See the steps on a worked example
  10. 7. Record the advice, sign off and set a review date
  11. DPIA, FRIA and the AI Act
  12. Troubleshooting
  13. Verify it worked
  14. Next steps
  15. FAQ
  16. How Swfte can help
  17. Sources and last verified

Short answer

A DPIA is a written assessment, required under GDPR Article 35 before processing that is likely to result in a high risk to people. For AI, start by checking the criteria, then describe the processing, test necessity and proportionality, list the risks to individuals, choose measures, seek your data protection officer's advice, record the decision and review it when the system changes. It is not legal advice.

The steps at a glance

  1. Decide whether a DPIA is required
  2. Describe the processing and the data flow
  3. Test necessity and proportionality
  4. Identify and rate the risks to individuals
  5. Choose measures to reduce each risk
  6. See the steps on a worked example
  7. Record the advice, sign off and set a review date

Before you start

Who this is for

  • Data protection officers, privacy engineers and product owners who must decide whether an AI feature needs a DPIA and write one.
  • Teams adding an LLM, a scoring model or an agent that touches personal data.
  • Deployers of third-party AI tools who need to document their own part of the risk.

Probably not for you if

  • Anyone expecting a ready-made form that guarantees approval. A DPIA records your reasoning about your facts. A template helps, and the thinking is the work.
  • Teams whose AI system uses no personal data at all. Confirm that first, including data in prompts, logs and files.

Prerequisites

  • A clear description of the AI system, its purpose and its data flows, from the product owner or engineer.
  • Access to your data protection officer (if you have one) or a privacy contact.
  • The vendor documentation for any model or tool involved: data processing terms, sub-processor list, retention and training-use statements.
  • A place to keep the assessment and its version history.
Time
Allow two to five working days for a first DPIA on a moderately complex system, spread over a few weeks for the consultations and sign-off.
Cost
No software needed. The cost is the time of the people involved and, for borderline cases, legal review.
Skill
Privacy and data protection knowledge, plus enough technical help to describe the data flows accurately.

Estimates are ours, not measurements, and move with your hardware, data and network.

What a DPIA does not do

A DPIA does not make processing lawful, and a signed DPIA is not an approval by a regulator. It is your record that you thought carefully about the risks and acted. This guide is not legal advice, and your DPO or counsel decides how the rules apply to your facts.

  1. Step 1Decide whether a DPIA is required

    You end up with: A written yes or no, with the reasons, before the processing starts.

    GDPR Article 35(1) says that where a type of processing, in particular using new technologies, is likely to result in a high risk to the rights and freedoms of natural persons, the controller must carry out an assessment before the processing. Article 35(3) names three cases where one is always required: systematic and extensive evaluation of personal aspects based on automated processing, including profiling, on which decisions with legal or similar effects are based; large-scale processing of special categories of data or criminal-conviction data; and systematic monitoring of a publicly accessible area on a large scale.

    For everything else, use the criteria. The Article 29 Working Party guidelines (WP248) list nine: evaluation or scoring; automated decision-making with legal or similar significant effect; systematic monitoring; sensitive or highly personal data; large-scale processing; matching or combining datasets; vulnerable data subjects; innovative use of new technological or organisational solutions; and processing that prevents people exercising a right or using a service. The guidance says processing that meets at least two should be presumed to need a DPIA, although one can be enough.

    Many AI uses meet two. An LLM that summarises customer complaints can combine innovative technology with large-scale processing. A recruitment screening model combines scoring with an effect on access to opportunities. Check your national data protection authority's published list too, because lists differ by country. If you decide a DPIA is not needed, write down why. That decision is itself a record.

    Quick screen for AI systems (WP248 criteria)
    CriterionTypical AI trigger
    Evaluation or scoringScoring applicants, customers or employees; predicting behaviour
    Automated decisions with significant effectAn agent that approves, denies or prices without a person
    Systematic monitoringAnalysing employee messages, calls or screen activity
    Sensitive dataHealth, biometrics, beliefs, or data that reveals them
    Large scaleAll customer tickets, a whole HR system, a company-wide assistant
    Matching or combining datasetsRetrieval across several systems of record
    Vulnerable subjectsEmployees, children, patients
    Innovative technologyMost uses of generative AI, today
    Prevents exercising a right or using a serviceA model that decides access to credit, jobs or support

    Checked against: GDPR Article 35: data protection impact assessment, Article 29 Working Party WP248 rev.01: DPIA guidelines

  2. Step 2Describe the processing and the data flow

    You end up with: A systematic description of what the system does, with every data flow drawn out.

    Article 35(7)(a) calls for a systematic description of the envisaged processing operations and their purposes. The UK Information Commissioner's guidance, which follows the same structure, says the description should cover the nature, scope, context and purposes of the processing. Nature includes how data is collected, stored, used and shared, who has access, which processors are involved, retention periods, security measures and whether new technologies are used. Scope covers the type, volume, sensitivity and number of people. Purpose covers the intended outcome for individuals and the expected benefits.

    For an AI system, make the description concrete. What goes into the prompt, and where does it come from? What does the model return, and what happens to that output? Which model and which vendor? Is data sent to a third party, and does the vendor keep or train on it? What is logged and for how long? Where are embeddings and indexes stored? A diagram that shows these flows, with a column for the lawful basis, saves pages of prose.

    Include what the system must not do. If an agent has restricted actions, say what they are. That clarifies the risk and shows you have thought about the limits.

    Checked against: ICO: How do we do a DPIA?, GDPR Article 35: data protection impact assessment

  3. Step 3Test necessity and proportionality

    You end up with: A reasoned statement that the processing is justified, or a list of things to change.

    Article 35(7)(b) asks for an assessment of the necessity and proportionality of the processing in relation to its purposes. The ICO guidance puts it as questions: does the plan help to achieve the purpose, and is there another reasonable way to reach the same result? For AI, the second question is a useful one. Could a rules-based system, a smaller model or less data do the job?

    Work through the lawful basis, data minimisation, how you will prevent function creep, how you will keep data accurate, what you will tell people, how you will support their rights, how processors are held to account, and safeguards for international transfers. Record the answers in plain sentences.

    Pay attention to minimisation in prompts. Many assistants are given more personal data than the task needs, because it was easier. Strip, mask or avoid fields the model does not need, and say what you did.

    Checked against: ICO: How do we do a DPIA?, GDPR Article 35: data protection impact assessment

  4. Step 4Identify and rate the risks to individuals

    You end up with: A risk register of harms to people, each rated by likelihood and severity.

    The assessment is of risks to people, not risks to your company. The ICO guidance suggests considering physical, emotional or material harm, and lists examples such as inability to exercise rights, inability to access services or opportunities, loss of control over personal data, discrimination, financial loss, reputational damage, loss of confidentiality and re-identification of pseudonymised data. To decide whether a risk is high, look at likelihood and severity together.

    AI adds particular risks. A model can produce inaccurate statements about a real person. It can reflect bias in its training data and treat groups differently. It can reveal personal data from its training or from retrieved documents to someone who should not see it. A prompt can leak data to a vendor. An agent can take an action on the wrong account. A scoring system can be opaque, so people cannot understand or challenge a decision. Logs and evaluation sets can create new copies of sensitive data.

    Write each risk in a sentence a non-specialist could follow: who is harmed, how, and how likely it is. Rate it, and keep the unrated list short and honest.

    AI-specific risks to consider
    Risk to peopleWhere it comes from
    Wrong or invented statements about a personGenerated output used as fact
    Unfair treatment of groupsBias in training data, prompts or retrieval
    Exposure to someone without accessRetrieval that ignores source permissions, or shared prompts and logs
    Loss of control over personal dataSending data to a vendor that retains it or trains on it
    Decisions people cannot understand or contestOpaque scoring or an agent acting without explanation
    Wrong action on the wrong personAgent with write access to records
    Further copies of sensitive dataLogs, evaluation sets, embeddings, backups

    Checked against: ICO: How do we do a DPIA?

  5. Step 5Choose measures to reduce each risk

    You end up with: For every risk, a measure, an owner and the risk that remains afterwards.

    Article 35(7)(d) requires the measures envisaged to address the risks, including safeguards, security measures and mechanisms to demonstrate compliance. Pair each risk with a specific control. For AI these often look like: limit the data sent to the model; use an EU-scoped or self-hosted deployment where residency matters (see how to deploy an LLM in the EU); filter retrieval by the requesting person's permissions; require human approval for actions with significant effect (see how to set up human approval for AI agents); keep logs for a stated period; and test for accuracy and bias before launch (see how to validate your AI).

    Then rate the residual risk. If a high risk remains that you cannot reduce, GDPR Article 36 requires you to consult the supervisory authority before you start. That is not a failure. It is the route the law provides for hard cases.

    Where appropriate, seek the views of data subjects or their representatives. Article 35(9) provides for this, and for workplace systems that may mean employee representatives.

    Checked against: GDPR Article 35: data protection impact assessment, Swfte: DPIA for AI

  6. Step 6See the steps on a worked example

    You end up with: A mini DPIA for a customer service agent that you can adapt.

    This example uses Swfte's illustrative Trust Profile for "Customer Service Agent 017". It is not a real customer deployment. The profile reads: owner Customer Operations; risk level Medium; approved models Model A and Model B; data classification Confidential; data residency EU; permitted systems CRM, knowledge base and ticketing; allowed actions read, recommend and draft; restricted actions account modification and refund; human approval required for refunds above a threshold; retention defined by organisational policy; audit with a full action trace; policy set Corporate AI Policy and Customer Data Policy.

    Screen: the agent reads customer records at scale and uses a new technology, so two WP248 criteria (large scale, innovative technology) are met. A DPIA is presumed. Describe: it reads CRM and ticket data, drafts replies and recommendations, and does not change accounts or issue refunds. Necessity: drafting saves staff time, and reading only the fields needed for the ticket limits exposure. Risks: a draft could state something wrong about a customer, expose another customer's data through retrieval, or send personal data to a vendor.

    Measures: restricted actions mean it cannot change accounts or refund; approval is needed above a refund threshold; EU residency applies; the audit trail records every action; a person reviews drafts before they are sent; retrieval follows the ticket owner's permissions. Residual risk: low to medium, because a person reviews each draft. The assessment is then signed off, with a review date.

    Worked example summary
    ElementEntry
    TriggerLarge scale plus innovative technology (WP248), so a DPIA is presumed
    Allowed actionsRead, recommend, draft
    Restricted actionsAccount modification, refund
    Human oversightApproval required for refunds above a threshold; staff review drafts
    Residency and auditEU; full action trace
    Main risksWrong statements, cross-customer exposure, vendor data handling
    ReviewOn a change of model, permitted systems or allowed actions
  7. Step 7Record the advice, sign off and set a review date

    You end up with: A signed assessment with the DPO's advice, the decision and the next review date.

    Article 35(2) says the controller must seek the advice of the data protection officer, where one is designated, when carrying out a DPIA. Record that advice, and what you did with it. If you disagree with the DPO, record why.

    Have a named person with authority sign off the measures and accept the residual risk. Write the review trigger into the document. Article 35(11) says the controller should review at least when there is a change in the risk of the processing. For AI, treat any change of model, vendor, data source or allowed action as a trigger, and add a calendar review as well.

    Link the DPIA to your wider records. It can feed your register of AI systems under the EU AI Act (see how to prepare for the EU AI Act). Where the AI Act requires a fundamental rights impact assessment under Article 27, the two assessments can share material. Our DPIA for AI page summarises the link.

    Checked against: GDPR Article 35: data protection impact assessment, Swfte: DPIA for AI

DPIA, FRIA and the AI Act

A DPIA assesses risks to people's rights and freedoms from personal-data processing, under the GDPR. The AI Act's Article 27 fundamental rights impact assessment is a separate requirement that applies to certain deployers of high-risk AI systems, including public bodies and private entities providing public services. The Act also directs deployers of high-risk systems to use the provider's information for their DPIA. One well-structured assessment can serve both, with an AI-specific annex. The high-risk dates under the AI Act moved to 2 December 2027 for Annex III, but the GDPR duty to carry out a DPIA applies to AI use now.

Troubleshooting

What you seeLikely causeFix
Nobody can say what data the model actually receivesPrompts are assembled in code, and retrieval pulls in extra context nobody mapped.Capture a sample of real prompts in a test environment and read them. Update the data-flow description from what you see.
The vendor will not say whether it retains or trains on promptsTerms are in a data processing addendum or a settings page that nobody read.Ask in writing, read the data processing terms and sub-processor list, and choose a configuration or vendor that matches your assessment. Record what they said.
The team says a DPIA is not needed because the data is "just business email"Business email contains personal data about customers and staff, often at scale.Run the criteria screen. If you still conclude no DPIA is needed, write the reasoning down and have the DPO review it.
The DPIA was written once and the system has since changedNo review trigger was set.Add triggers for any change of model, vendor, data source or allowed action, and review the assessment now.
A high residual risk remains after all feasible measuresThe purpose needs the risky processing.Do not start. GDPR Article 36 requires prior consultation with the supervisory authority where a DPIA shows high residual risk you cannot mitigate. Involve your DPO.
It is unclear whether the AI Act FRIA also appliesArticle 27 applies only to certain deployers of certain high-risk systems.Check the deployer categories with counsel, and structure the DPIA so FRIA material can be added later.

Verify it worked

Next steps

Related guides

  • How to Prepare for the EU AI Act: 2026 Readiness Steps: A readiness workflow for the EU AI Act: inventory AI systems, rule out prohibited uses, set provider or deployer role, classify risk, plan obligations and evidence, and track the dates after the Digital Omnibus.
  • How to Deploy an LLM in the EU: Data Residency Steps: Choose between EU-region hosted APIs, a self-hosted open-weight model on EU infrastructure, or on-premises, then check storage, processing, logs, support access and sub-processors, and test where requests actually run.
  • How to Govern AI Agents: Identity, Policy, Approvals: Govern agents at runtime: list every agent, give each an identity and an owner, write down what it may and may not do in a Trust Profile, enforce allow, deny and approve rules, choose an autonomy level, record every action and review on a schedule.
  • How to Set Up Human Approval for AI Agents (With Code): Decide which agent actions need a person, set thresholds, pause the agent with LangGraph interrupts, route requests to a queue with a timeout that denies by default, show reviewers the evidence, and record every decision.
  • How to Audit AI Systems: Scope, Evidence, Findings: How to audit an AI system, internally or for a client: scope it, choose criteria, request and sample evidence, test logs, change control and human oversight, and write findings that can be fixed.

Frequently asked questions

When is a DPIA required for AI?

When the processing is likely to result in a high risk to people. GDPR Article 35(3) names automated profiling with significant effects, large-scale special-category data and large-scale public monitoring. Otherwise use the nine WP248 criteria: meeting two usually means a DPIA. Many AI uses meet two.

What must a DPIA contain?

Under Article 35(7): a systematic description of the processing and its purposes, an assessment of necessity and proportionality, an assessment of risks to the rights and freedoms of data subjects, and the measures to address those risks, including safeguards and security measures.

Do I need a DPIA to use ChatGPT or another LLM at work?

It depends on what personal data goes in, how much, and what is done with the output. A small, low-risk use may not need one, and you should record why. Large-scale use with customer or employee data, or any automated decision about people, usually does.

What is the difference between a DPIA and a FRIA?

A DPIA is a GDPR assessment of risks from personal-data processing. A FRIA, under AI Act Article 27, assesses fundamental rights impacts and applies to certain deployers of high-risk AI systems. One structured document can serve both, with the DPIA structure as the base.

Who is responsible for the DPIA, the vendor or the deployer?

The controller carries the duty, which is usually the organisation using the AI system on personal data. Providers and processors should supply facts such as data flows, security measures and sub-processors, and under the AI Act high-risk providers must give deployers information they can use.

How often should a DPIA be reviewed?

At least when the risk of the processing changes, as Article 35(11) says. For AI, treat a new model, vendor, data source or allowed action as a trigger, and set a calendar review too, so changes that nobody flagged are still caught.

How Swfte can help

You can complete a DPIA with a document and your DPO. Swfte provides a free checklist page and a Trust Profile format that records the facts a DPIA asks for, such as owner, data classification, residency, permitted systems and approvals.

A DPIA is your organisation's own assessment and Swfte cannot complete or approve it for you. The Customer Service Agent 017 profile is an illustration, not a customer deployment.

Missing a step or found a command that no longer works? Tell us, or request a how-to.

Sources and last verified

Commands, versions and facts in this guide were checked against the sources below on . Tools change quickly: if something differs from what you see, trust the official documentation and let us know.

  1. GDPR Article 35: data protection impact assessment: Article 35(1), (2), (3), (7), (9) and (11) wording (unofficial reproduction of the Regulation; the official text is Regulation (EU) 2016/679 on EUR-Lex)
  2. Article 29 Working Party WP248 rev.01: DPIA guidelines: the nine criteria and the two-criteria presumption (read through a search-result summary of the guidelines)
  3. ICO: How do we do a DPIA?: describing nature, scope, context and purposes; necessity and proportionality questions; examples of harms and likelihood plus severity (read through a search-result summary; a national authority page used as one worked method)
  4. Swfte: DPIA for AI: Article 36 prior consultation, AI Act Article 26(9) and Article 27 links, as summarised on the Swfte EU hub
  5. Swfte Sovereign Intelligence messaging brief: Customer Service Agent 017: the fields of the illustrative Trust Profile used in the worked example

Topics

  • DPIA
  • GDPR
  • Article 35
  • risk assessment
  • FRIA
  • personal data

Machine-readable copies: this guide as markdown, index of all guides (JSON). Canonical address: https://www.swfte.com/how-to-do-a-dpia-for-ai.

Ready to build with Swfte?

One platform for the agents, models and workflows your team ships. Free to start, no card required.