Kenya · Data Protection Act, 2019 (No. 24 of 2019)

Kenya: cookie and consent rules under the Data Protection Act

Kenya's Data Protection Act 2019 has no cookie clause, but it names online identifiers in its definition of personal data and defines consent as an express, unequivocal, free, specific and informed indication given by a statement or a clear affirmative action. The Office of the Data Protection Commissioner's guidance asks for granular consent per type of processing, obtained before processing starts, and its 2026 guidance on policies says websites must tell visitors about cookies and, where required, obtain consent. Using personal data for commercial purposes needs express consent (section 37), and penalty notices reach KES 5 million or 1% of turnover, whichever is lower.
Published 21 October 2026 · By the Cookiequiet team · Markdown

Quick facts

Applies toControllers and processors established or ordinarily resident in Kenya, and those outside Kenya that process personal data of data subjects located in Kenya (section 4)
Consent modelConsent is one of the lawful bases in section 30; it must be express, unequivocal, free, specific and informed, by a statement or clear affirmative action (section 2); express consent for commercial use (section 37)
Cookie ruleNo cookie-specific provision; ODPC guidance (2026) requires a cookie policy and, where required, consent or user choice
AuthorityOffice of the Data Protection Commissioner (ODPC)
Maximum penaltyPenalty notice up to KES 5 million or 1% of the previous year's annual turnover, whichever is lower (section 63); criminal fine up to KES 3 million or 10 years' imprisonment (section 73)
In force since25 November 2019 (assented to on 8 November 2019)

What is Kenya's Data Protection Act?

The Data Protection Act, 2019 (No. 24 of 2019) gives effect to the right to privacy in Article 31 of Kenya's Constitution. It was assented to on 8 November 2019 and commenced on 25 November 2019. It created the Office of the Data Protection Commissioner (ODPC), which registers controllers and processors, handles complaints, issues enforcement and penalty notices, and publishes guidance notes. Regulations adopted in 2021 cover general obligations, registration, and complaints handling and enforcement.

Who does the Act apply to?

Section 4 applies the Act to processing by a controller or processor established or ordinarily resident in Kenya that processes personal data while in Kenya, and to one not established or resident in Kenya that processes personal data of data subjects located in Kenya. A foreign website that tracks visitors in Kenya falls within the second limb. An identifiable person is one who can be identified directly or indirectly by reference to an identifier, and the Act lists an online identifier among them (section 2), so cookie and advertising IDs are personal data.

The Act does not mention cookies, and Kenya has no ePrivacy-style rule. Whether a cookie needs consent depends on the lawful basis. Section 30 allows processing only on one of these grounds: consent for one or more specified purposes; necessity for a contract, a legal obligation, vital interests, a public interest or public authority task; legitimate interests, unless the processing is unwarranted given the harm to the person's rights; or historical, statistical, journalistic, artistic or scientific research. Strictly necessary cookies can rest on the service the visitor asked for. For analytics and advertising, three parts of the law point toward consent:

  • The definition of consent. Section 2 requires an express, unequivocal, free, specific and informed indication, by a statement or a clear affirmative action. Section 32 puts the burden of proof on the controller, gives a right to withdraw at any time, and treats consent as not freely given when a service is made conditional on processing it does not need.
  • Commercial use. Section 37 forbids using personal data for commercial purposes unless the person has given express consent or a written law authorizes it and the person was informed. Behavioral advertising is a commercial use of browsing data. The ODPC's first penalty notice, against Oppo Kenya in December 2022, cited the company's failure to show how it complied with section 37.
  • The ODPC's guidance. The Guidance Notes on Consent say consent is valid only if the person has a genuine choice to accept or decline without detriment, that the request must be prominent, concise, separate from other terms and in plain language, that it must name the controller and any third party relying on it, cover every purpose, offer granular options for each separate type of processing, explain how to withdraw, and be obtained before processing starts. Controllers should keep records showing when consent was given and what the person was told.

