Data protection laws and AI in Kenya, Uganda, Nigeria and beyond

Kenya, Uganda, Nigeria, Ghana, Tanzania, Rwanda and South Africa each have a data protection act and a regulator that enforces it. When you paste a customer's or a parent's details into an AI chatbot, you are processing that personal data and usually sending it abroad, which these laws govern. The safe habit is simple: remove names, numbers and anything that identifies a person before you ask an AI tool for help.

By the RootedPrompt editorial team. Published 9 October 2026.

Picture the bursar of a private school in Nakuru at the end of term. She has a list of forty parents who still owe fees, with their names, phone numbers and balances, and forty polite reminder messages to write. An AI assistant could draft them in a minute. She copies the list and pastes it into the chat.

It feels like using a calculator. In law, it is something else. She has just shared forty people's personal and financial details with a company, very likely on servers outside Kenya, for a purpose the parents never agreed to. Kenya's Data Protection Act governs every part of that, and schools are among the organisations Kenya's regulator requires to register whatever their size.

Most people who use AI at work have done something similar, and most have never heard that a law applies. This guide sets out the data protection act in each of the seven countries we cover, what they share, what they mean when you use AI tools, and the one habit that keeps you on the right side of all of them.

Seven countries, seven data protection acts

Every country we cover has a data protection law, and every one has a regulator. The details differ, especially on who must register, but the core ideas are close enough that one set of habits works across all seven.

A grid of seven countries and their data protection laws and regulators: Ghana, Act 843 of 2012, Data Protection Commission. Kenya, Data Protection Act 2019, ODPC. Uganda, Data Protection and Privacy Act 2019, PDPO. South Africa, POPIA, in force 2020, Information Regulator. Rwanda, Law No. 058/2021, NCSA. Tanzania, PDPA 2022, in force 2023, PDPC. Nigeria, Data Protection Act 2023, NDPC.
The law and the regulator in each country. Details for each follow below.

Kenya: the Data Protection Act, 2019

In force since 25 November 2019, enforced by the Office of the Data Protection Commissioner (ODPC). Under the registration regulations, data controllers and processors must register unless their annual revenue is under KES 5 million and they have fewer than ten staff, but some sectors must register whatever their size, including schools, health providers, restaurants and hotels (Kenya Law, Business Daily).

Uganda: the Data Protection and Privacy Act, 2019

In force since 3 May 2019, enforced by the Personal Data Protection Office (PDPO), part of NITA-U. Anyone who collects, processes, holds or uses personal data in Uganda must register, and registration is renewed every year (ULII).

Nigeria: the Nigeria Data Protection Act, 2023

In force since June 2023, enforced by the Nigeria Data Protection Commission (NDPC). Organisations the Commission classes as "of major importance" must register. A General Application and Implementation Directive, in force since 19 September 2025, sets out the registration duties and requires breaches to be reported to the Commission within 72 hours (Mondaq).

Ghana: the Data Protection Act, 2012 (Act 843)

The oldest law of the seven, enforced by the Data Protection Commission. Data controllers must register, and renew (Data Protection Commission). An early draft of a revised law went out for consultation in October 2025 (US International Trade Administration).

Tanzania: the Personal Data Protection Act, 2022

In force since 1 May 2023, enforced by the Personal Data Protection Commission (PDPC). Anyone who collects or processes personal data must register (Afriwise).

Rwanda: Law No. 058/2021

The law on the protection of personal data and privacy, in force since 15 October 2021, enforced by the National Cyber Security Authority (NCSA). Data controllers and processors must register (DLA Piper).

South Africa: POPIA

The Protection of Personal Information Act of 2013 came into force on 1 July 2020 and has been enforced since 1 July 2021 by the Information Regulator. Organisations appoint an Information Officer and register them with the Regulator (DLA Piper, July 2021).

This is a summary to help you ask the right questions, not legal advice. Each regulator publishes its own guidance, and a local lawyer can tell you exactly what applies to your organisation.

What these laws mean when you use AI tools

None of these laws was written with ChatGPT in mind, but they did not need to be. They govern what you do with information about people, whatever the tool. Follow the bursar's list and you can see each rule apply in turn.

Four steps. You paste a list of parents' names and phone numbers. It leaves your phone for the AI company's servers, usually outside your country. It may be kept, since chats can be stored and some are used to improve the tool. And the parents never agreed: they gave their numbers to the school, for school business.
Each step is something the data protection acts already govern.

Purpose. The parents gave their numbers so the school could reach them about their children. Using those details for something else, such as feeding them to an AI tool, is a different purpose, and the laws limit that.

Security. Pasting the list copies it to a company's servers. Once it is there, the school no longer controls who sees it or how long it is kept, which is hard to square with the duty to keep personal data secure.

