Data processing agreement template

A free GDPR Article 28 data processing agreement for SaaS and software vendors, with sub-processor, transfer, breach, audit and deletion terms plus annexes.

FreeNo sign-upUpdated

The template · free to copy and edit

Data Processing Agreement

Use this agreement when a supplier processes personal data on your behalf, or when you are the supplier and want your own agreement ready before customers send theirs. Fill in the square brackets, delete the options you don't need and complete the three annexes. This template is from indi.technology/tools/data-processing-agreement-template and is free to use and edit. It is not legal advice. Have it reviewed by a qualified lawyer before you sign it.

1. Parties and background

Field Detail
Controller [Customer legal name, registered address, company number]
Processor [Supplier legal name, registered address, company number]
Main agreement [Name and date of the master services agreement, subscription terms or statement of work]
Effective date [Date]
Privacy contacts [Controller: name, email] / [Processor: name, email]

1.1 The Processor provides [describe the service, for example "a hosted case management platform"] to the Controller under the Main Agreement and processes personal data on the Controller's behalf. This Data Processing Agreement (DPA) sets out the terms required by Article 28(3) of the EU General Data Protection Regulation (EU) 2016/679 (EU GDPR) and, where it applies, the UK GDPR.

1.2 If this DPA conflicts with the Main Agreement on the processing of personal data, this DPA prevails.

Tip: Where the supplier uses data for its own purposes, such as billing contacts, it is a controller for that data and this DPA doesn't cover it.

2. Definitions

