Can you train AI on personal data under the DPDP Act?

DPDP Act AI training data needs a lawful ground: under Section 4, training a model on digital personal data requires consent that names training, or a legitimate use under Section 7. Data the person made public herself is excluded (Section 3(c)(ii)), and these duties apply from 13 May 2027.

The Digital Personal Data Protection Act, 2023 never uses the words "artificial intelligence" or "machine learning". It does not need to. Collecting, storing, labelling, using and erasing personal data are all "processing", and building a training set or fine-tuning a model does all of them. So the ordinary rules apply: a lawful ground, a notice, purpose limits, security, erasure and the children's rules. This guide walks through each one for AI teams, with a table of common data sources and a worked example.

Does the DPDP Act apply to AI training?

Yes, whenever the training data includes digital personal data. Section 2(t) defines personal data as "any data about an individual who is identifiable by or in relation to such data". Section 3 applies the Act to personal data collected in digital form, or collected on paper and digitised later, and to processing outside India connected with offering goods or services to people in India. A support transcript, a CV, a voice note or a chat log that can be tied to a person is personal data, whatever model it ends up in.

Under Section 4(1), a person may process personal data only for a lawful purpose, and only with the Data Principal's consent or for a "certain legitimate use" listed in Section 7. A lawful purpose is any purpose "not expressly forbidden by law" (Section 4(2)). The timing matters: the Act's commencement notification brings Sections 3 to 5, most of Section 6, and Sections 7 to 17 into force eighteen months from 13 November 2025, which is 13 May 2027. Rule 1(4) of the DPDP Rules 2025 does the same for Rules 3 and 5 to 16.

Does existing customer consent cover AI training?

Usually not on its own. Section 6(1) requires consent to be "free, specific, informed, unconditional and unambiguous", and limited to the personal data necessary for the specified purpose. Section 5(1)(i) requires the notice to state the personal data and the purpose for which it will be processed. If the notice said "to provide customer support", training a general model is a new purpose.

The Act's own Illustration to Section 6(1) shows the logic. A woman downloads a telemedicine app that asks for her phone contact list as well as data for the service; because the contact list is not necessary for telemedicine, her consent is limited to the data that is. Replace "contact list" with "use my chats to train your model" and the same test applies: training must be named as its own purpose in the notice and consented to separately.

The legitimate uses in Section 7 do not fill the gap for most businesses. Section 7(a) covers a "specified purpose" for which the person voluntarily gave data and did not object, such as a pharmacy using contact details to send a receipt. The other clauses cover the State, legal duties, court orders, medical emergencies, epidemics, disasters and employment. Unlike the GDPR, the DPDP Act has no general "legitimate interest" ground. See legitimate uses under Section 7 and what makes consent valid under the DPDP Act.

Is publicly available or scraped data exempt from the DPDP Act?

Only data made public by the right person. Section 3(c)(ii) takes out of the Act personal data that is made, or caused to be made, publicly available by (A) the Data Principal to whom it relates, or (B) any other person under a legal obligation in India to publish it. The Act's Illustration: an individual who blogs her views and makes her personal data public on social media is outside the Act for that data.

That leaves a large part of the open web inside the Act. A news site quoting someone, a forum post about a third person, a leaked database, a reposted photo or a people-search listing was not made public by the person it describes, so neither limb applies. A scraper usually cannot tell which limb, if any, applies to each record. In practice, a training set built from scraped pages should be treated as containing personal data unless you can show who published each item.

Public data sourceOutside the Act under Section 3(c)(ii)?Why
A person's own public blog or social postYes, for that dataMade public by the Data Principal herself, limb (A)
Company director details a law requires to be publishedYes, for that dataPublished by a person under a legal duty, limb (B)
News article naming a private personNoPublished by a third party, not under a legal duty to publish
A friend's post tagging someone elseNo, for the person taggedThe tagged person did not make it public
Leaked or breached databaseNoNot made public by the person or under law
Mixed web crawlNot as a wholeEach item depends on who published it

Does the research exemption in Section 17(2)(b) cover AI training?

Only in narrow cases, and it has not been tested. Section 17(2)(b) says the Act does not apply to processing "necessary for research, archiving or statistical purposes" if the personal data is not used to take any decision specific to a Data Principal and the processing follows prescribed standards. Rule 16 of the DPDP Rules 2025 sets those standards in the Second Schedule, and applies from 13 May 2027.

The Second Schedule has eight clauses, (a) to (h). For research processing, the ones that matter are:

  1. processing is carried out in a lawful manner (a);
  2. it is limited to the personal data necessary for the purpose (c);
  3. reasonable efforts are made to keep the data complete, accurate and consistent (d);
  4. data is kept only as long as the purpose needs, unless a law requires longer (e);
  5. reasonable security safeguards prevent a personal data breach (f);
  6. the person who decides the purpose and means of processing is accountable (h).

