Guide · DPDP Act
DPDP Act consent implementation: a developer's checklist
What India's Digital Personal Data Protection Act asks of the software that collects consent, and how to build it: the notice, the consent screen, the record you'll need to produce later, withdrawal, children and breaches.
This is an engineering guide, not legal advice. Have your counsel confirm how the Act and the Rules apply to your product.
The timeline
- August 2023: the Digital Personal Data Protection Act is passed.
- November 2025: the DPDP Rules 2025 are notified. A few rules, including the Data Protection Board's, apply at once.
- November 2026: Consent Manager registration (Rule 4) applies.
- Around May 2027: the rest, eighteen months after notification: notices (Rule 3), security safeguards (Rule 6), breach reporting (Rule 7), children's data (Rule 10) and more.
If your product collects personal data from people in India, the consent flow is the piece that takes longest to get right, so it's the one to start now.
What the Act asks of consent, in plain words
- A real choice. Consent has to be free, specific, informed, unconditional and unambiguous, given by a clear action. No pre-ticked boxes, no “by using this site you agree”.
- Notice first. The notice comes before or with the request, and says what personal data you collect, for what purpose, how to withdraw consent and how to complain to the Data Protection Board.
- The person's language. People can read the notice and request in English or any of the 22 languages in the Eighth Schedule of the Constitution.
- Easy to undo. Withdrawing consent must be as easy as giving it. Processing already done stays lawful; future processing stops.
- You prove it. If it's ever questioned, the business has to show that notice was given and consent obtained. That makes the consent record a piece of evidence, not a log line.
- Children need a parent. For anyone under 18, consent comes from a parent or guardian, verified (Rule 10).
The checklist
1. Map the data before you design the screen
List every personal data field you collect and the purpose each one serves. Each purpose becomes its own toggle; data with no purpose is data you should stop collecting.
2. Write the notice as versioned content
Keep the notice in your repository or CMS with a version id, itemised by data and purpose. Store a hash of the exact text shown, per language, so you can later say which words a person agreed to.
3. Build the consent screen
- One toggle per purpose, all off by default except what is strictly needed to provide the service.
- “Reject” as easy to reach and as visible as “Accept”.
- A language picker with English and the Indian languages your users speak; the notice renders in the chosen language.
- Isolate the widget (for example in a Shadow DOM) so the host page's CSS and scripts can't break it or hide the reject button.
4. Block before consent, not after
Analytics and advertising tags must not fire until the person has chosen. With Google tags, set Consent Mode defaults to denied before any tag loads, then update only the purposes they granted:
// before any Google tag loads: everything off until the person decides
gtag("consent", "default", {
ad_storage: "denied",
ad_user_data: "denied",
ad_personalization: "denied",
analytics_storage: "denied",
});
// after they accept analytics, and only analytics
gtag("consent", "update", { analytics_storage: "granted" });Respecting the browser's Global Privacy Control signal isn't named in the Act, but it costs little and shows good faith.
5. Record every decision as an event
Write an append-only event for every consent given, changed or withdrawn. Never update a row in place: the history is the evidence.
type ConsentEvent = {
id: string; // uuid
principal: string; // pseudonymous id, never the raw email or phone
purposes: Record<string, "granted" | "denied">; // one entry per purpose
action: "given" | "withdrawn" | "updated";
noticeVersion: string; // which notice text the person saw
noticeHash: string; // sha-256 of that exact text, in that language
language: string; // "hi", "ta", "en", ...
source: "web" | "app" | "api";
at: string; // ISO 8601, server time
};6. Make the records tamper-evident
An append-only table still lives in a database you control, so an auditor has to trust you. Hash each event, fold each day's hashes into a Merkle root, sign the root and publish or anchor it. Anyone can then check a single record against the signed root without access to your database. I wrote up how we did this in PrivacySuraksha: Proving consent without asking anyone to trust our database.
7. Withdrawal in one step, everywhere
- A “privacy choices” link on every page and in account settings that reopens the same screen.
- Withdrawal writes an event, stops the processing and is passed on to every processor and vendor that received the data.
8. Handle people's requests
People can ask to access, correct or erase their data and can raise grievances. Give each request an id, an owner and a deadline, and track it to closure.
9. Children
If minors can use the product, add an age check and a verifiable parental consent flow before any processing, as Rule 10 requires.
10. Retention, security and breaches
- Delete personal data once its purpose is served, but keep the logs the Rules require: at least one year for security logs (Rule 6).
- Access control, encryption and monitoring are “reasonable security safeguards”; failing them can draw penalties of up to ₹250 crore.
- Write the breach runbook now: inform the Data Protection Board and affected people without delay, and send the Board a detailed report within 72 hours (Rule 7).
Questions
When do the DPDP consent rules apply?
The DPDP Rules 2025 were notified in November 2025 and apply in phases. Consent Manager registration applies after one year (November 2026); the notice, security, breach and children's rules apply after eighteen months, around May 2027. Check the official notification for any change to these dates.
Do I need to use a registered Consent Manager?
No. A Consent Manager under the Act is an entity registered with the Data Protection Board that people can use to manage their consents across companies. A consent management platform (CMP) is software a company runs for its own compliance and needs no registration.
Is a cookie banner enough for DPDP compliance?
No. A banner is one place consent is collected. You also need an itemised notice, consent records you can produce later, withdrawal that is as easy as giving consent, handling of people's requests, security safeguards and a breach process.
Which languages must the notice be available in?
The Act lets people read the notice and consent request in English or any of the 22 languages in the Eighth Schedule of the Constitution.
Sources
- DPDP Rules 2025 timeline, every deadline to May 2027 (Legismith)
- DPDP Act 2023, section 6: consent (text)
- Privacy notice under Rule 3 (Taxmann)
- Digital Personal Data Protection Rules 2025, client note (Khaitan & Co)
- Consent Manager vs consent management platform (TrustArc)
Need DPDP consent built into your product?
I build consent widgets, consent records you can prove, withdrawal flows and PII discovery, for teams in India and abroad.
Email meHow I work