The ODPC's Guidance Notes for Data Protection Policies (2026) address cookies directly. Under section 29, people have the right to be informed before their data is collected, so websites must tell visitors about cookies and implement a mechanism to inform them and, "where required, to obtain consent or enable user choice". The cookie policy should state what is captured, how it is handled and protected, its purposes, the types of cookies (session, persistent, first-party, third-party), whether third parties are involved, and how visitors can manage their settings and opt out.

Put together, the safe Kenyan setup is a banner that blocks analytics and advertising cookies until the visitor accepts them by category, offers a Reject option, links to a cookie policy with the elements above, and records each choice.

Can personal data leave Kenya?

Section 48 allows a transfer when the controller has given the Data Commissioner proof of appropriate safeguards, including transfers to jurisdictions with commensurate data protection laws, or when the transfer is necessary, for example for a contract with the person. Sensitive personal data can be transferred only with the person's consent and confirmed safeguards (section 49), and the Commissioner can suspend or prohibit transfers. The ODPC published guidance notes on cross-border transfers in 2026.

What are the penalties?

Section 63 lets the Data Commissioner issue a penalty notice of up to KES 5 million or, for an undertaking, up to 1% of its annual turnover in the preceding financial year, whichever is lower. Offenses without a specific penalty carry, on conviction, a fine of up to KES 3 million, up to ten years' imprisonment, or both (section 73), and data subjects can claim compensation.

The ODPC publishes its penalty notices. After Oppo Kenya's KES 5 million penalty in December 2022 for ignoring an enforcement notice over a customer photo used without consent, it announced three penalty notices on 26 September 2023 totaling KES 9,375,000: KES 2,975,000 against Mulla Pride, a digital lender that used contacts obtained from third parties to send threatening messages; KES 1,850,000 against Casa Vera Lounge for posting a customer's image without consent; and KES 4,550,000 against Roma School for posting pictures of minors without parental consent. No cookie-specific penalty has been published, but each case turned on consent.

How Cookiequiet fits

Kenya is not in Cookiequiet's preset list of regulated countries, so add it to a custom country list or show the banner everywhere; geo-targeting is included on every plan. The banner holds analytics and marketing scripts until the visitor chooses, offers Accept all, Reject all and per-category toggles, and the consent log stores each choice with its date, categories and banner version, which is the record the ODPC's consent guidance expects. Swahili is not one of the 24 built-in languages; the English strings can be edited. The cookie scanner lists the cookies and providers your cookie policy should describe, and how long to keep consent records covers retention. Not legal advice.

Questions

The Data Protection Act has no cookie clause, but online identifiers are personal data, consent must be express and given by a clear affirmative action, and section 37 requires express consent for commercial use of personal data. The ODPC's 2026 guidance says websites must inform visitors about cookies and, where required, obtain consent or offer choice. Analytics and advertising cookies are safest behind an opt-in banner.
Its Guidance Notes for Data Protection Policies (2026) say the cookie policy should state what information is captured, how it is handled and protected, the purposes, the types of cookies (session, persistent, first-party or third-party), whether third parties are involved, and how visitors can manage their settings and opt out.
A penalty notice can reach KES 5 million or 1% of the previous year's annual turnover, whichever is lower (section 63). Criminal offenses without a specific penalty carry up to KES 3 million, up to ten years in prison, or both. The ODPC fined Oppo Kenya KES 5 million in 2022 and three controllers a total of KES 9,375,000 in September 2023.
Yes. Section 4 covers controllers and processors not established or ordinarily resident in Kenya when they process personal data of data subjects located in Kenya, which includes tracking visitors in Kenya with cookies.

Put a quiet banner on your website today

Free for one website with every core feature, no card and no trial clock. Upgrade a website to Starter for $3 a month to match your brand with AI and drop the branding, or to Pro for $9 to design it with the AI agent.