2.1 Data Protection Law means the EU GDPR, the UK GDPR, the Data Protection Act 2018 and [other applicable laws, for example India's DPDP Act, 2023]. Personal Data means the personal data described in Annex 1. Sub-processor means any third party, including an affiliate, that the Processor engages to process Personal Data. Other terms have the meanings given in Data Protection Law.

3. Scope and details of processing

3.1 The subject matter, duration, nature and purpose of the processing, the types of Personal Data and the categories of Data Subjects are set out in Annex 1. The processing lasts for the term of the Main Agreement and any period needed to complete clause 12.

4. Processing on documented instructions

4.1 The Processor will process Personal Data only on the Controller's documented instructions, including on transfers to a third country or international organisation, unless the law of the EU, a Member State or [the UK] requires otherwise. In that case the Processor will tell the Controller about the legal requirement before processing, unless that law prohibits it on important grounds of public interest.

4.2 The Processor will tell the Controller promptly if, in its opinion, an instruction infringes Data Protection Law.

4.3 The Processor will not use Personal Data for its own purposes, including to train, fine-tune or improve machine learning models, [unless the Controller has given written permission in Annex 1].

Tip: Say plainly in clause 4.3 and Annex 1 whether personal data may be sent to an AI model provider and whether anyone may train on it.

5. Confidentiality

5.1 The Processor will make sure that everyone it authorises to process Personal Data, including employees, contractors and Sub-processor staff, has committed to confidentiality or is under an appropriate legal duty of confidentiality.

5.2 The Processor will limit access to people who need it and remove access within [24 hours] of a person leaving.

6. Security of processing

6.1 The Processor will put in place and maintain the technical and organisational measures described in Annex 2, which are designed to meet the requirements of Article 32 of the GDPR.

6.2 The Processor may update Annex 2 if the overall level of protection does not fall, and will tell the Controller about material changes.

7. Sub-processors

7.1 Authorisation. The Controller gives the Processor [general written authorisation / specific written authorisation] to engage Sub-processors. The Sub-processors approved at the effective date are listed in Annex 3.

7.2 Changes. Where general authorisation applies, the Processor will tell the Controller of any intended addition or replacement of a Sub-processor at least [30] days before the change, by [email to the Controller privacy contact / an update to a subscribed web page]. The notice will name the Sub-processor, the processing it will do and its location.

7.3 Objection. The Controller may object to a change on reasonable data protection grounds within [15] days of the notice. The parties will discuss the objection in good faith. If they cannot resolve it, the Controller may [end the affected part of the service without penalty / other remedy].

7.4 Flow-down. The Processor will engage each Sub-processor under a written contract that imposes data protection obligations no less protective than this DPA, in particular sufficient guarantees on technical and organisational measures.

7.5 Liability. The Processor remains fully liable to the Controller for the performance of each Sub-processor's obligations.

Tip: Specific authorisation means approving every new Sub-processor. General authorisation with notice and a right to object is the usual choice for SaaS.

8. International transfers

8.1 The Processor will not transfer Personal Data, or allow access to it, outside [the EEA / the UK / the countries listed in Annex 1] except in line with this clause.

8.2 Where a transfer of Personal Data from the EEA goes to a country that does not have an adequacy decision from the European Commission, the parties will rely on the Standard Contractual Clauses adopted by Commission Implementing Decision (EU) 2021/914 (the EU SCCs), using [Module Two (controller to processor) / Module Three (processor to processor)]. The EU SCCs are incorporated by reference. For that purpose:

EU SCC choice Selection
Clause 9 (sub-processors) [Option 2, general authorisation, with the notice period in clause 7.2]
Clause 17 (governing law) [Law of an EU Member State, for example Ireland]
Clause 18 (forum) [Courts of the same Member State]
Annexes I to III Annexes 1 to 3 of this DPA

8.3 Where a transfer of Personal Data from the UK goes to a country that UK regulations have not approved for transfers, the parties will rely on [the International Data Transfer Agreement (IDTA) / the International Data Transfer Addendum to the EU SCCs (UK Addendum)] issued under section 119A of the Data Protection Act 2018, completed with the details in this DPA.

8.4 The Processor will help the Controller assess whether the destination country's laws allow the transfer mechanism to work in practice. If a mechanism stops being valid, the parties will agree a replacement, and until then the Controller may suspend the transfer.

Tip: India has no EU or UK adequacy decision. Access by an Indian development or support team to EU or UK personal data is a transfer and needs one of these tools.

9. Personal data breaches

9.1 The Processor will notify the Controller without undue delay, and in any event within [24 / 36 / 48] hours, after becoming aware of a Personal Data Breach affecting Personal Data.

9.2 The notice will include, as far as is known at the time:

  • a description of the breach, including the categories and approximate number of Data Subjects and records affected
  • the likely consequences of the breach
  • the measures taken or proposed to deal with the breach and reduce its effects
  • for multi-tenant services, confirmation of which of the Controller's accounts or environments are affected

9.3 The Processor will provide missing information in stages, contain and investigate the breach, keep a record of it and cooperate with the Controller's notifications. It will not notify a supervisory authority or Data Subjects itself unless the Controller instructs it or the law requires it.

Tip: The Controller usually has 72 hours under Article 33 of the GDPR to notify the supervisory authority. Set the Processor's deadline well inside that.

10. Assistance to the Controller

10.1 Data Subject requests. Taking into account the nature of the processing, the Processor will help the Controller by appropriate technical and organisational measures to respond to requests from Data Subjects to exercise their rights. The Processor will forward any request it receives to the Controller within [2] business days without responding, and will provide [self-service tools / exports within 5 business days] to find, export, correct and delete one Data Subject's Personal Data.

10.2 Security, DPIAs and prior consultation. Taking into account the nature of the processing and the information available to it, the Processor will help the Controller meet its obligations under Articles 32 to 36 of the GDPR, including security of processing, breach notification, data protection impact assessments and prior consultation with a supervisory authority.

11. Audits and information

11.1 The Processor will make available to the Controller all information necessary to demonstrate compliance with Article 28 of the GDPR and this DPA.

11.2 The Processor will allow for and contribute to audits, including inspections, conducted by the Controller or an independent auditor appointed by the Controller.

11.3 To reduce disruption, the Controller will first review the Processor's most recent [ISO/IEC 27001:2022 certificate and Statement of Applicability / SOC 2 Type II report / completed security questionnaire]. If that does not answer the Controller's reasonable questions, the Controller may carry out an audit on these terms:

Term Detail
Notice and frequency At least [30] days' notice, no more than [once in 12 months], except after a Personal Data Breach or a supervisory authority request
Scope and confidentiality Agreed in advance; auditors bound by confidentiality
Cost [Controller pays, unless the audit finds a material breach by the Processor]

12. Deletion or return at the end of the service

12.1 At the end of the service, the Processor will, at the Controller's choice, [delete / return and then delete] all Personal Data and delete existing copies, unless the law of the EU, a Member State or [the UK] requires the Processor to keep it.

12.2 If the Controller does not choose within [30] days, the Processor will delete the Personal Data. Return will be in [a machine-readable format, for example CSV or JSON] within [30] days of the request.

12.3 Deletion from live systems will be completed within [30] days, and from backups within [90] days as backups expire. Until then, the Processor will keep backup data protected under this DPA and will not restore it except for disaster recovery.

12.4 On request, the Processor will confirm deletion in writing.

13. Liability, term and general

13.1 Each party's liability under this DPA is subject to [the limits in the Main Agreement / the following limits: ...].

13.2 This DPA lasts while the Processor processes Personal Data for the Controller, and is governed by [the law of the Main Agreement], except where the EU SCCs or UK transfer terms require otherwise.

13.3 If Data Protection Law changes, the parties will agree any amendments needed to keep this DPA compliant.

Tip: For processing under India's DPDP Act, replace "Controller" with "Data Fiduciary", "Processor" with "Data Processor" and "Data Subject" with "Data Principal". Keep clauses 4, 6, 7, 9, 10 and 12, align Annex 2 with the security safeguards in Rule 6 of the DPDP Rules, 2025, and make sure the breach deadline leaves the Data Fiduciary time to meet its own 72-hour report to the Data Protection Board.

14. Signatures

Controller Processor
Name [Name] [Name]
Role [Role] [Role]
Signature [Signature] [Signature]
Date [Date] [Date]

Annex 1: Details of processing

Item Detail
Subject matter [For example: hosting and support of the Controller's patient booking platform]
Duration [Term of the Main Agreement plus the deletion period in clause 12]
Nature of processing [Collection, storage, retrieval, analysis, transmission, deletion. Name automated processing or AI features]
Purpose [Why the Processor processes the data, for example "to provide, secure and support the service"]
Categories of Data Subjects [Customers, end users, employees, patients, students, prospects]
Types of Personal Data [Names, contact details, account identifiers, usage logs, payment references]
Special categories or criminal offence data [None / health data / biometric data, with any extra safeguards]
Children's data [Yes or no; age range if yes]
Locations of processing and access [Hosting region, support locations, development team locations]
Retention [How long the Processor keeps each category during the service]
AI and model use [Whether Personal Data is sent to model providers; no training without written permission]
Competent supervisory authority [For example: the Data Protection Commission (Ireland) / the Information Commission, known as the ICO (UK)]

Annex 2: Technical and organisational measures

Area Measures
Governance [Named security owner; information security policy reviewed yearly; ISO/IEC 27001:2022 or SOC 2 status]
Access control [SSO and MFA for all staff; role-based access; least privilege; quarterly access reviews; access removed within 24 hours of leaving]
Encryption [TLS 1.2 or higher in transit; AES-256 at rest; keys in a managed key service with rotation]
Separation [Tenant data separated; no production Personal Data in development or test without written approval]
Logging and monitoring [Access to Personal Data logged; logs kept for at least one year; alerts on suspicious activity]
Secure development [Code review before merge; dependency and secret scanning; penetration test at least yearly]
Availability and backups [Encrypted backups; restores tested at least every six months; recovery time and point objectives]
Incident response [Documented incident plan; tested at least yearly; on-call contact]
People and devices [Confidentiality agreements; yearly training; managed, encrypted laptops]

Tip: Describe the measures you actually run, not the ones you plan to adopt.

Annex 3: Approved Sub-processors

Sub-processor Service provided Personal Data involved Location of processing Transfer mechanism
[Cloud provider name] [Hosting and storage] [All Personal Data in the service] [Region] [Adequacy / EU SCCs / IDTA / UK Addendum / N/A]
[Email provider name] [Transactional email] [Names, email addresses] [Country] [Mechanism]
[AI model provider name] [Model inference for (feature)] [Prompt content] [Region] [Mechanism; no training on data]
[Processor affiliate] [Development and support] [Access as needed for support] [Country] [Mechanism]

Edits are saved in this browser only, so you can come back and finish later. Nothing is sent to us. Download a copy to keep it.

This template explains the contract terms required by the GDPR for controller to processor relationships. It is not legal advice. Have the finished agreement reviewed by a qualified lawyer.

When you need a data processing agreement

Article 28 of the GDPR says a controller may only use a processor under a written contract that contains specific terms. The controller is the organisation that decides why and how personal data is used. The processor handles it on the controller's behalf. If you buy a SaaS product, hire a development agency with access to production, or outsource support, the supplier is probably your processor and you need a data processing agreement (DPA).

This template is written for both sides of that deal:

  • Customers who need a DPA to send to a supplier.
  • SaaS and software vendors who want their own DPA ready before enterprise customers ask. Sending your own reviewed version usually saves weeks of redlining.

It covers the EU GDPR and the UK GDPR, which use the same Article 28 wording. It can also be adapted for processor contracts under India's DPDP Act (see below).

How to fill it in

  1. Start with Annex 1. Write down what data the supplier touches, whose it is, why, where and for how long. Everything else in the agreement refers back to it. If you can't fill it in, you aren't ready to sign.
  2. Choose the sub-processor model in clause 7. General authorisation with notice and a right to object suits most SaaS. Specific authorisation gives the customer a veto over every new supplier.
  3. Set the breach deadline in clause 9. The placeholder offers 24, 36 or 48 hours. Pick one that leaves the controller time inside its own 72-hour window.
  4. Pick the transfer tools in clause 8 if data leaves the EEA or the UK.
  5. Write Annex 2 from what you actually run. Use your security questionnaire answers as the source.
  6. List every sub-processor in Annex 3, including your cloud provider, email and support tools, and any AI model provider.

The terms the GDPR requires

Article 28(3) lists eight things the contract must say. The template covers each one:

Article 28(3) What it means Clause
(a) Process only on documented instructions, including on transfers 4
(b) Staff are bound by confidentiality 5
(c) Security measures meet Article 32 6 and Annex 2
(d) Sub-processors only with authorisation and the same obligations 7 and Annex 3
(e) Help the controller answer data subject requests 10.1
(f) Help with security, breach notification, DPIAs and prior consultation (Articles 32 to 36) 9 and 10.2
(g) Delete or return data at the end of the service 12
(h) Provide information and allow audits 11

Article 28 also requires the processor to tell the controller if it thinks an instruction breaks the law (clause 4.3), and to stay liable for its sub-processors (clause 7.5). Article 33(2) requires the processor to report breaches to the controller without undue delay.

International transfers

Personal data leaving the EEA needs a transfer tool unless the destination has an adequacy decision. The template refers to the two standard options without copying them:

  • EU Standard Contractual Clauses adopted by Commission Implementing Decision (EU) 2021/914. Module Two covers controller to processor. Module Three covers processor to sub-processor.
  • The UK IDTA, or the UK Addendum to the EU SCCs, issued by the ICO for transfers from the UK.

India has no EU or UK adequacy decision. If an Indian development team, support desk or hosting region can access EU or UK personal data, you need one of these tools and a transfer risk assessment. Our guides to outsourcing to India from the EU and from the UK cover the practical setup.

Using it for India's DPDP Act

The DPDP Act, 2023 lets a Data Fiduciary engage a Data Processor only under a valid contract, and the fiduciary stays responsible for what the processor does. The Act doesn't list contract terms the way Article 28 does, but customers will ask for the same things: instructions, security safeguards, breach notice, help with rights requests, erasure and sub-processor controls. Most duties under the DPDP Rules, 2025 apply from 13 May 2027.

To adapt the template, swap the terms (Data Fiduciary, Data Processor, Data Principal), align Annex 2 with the safeguards in Rule 6, and set a breach deadline that leaves time for the fiduciary's 72-hour report to the Data Protection Board. Our guide to DPDP for SaaS companies lists what Indian customers ask processors for.

Common mistakes

  • Annex 1 left vague. "Personal data as needed for the services" doesn't meet Article 28(3). Name the data types and the data subjects.
  • A breach deadline that copies the regulator's. If the processor has 72 hours, the controller has none.
  • Missing sub-processors. Error tracking, email delivery, analytics and LLM APIs are often left off the list.
  • No position on AI. Say whether personal data can go to a model provider and whether anyone can train on it.
  • Backups forgotten at exit. State how long backup copies survive and how they are protected until then.
  • A DPA that doesn't match the contract. Put the commercial scope in the statement of work and keep the DPA consistent with it.

What to do next

Before you sign, check the supplier's answers with our vendor security questionnaire and use them to complete Annex 2. If the processing is high risk, run a DPIA first, and track the rest of your GDPR work with the GDPR compliance checklist. If you want INDI TECHNOLOGY to build or run software under a DPA like this, talk to us.

Questions and answers.

Yes, under the GDPR. Article 28(3) requires processing by a processor to be governed by a contract or other legal act that sets out specific terms. Both the controller and the processor can be at fault if the contract is missing or incomplete.

Either side can. Large customers often insist on their own. SaaS vendors with many customers usually offer a standard DPA, because they can't run different terms for every account.

No. The DPA sets out the Article 28 terms. The EU SCCs (Decision 2021/914) or the UK IDTA or Addendum are a separate transfer tool. The template incorporates them by reference when data leaves the EEA or the UK.

The GDPR says without undue delay. Contracts usually set a fixed number of hours, often 24 to 48, so the controller can still meet its 72-hour deadline to notify the supervisory authority.

Yes, with changes. Swap the GDPR terms for DPDP terms, align the security annex with Rule 6 of the DPDP Rules, 2025, and remove the EU transfer clauses if no EU or UK data is involved. Have a lawyer who knows Indian law review it.

Any idea in mind? Let's make it real.

Tell us what you're building. You'll hear back from an engineer, not a sales team, usually within one working day.

Book a 30-min call