Does the DPDP Act require cookie consent?
Yes, for most cookies. The DPDP Act does not name cookies, but a cookie or tracker that can identify a visitor is digital personal data. Analytics, advertising and personalisation cookies need the visitor's free, specific, informed consent, given by a clear action, with a notice and an easy way to withdraw. Cookies that only keep the site working are a narrower case.
The Act applies to digital personal data processed in India, and to processing abroad connected with offering goods or services to people in India (Section 3). Personal data is any data about an individual who is identifiable by or in relation to it (Section 2(t)). That covers far more than names and emails: a cookie ID that recognises the same browser on every visit, an advertising ID, or an IP address tied to a profile can all make a person identifiable. If you are new to the consent rules, start with consent under Section 6.
Which cookies need consent, and which can run first?
The Act has no list of cookie categories, so the test is the purpose. Sort every cookie and script on your site into one of these groups:
| Cookie or tracker | Typical example | Consent first? | Why |
|---|---|---|---|
| Essential: keeps the site working | Login session, load balancing, fraud check, the cookie that stores the consent choice | Usually not | Arguably a legitimate use under Section 7(a): the visitor asked for the service and the data serves only that |
| Preferences | Language or dark mode, saved in the browser | Often not, if it identifies no one | A setting that never leaves the device and names no one may not be personal data at all |
| Analytics | Google Analytics, Microsoft Clarity, Hotjar, product analytics | Yes | Recognises the visitor across visits for your own purposes, not to deliver what they asked for |
| Advertising and retargeting | Meta Pixel, Google Ads tag, LinkedIn Insight Tag | Yes | Shares identifiers with ad platforms to target the person |
| Embedded content | YouTube, maps, chat widgets that set their own cookies | Yes, unless loaded in a privacy mode or only after a click | The third party can recognise the visitor |
A simple rule follows: nothing outside the first two rows should load before the visitor says yes. That means blocking the scripts themselves until consent, not only hiding the cookie notice. A banner that says "we use cookies" while the ad pixel has already fired does not help.
What does a valid DPDP cookie banner look like?
Section 6(1) says consent must be free, specific, informed, unconditional and unambiguous, with a clear affirmative action. For a banner, that means:
- Accept and Reject with equal weight. A large Accept button next to a hidden "manage settings" link makes saying no harder than saying yes.
- One choice per purpose. Analytics and advertising are different purposes, so the visitor should be able to allow one and refuse the other.
- Nothing pre-ticked. A box already ticked is not an action by the visitor.
- No consent by scrolling. "By continuing to browse you agree" is not a clear affirmative action.
- No cookie wall for non-essential cookies. Consent must be limited to what is necessary for the purpose; refusing analytics should not lock someone out of your site.
- A link to the notice. The visitor must know what they are agreeing to before they click.
What must the cookie notice say?
Every request for consent must come with a notice (Section 5). Rule 3 of the DPDP Rules 2025 says it must be understandable on its own, apart from any other information, and give an itemised description of the personal data and the specific purpose of processing. It must also explain how to withdraw consent, how to exercise the person's rights and how to complain to the Data Protection Board. For cookies, the practical version is a short cookie section or policy that lists:
- each cookie or tracker by group, with what it records;
- the purpose of each group, in plain words;
- which third parties receive the data, such as an analytics or ad platform;
- how long each cookie lasts;
- how to change the choice later, and who to contact.
The notice can sit behind a link on the banner, but the banner itself should name the purposes it asks about. For the full list of what a notice needs, see what a privacy notice must say.
How must visitors be able to withdraw cookie consent?
Withdrawing must be as easy as giving consent (Section 6(4)). If one click on the banner said yes, one or two clicks from any page should say no. A "Cookie settings" link in the footer that reopens the same choices is the common answer. Once someone withdraws, stop the processing within a reasonable time and have your vendors stop too (Section 6(6)). Withdrawing does not make what you did before it unlawful (Section 6(4)).
What about children and cookies?
Section 9(3) bans tracking, behavioural monitoring and targeted advertising directed at children (anyone under 18), and parental consent does not lift that ban. A site or app aimed at children, or one that knows a user is a child, should not run ad or behavioural tracking for them at all. Rule 12 and the Fourth Schedule lift this for listed classes and purposes only, such as schools and healthcare providers within set limits. Details are in children's data under the DPDP Act.
Do you need proof of cookie consent?
Yes. If anyone questions a consent, the Data Fiduciary must prove that the notice was given and consent was obtained (Section 6(10)). For cookies, keep a record of each choice: when it was made, which purposes were allowed or refused, and which version of the banner and notice the visitor saw. Rule 8(3) also expects logs of processing to be kept for at least one year.
DPDP vs GDPR and ePrivacy on cookies
Teams that built a banner for Europe are partly covered, with three differences worth checking:
- No "legitimate interests". The DPDP Act has only consent and the narrow legitimate uses in Section 7, so analytics "on legitimate interest" does not carry over.
- No separate cookie law. In the EU, the ePrivacy rules cover storing anything on a device. In India, the test is whether the data is personal data under the DPDP Act.
- Stricter on children. The DPDP Act treats everyone under 18 as a child and bans targeted ads to them outright.
More differences are in DPDP vs GDPR.
A 7-step cookie fix list for your website
- Scan your site and list every cookie, pixel, tag and embed, including those added by plug-ins and your tag manager.
- Put each one in a group from the table above, with its purpose and the vendor that receives the data.
- Block every non-essential script until the visitor allows its group.
- Show Accept and Reject with equal weight, plus a choice per purpose, and nothing pre-ticked.
- Link a cookie notice that lists the data, purposes, vendors, duration and how to withdraw.
- Add a "Cookie settings" link on every page that reopens the choices.
- Record each choice with the banner version, and keep the records for at least a year.
Then check your vendors: an analytics or ad platform that receives the data is either your Data Processor, which needs a contract (Section 8(2)), or a separate Data Fiduciary with its own duties. For the wider programme, see the DPDP compliance checklist.
GRC-Flow's Consent OS runs the banner, stores each choice with proof and keeps the consent register for you. To see what your own website loads before a visitor says yes, 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
Is a cookie banner mandatory in India?
The DPDP Act does not mention cookie banners. But if your website sets cookies or trackers that identify a visitor, for analytics, advertising or personalisation, you need that visitor's valid consent with a clear notice (Sections 5 and 6). A banner, or a similar prompt with Accept and Reject options, is the usual way to collect it.
Are cookies personal data under the DPDP Act?
Often, yes. Section 2(t) defines personal data as any data about an individual who is identifiable by or in relation to that data. A cookie ID, advertising ID or IP address that lets you or a vendor recognise the same person across visits is likely personal data. A purely technical cookie that identifies no one may not be.
Do strictly necessary cookies need consent under the DPDP Act?
The Act has no "strictly necessary" exemption by name. Cookies that only keep a site working, such as a login session, security check or the cookie that stores the consent choice itself, can arguably rely on Section 7(a), where a person has given data for a specific purpose and not objected. Analytics and advertising cookies need consent.
Is "by continuing to browse, you accept cookies" valid under DPDP?
It is unlikely to be valid. Section 6(1) requires consent signified by a clear affirmative action, and that it be free, specific, informed, unconditional and unambiguous. Silence or simply scrolling is not a clear affirmative action, and one blanket agreement for all purposes is not specific.
Do I need a registered Consent Manager for cookie consent?
No. Consent Managers under Section 6(7) to 6(9) are registered platforms that people can use to give and manage consent across many businesses. A business can collect consent itself, including through its own cookie banner, as long as the consent and notice meet Sections 5 and 6.
Sources
- The Digital Personal Data Protection Act, 2023 (India Code)
- Digital Personal Data Protection Rules, 2025 (G.S.R. 846(E), Gazette text)
- PIB: Digital Personal Data Protection Rules, 2025
This guide explains the law in general terms and is not legal advice. Check specific situations with a qualified lawyer.