Sending data abroad. Most popular AI tools run on servers outside Africa. Kenya's Act allows personal data to leave the country only with proof of safeguards or on set grounds, and Kenya's High Court found in November 2023 that collecting and sending data abroad without meeting section 48 of the Act was unlawful (Kenya Law). Uganda's Act asks that the other country protect the data at least as well, usually with the person's consent.

People's rights. Under every one of these laws, people can ask what you hold about them and ask you to correct or delete it. That is very hard to honour once their details sit in a chatbot's history.

Personal data. Any information about a person who can be identified: a name, a phone number, an ID number, an address, a location, a health detail, a balance owed. Replacing the name alone is not always enough if the rest still points to one person.

The regulators are enforcing them

It would be easy to assume these laws exist on paper only. The record says otherwise, and the largest companies have not been exempt.

A timeline of enforcement. November 2023, Kenya: the High Court rules that sending personal data abroad without meeting the Act is unlawful. March 2025, Nigeria: a new directive requires breaches to be reported within 72 hours. July 2025, Uganda: the regulator finds Google in breach and orders it to register within 30 days. December 2025, Ghana: the Commission launches a Privacy Seal.
Four countries, four kinds of action, in under three years.

The Ugandan case is the clearest. On 18 July 2025 the Personal Data Protection Office found that Google LLC had broken the Act by not registering with the Office and by not showing the legal basis and safeguards for moving Ugandans' data abroad. It gave Google 30 days to register, name a data protection officer and submit evidence of its safeguards, and noted that Google could appeal (Business Times Uganda, 25 July 2025).

In Kenya, the ODPC has named sectors, among them schools, bars, restaurants and dispensaries, that must register whatever their size (Business Daily). In Ghana, the Data Protection Commission launched a Privacy Seal in December 2025 that organisations can earn and display (US International Trade Administration).

If a regulator will act against one of the largest companies in the world, a school or a shop that leaks a list of customers should not assume it will be overlooked.

One habit that keeps you on the right side of all seven

You almost never need a person's details to get help from AI. The bursar does not need to paste the list. She needs one good reminder message, which she can then send to each parent herself.

Before you paste anything into an AI tool, take the person out.

  1. Replace names with roles: "a parent", "Customer A", "the patient".
  2. Remove phone numbers, ID numbers, addresses and account numbers.
  3. Leave out health or money details that point to one person. Describe the situation instead: "a parent who owes part of this term's fees".
  4. Ask the AI for a template or a draft, then fill in each person's details yourself, outside the tool.
  5. Check your AI tool's data settings, and switch off the use of your chats for training where you can.

Write this down as a one-page rule for everyone who works with you, and find your country above to check whether you must register. If your website or app collects people's details, read what an AI website builder leaves out before you launch. And for how to get good work out of AI without handing it personal data, see how to use ChatGPT for your small business.

Questions people ask

Using an AI tool is not illegal. Pasting identifiable customer data into it is processing and usually a transfer outside Kenya, which the Data Protection Act controls. Remove anything that identifies a person first, or get proper advice before you do more.

Not if annual revenue is below KES 5 million and there are fewer than ten employees, unless the business is in a listed sector such as education, health or hospitality. All businesses must still follow the Act.

Any person, institution or public body that collects, processes, holds or uses personal data in Uganda, and organisations abroad that handle Ugandans' data. Registration is renewed each year.

POPIA does not name AI, but it limits decisions about a person made only by automated means, and it governs the personal information any AI system processes. South Africa's draft AI policy was withdrawn in April 2026, so POPIA is the main law that applies.

Sources

  1. Kenya Law, Data Protection (Registration of Data Controllers and Data Processors) Regulations, 2021, in force 14 July 2022.
  2. Kenya Law, Federation of Kenya Employers v Cabinet Secretary and others (section 48 judgment), 30 November 2023.
  3. Business Daily, Schools, bars targeted in data privacy push, 2022.
  4. ULII, Data Protection and Privacy Act, 2019 (Uganda), 3 May 2019.
  5. Business Times Uganda, Uganda's Data Protection Office finds Google in breach of privacy law, 25 July 2025.
  6. Mondaq, Key regulatory updates under the 2025 General Application and Implementation Directive (Nigeria), 2025.
  7. Data Protection Commission, Ghana, Registration manuals, read 9 October 2026.
  8. US International Trade Administration, Ghana information technologies and data protection, read 9 October 2026.
  9. Afriwise, The Personal Data Protection Act No. 11 of 2022 is now operational (Tanzania), 2023.
  10. DLA Piper, Data protection laws of the world: Rwanda, read 9 October 2026.
  11. DLA Piper, POPIA: the long wait is over, July 2021.

Every figure above was checked against these sources on 9 October 2026. Found a mistake? Tell us through the Contact page, and we will correct it with the date.

Read next

Why AI struggles with African languages, and what data changes
Why AI is weaker in your language, and the people building the data to fix it.

How to use ChatGPT for your small business
Brief it like a new helper, check it like a manager, and never paste a customer into it.

Share this article