Three limits follow. First, the Act does not define "research", so a commercial product team cannot assume its model training qualifies. Second, a model that is then used to score, approve, reject or profile a specific person fails the "no decision specific to a Data Principal" condition for that use. Third, the standards are real duties: minimisation, accuracy, retention limits and security still apply. More on Section 17 in DPDP Act exemptions.

Is anonymised data outside the DPDP Act?

Yes, if no individual can be identified from it. The Act applies to "personal data", and Section 2(t) ties that to an individual who is identifiable by or in relation to the data. Truly anonymised data is therefore outside it. The Act and Rules set no anonymisation method or test, so the burden is practical: could someone, using the data together with other information, work out who a record is about?

Removing names is not enough. Phone numbers, email addresses, Aadhaar or PAN numbers inside free text, rare job titles with a city, voice recordings and photos can all identify a person. Pseudonymised data, where a key can link records back to people, should be treated as personal data. Scan training exports for identifiers before you rely on anonymisation, and keep a record of how you checked. See what counts as personal data under the DPDP Act.

What happens when a user withdraws consent or asks for erasure?

You must stop processing and erase their data from your systems, and plan for what that means for models. Section 6(4) gives the Data Principal the right to withdraw consent at any time, as easily as she gave it. Section 6(6) then requires the Data Fiduciary, within a reasonable time, to cease and cause its Data Processors to cease processing, unless the Act, the Rules or another law requires or authorises it. Section 8(7)(a) and Section 12(3) require erasure on withdrawal or on request, unless retention is needed for the specified purpose or for compliance with law.

The Act does not say whether a trained model "holds" the personal data it learned from, and no Board decision has answered it. What is clear is that the person's records must leave raw datasets, labelled sets, fine-tuning files and backups used for future training. Teams that keep a record of which data went into which training run can show what they removed and when; teams that cannot trace their data will struggle to answer a request at all.

What extra rules apply to children's data and AI decisions?

Three provisions bite hardest on AI products. Section 9(1) requires verifiable parental consent before processing a child's personal data, and a child is anyone under 18. Section 9(3) bars "tracking or behavioural monitoring of children or targeted advertising directed at children", which rules out many personalisation features for under-18 users, subject to the exemptions in Rule 12 and the Fourth Schedule (see DPDP Rule 12 exemptions).

Section 8(3) applies when personal data is used to make a decision that affects the Data Principal, or is disclosed to another Data Fiduciary: the Data Fiduciary must ensure its completeness, accuracy and consistency. An AI credit score, hiring shortlist or fraud flag is such a decision. For Significant Data Fiduciaries, Rule 13(3) adds due diligence to verify that technical measures, "including algorithmic software", are not likely to pose a risk to the rights of Data Principals. And under Section 8(1), you stay responsible for processing by an AI vendor you send data to; Section 8(2) requires a valid contract with any Data Processor.

Which lawful ground fits which AI training data? (decision table)

Training dataDPDP Act applies?Likely groundMain thing to check
Customer chats, tickets or uploadsYesConsent naming training (Section 6)Notice states training as a purpose (Section 5)
Employee emails or HR recordsYesConsent; Section 7(i) only if the use is for employment purposesTraining a product model is not an employment purpose
Scraped public web pagesPartlySection 3(c)(ii) only for self-published or legally published dataWho published each item
Anonymised datasetNo, if no one is identifiableNone neededRe-identification risk (Section 2(t))
Research or statistics, no individual decisionsExempt if standards metSection 17(2)(b), Rule 16Second Schedule standards; "research" untested
Data of users under 18YesVerifiable parental consent (Section 9(1), Rule 10)No tracking or behavioural monitoring (Section 9(3))
Data sent to a third-party AI APIYesYour own ground, as Data FiduciaryContract with the processor (Section 8(2))

What does this look like for a SaaS startup? (worked example)

This is a made-up example. "LekhaBooks" is a fictional Indian accounting SaaS company and is not a real business.

LekhaBooks has two years of support tickets and wants to fine-tune a model to draft replies. Its 2025 privacy notice says tickets are used "to resolve your query". Under Section 6(1) and Section 5(1)(i), that consent does not name training, so LekhaBooks cannot simply feed the archive into a fine-tuning job once the duties apply on 13 May 2027.

It takes four steps. It scans the ticket export and finds PAN numbers, phone numbers and bank details pasted into free text, and strips them. It updates the notice and adds a separate, unticked consent for "using your support conversations to improve our reply assistant", with withdrawal as easy as giving it (Section 6(4)). It trains only on tickets from users who agreed, and logs which tickets went into each run so it can remove a user who later withdraws (Sections 6(6) and 8(7)). It keeps the assistant away from decisions about customers, such as credit limits, so Section 8(3) does not come into play for that model. It also signs a processing contract with its model-hosting vendor (Section 8(2)).

