Kenya · East Africa · Worldwide Contact form
The AI Concierge Start a conversation
Home / Guides / AI and the Data Protection Act

Using AI under Kenya's Data Protection Act: a practical checklist.

What Kenya's Data Protection Act, 2019 means for chatbots, automations and AI tools, and a checklist to run through before any AI project that touches personal data.

In short: you can use AI with personal data in Kenya, but the Data Protection Act, 2019 applies to it like any other processing. Before you start, know what personal data the system touches and why, collect only what it needs, assess the risks of high-risk processing, keep a person involved in decisions that significantly affect people, protect data sent outside Kenya, and make sure staff know what they may paste into public AI tools.

Why it matters for AI projects

AI systems often process more personal data than people realise: chat conversations with names and phone numbers, scanned ID documents, customer records pulled from a CRM, or beneficiary lists used to draft reports. The Data Protection Act, 2019 applies to all of this. It is enforced by the Office of the Data Protection Commissioner (ODPC), which can investigate complaints, issue enforcement notices and impose penalties. Under section 63, an administrative fine can be up to five million shillings or, for an undertaking, up to one per cent of its annual turnover in the preceding financial year, whichever is lower. People who suffer damage because the Act was breached can also claim compensation (section 65).

Key ideas in plain language

  • Controller and processor. Your organisation is usually the data controller: you decide why and how data is processed. The AI vendor or consultant building your system is usually a data processor, acting on your instructions (section 2).
  • Registration. Data controllers and processors must register with the Data Commissioner, subject to thresholds set by the Commissioner based on factors such as industry, data volumes and whether sensitive data is processed (section 18, and the Registration of Data Controllers and Data Processors Regulations). Check whether your organisation, and your AI vendors, are covered.
  • Lawful basis. You may only process personal data with consent for a specified purpose, or where it is necessary for reasons the Act lists, such as performing a contract, a legal obligation, a public task or legitimate interests (section 30). Further processing must stay in line with the purpose of collection.
  • Telling people. Before collecting personal data you should, as far as practicable, tell people what is being collected, why, who it will be shared with and what their rights are (section 29).
  • Data minimisation. Personal data must be adequate, relevant and limited to what is necessary for the purpose (section 25). Mask or remove names, ID numbers and phone numbers wherever the job allows.
  • Impact assessments. Where processing is likely to result in high risk to people's rights and freedoms, a data protection impact assessment must be carried out before the processing starts. If it shows a high risk, you must consult the Data Commissioner, and assessment reports are to be submitted sixty days before the processing (section 31).
  • Rights. People have the right to be informed of how their data will be used, to access it, to object to its processing, and to have false or misleading data corrected or deleted (section 26). They can also ask for inaccurate data to be rectified and for data you are no longer authorised to keep to be erased (section 40), and to receive their data in a machine-readable format (section 38). Your AI system needs a way to honour these requests.
  • Retention. Keep personal data only as long as reasonably necessary for the purpose, then delete, erase, anonymise or pseudonymise it (section 39). This applies to chat logs and AI inputs and outputs too.
  • Breaches. Where personal data is accessed or acquired by an unauthorised person and there is a real risk of harm, the data controller must notify the Data Commissioner within seventy-two hours of becoming aware of it, and tell affected people in writing within a reasonably practical period. A data processor must tell the controller without delay, where reasonably practicable within forty-eight hours (section 43).

Automated decisions: keep a person involved

Section 35 gives people the right not to be subject to a decision based solely on automated processing, including profiling, that produces legal effects concerning them or significantly affects them. The exceptions are decisions necessary for a contract with the person, decisions authorised by a law that provides suitable safeguards, and decisions based on the person's consent. Even then, if such a decision is taken, the person must be told in writing as soon as reasonably practicable, and can ask for it to be reconsidered or for a new decision that is not based solely on automated processing.

For AI projects, the practical rule is simple: if a decision affects someone's access to a loan, a job, a service, a benefit or a payment, a named person should review it, and people should be able to ask for that review.

When data leaves Kenya

Most popular AI services process data on servers outside Kenya. Under section 48, personal data may only be transferred out of Kenya where you can give the Data Commissioner proof of appropriate safeguards for its security and protection, or where the transfer is necessary for reasons the Act lists, such as performing a contract with the person. Sensitive personal data, which includes health status, biometric data and family details, may only be processed outside Kenya with the person's consent and confirmation of appropriate safeguards (section 49). The Cabinet Secretary may also require certain kinds of processing to happen only on servers or data centres in Kenya (section 50).

Before using any AI service, find out where it processes and stores data, and on what contractual terms. Where data must stay in your control, open AI models can be run in your own cloud account or on your premises.

Staff pasting data into public AI tools

The most common risk is not a new system but staff copying customer, patient or beneficiary details into free AI chat tools. A short acceptable-use policy and a one-page guide on what is and is not safe to paste, backed by business accounts with appropriate data settings, removes most of this risk.

The checklist: before any AI project touches personal data

  • We have listed the personal data the system will process, and why.
  • We have identified our lawful basis under section 30, and the use matches what people were told.
  • We collect and send only the fields the task needs; other identifiers are masked or removed.
  • We have decided whether a data protection impact assessment is needed, and if so done it and allowed for submitting it sixty days before processing starts.
  • A named person reviews any decision that significantly affects someone.
  • We know which providers process the data, in which countries, and on what terms, and we have safeguards (and consent, for sensitive data) for any transfer out of Kenya.
  • Our providers' business terms exclude training on our data.
  • We have set how long inputs and outputs are kept, and how they are deleted.
  • We can find, correct, delete and export a person's data, and stop processing it if they object.
  • Inputs, outputs and approvals are logged, with access limited to the people who need it.
  • People are told when they are dealing with an AI system.
  • Staff have an acceptable-use policy for AI tools and know how to report a problem.
  • We know how we would detect a breach and report it to the Data Commissioner within 72 hours, and our vendors will tell us within 48 hours.

Questions to ask any AI vendor

  1. Where is our data processed and stored, and can we choose the region?
  2. Is our data used to train your models, or anyone else's?
  3. How long do you keep our inputs and outputs, and can we delete them?
  4. Are you registered with the ODPC where required, and will you sign a data processing agreement?
  5. How do you notify us of a security incident, and how quickly?
  6. Can we export everything and leave, and in what format?

We review AI systems against the Data Protection Act, write AI policies and prepare the technical input for impact assessments, working alongside your counsel. See AI Governance, Risk & Data Protection and how we build responsibly.