How do you prepare AI training data for the DPDP Act? (step by step)

  1. List every dataset used for training, fine-tuning, evaluation or retrieval, and where each came from.
  2. Scan each one for personal data: names, contact details, Aadhaar, PAN, account numbers, voice, images and children's data.
  3. For each dataset, record the lawful ground: consent naming training, a Section 7 use, Section 3(c)(ii), anonymisation, or Section 17(2)(b).
  4. Where consent is the ground, update the notice (Section 5) and take a separate consent for training (Section 6).
  5. Remove or exclude data of users under 18 unless you hold verifiable parental consent (Section 9(1), Rule 10).
  6. Keep a log of which records went into which training run, so you can act on withdrawal and erasure (Sections 6(6), 8(7), 12(3)).
  7. Check whether any model makes decisions about individuals; if so, test completeness and accuracy (Section 8(3)).
  8. Sign processing contracts with AI and hosting vendors (Section 8(2)) and apply Rule 6 security safeguards to training stores.
  9. Record all of this in your record of processing and review it before 13 May 2027.

A record of processing makes steps 1, 3 and 9 easier; see RoPA under the DPDP Act, and the free notice and consent templates at DPDP templates.

What are common mistakes and myths about AI training under DPDP?

  • Myth: "Public data is free to train on." Section 3(c)(ii) excludes only data made public by the person herself or under a legal duty.
  • Myth: "Our terms of service already allow it." Consent must be specific to the purpose and backed by a notice that names it (Sections 5 and 6).
  • Myth: "India has a legitimate interest ground like the GDPR." Section 7 is a closed list of nine uses; there is no general legitimate interest.
  • Mistake: treating pseudonymised data as anonymous. If records can be linked back to a person, they are personal data (Section 2(t)).
  • Mistake: assuming research means any R&D. Section 17(2)(b) needs necessity, no decisions about specific people, and the Second Schedule standards.
  • Mistake: forgetting the vendor. Sending data to an AI API is processing you remain responsible for (Section 8(1)).
  • Mistake: waiting for May 2027. Data collected today under a narrow notice is the data you will want to train on later; fix the notice now.

Breaches carry real costs. The Schedule to the Act sets penalties of up to ₹250 crore for failing to take reasonable security safeguards and up to ₹200 crore for breaching the additional obligations for children under Section 9. See DPDP Act penalties.

GRC-Flow helps teams run this DPDP work: personal data discovery scans an export for Aadhaar, PAN, phone numbers and children's data before it goes into a training set, and the consent manager records each consent and withdrawal by purpose. To see where your website stands, run the free DPDP website check. No tool can guarantee compliance.

This guide is general information about the DPDP Act and Rules, not legal advice.

Frequently asked questions

Can companies use personal data to train AI in India?

Yes, but only on a lawful ground under Section 4 of the DPDP Act: the person's consent for that purpose, or one of the legitimate uses listed in Section 7. The Act has no general 'legitimate interest' ground, so a company that wants to train on customer data usually needs consent that names training as a purpose. These duties apply from 13 May 2027.

Is publicly available personal data exempt from the DPDP Act?

Only some of it. Section 3(c)(ii) excludes personal data made publicly available by the Data Principal herself, or by a person under a legal duty to publish it. Data that someone else posted, reposted or leaked is still personal data under the Act, so scraping the open web does not by itself take a training set outside the law.

Does the DPDP Act research exemption cover AI model training?

It might, in narrow cases. Section 17(2)(b) exempts processing necessary for research, archiving or statistical purposes if the data is not used to take any decision specific to a Data Principal and the processing meets the standards in Rule 16 and the Second Schedule. The Act does not define research, and no Board decision has yet applied the exemption to commercial model training.

Do I have to retrain my AI model if a user withdraws consent under the DPDP Act?

The Act does not mention trained models. It requires the Data Fiduciary to stop processing within a reasonable time after withdrawal (Section 6(6)) and to erase the personal data unless the law requires it to be kept (Section 8(7)(a)). At minimum, remove the person's data from training sets and future runs; whether model weights themselves must change has not been decided.

Is anonymised data covered by the DPDP Act?

Not if no individual can be identified. Section 2(t) defines personal data as data about an individual who is identifiable by or in relation to that data. The Act sets no anonymisation standard, so pseudonymised data, or data that can be re-identified by combining it with other sources, should be treated as personal data.

Sources

  1. The Digital Personal Data Protection Act, 2023 (India Code)
  2. The Digital Personal Data Protection Act, 2023 (MeitY copy)
  3. Digital Personal Data Protection Rules, 2025 (G.S.R. 846(E), Gazette, MeitY copy)
  4. PIB: DPDP Rules, 2025 explainer

This guide explains the law in general terms and is not legal advice. Check specific situations with a qualified lawyer.

Add as a preferred sourceon GoogleSee our DPDP guides first in Google search.