Is doxxing illegal in Kenya? The short answer

Kenya has no offense called doxxing. Two laws come closest. The cyber harassment offense in section 27 of the Computer Misuse and Cybercrimes Act covers communicating with a person, directly or indirectly, in a way the sender knows or ought to know is likely to make them fear violence or damage to their property. Section 72 of the Data Protection Act, 2019 makes it an offense to obtain personal data without the authority of the organization that holds it, or to disclose personal data to a third party.

This page explains those laws, what they leave out and the practical steps open to victims. It is general information, not legal advice. For US federal and state law, see our main guide: is doxxing illegal?

Cyber harassment: section 27 of the Computer Misuse and Cybercrimes Act

Under section 27(1)(a), a person commits cyber harassment if they wilfully communicate, directly or indirectly, with another person or anyone known to that person, and know or ought to know that their conduct is likely to cause those persons to fear violence or damage to their property.

The maximum penalty is a fine of KSh 20 million, ten years in prison, or both. Posting someone’s address together with threats, or urging others to go to their home, is the kind of conduct the offense is aimed at. A single neutral post that shares contact details is harder to fit within it.

Court orders to stop the communications

A person who is the subject of cyber harassment, or an intermediary on their behalf, can apply to a court for an order requiring the accused to stop sending the communications. The court can make an interim order and must decide the application within 14 days (s. 27(3) to (5)).

Constitutional challenges

In March 2026 the Court of Appeal rejected a constitutional challenge to section 27, while declaring sections 22 and 23 of the Act unconstitutional (Bloggers Association of Kenya (BAKE) v Attorney General & 6 others [2026] KECA 430 (KLR)). This page describes section 27 as enacted in 2018. The Act was amended in 2025 and litigation over it has continued, so check the current wording and status of the section with an advocate before relying on it.

For how these rules compare with US law, see our guide to cyberstalking laws and our overview of online harassment laws.

Unlawful disclosure of personal data: section 72 of the Data Protection Act

Section 72(3) of the Data Protection Act, 2019 makes it an offense to obtain personal data without the prior authority of the data controller or data processor that keeps it, or to disclose personal data to a third party. Employees and agents acting within their mandate are excluded (s. 72(4)).

This offense is most relevant when doxxing relies on information taken from a company’s, an employer’s or an agency’s records, for example a leaked customer file or staff list. It is aimed at the misuse of data held by organizations rather than at every post that repeats information already in circulation.

Your rights under the Data Protection Act

  • Objection, correction and deletion. The Data Protection Act gives you the right to object to the processing of your personal data and to have false or misleading data about you corrected or deleted (s. 26).
  • Erasure. You can ask a data controller or processor to erase, without undue delay, personal data it is no longer authorized to keep or that is irrelevant, excessive or unlawfully obtained (s. 40).
  • Complaints. A person aggrieved by a decision made under the Act can complain to the Office of the Data Protection Commissioner (s. 56).

These rights work best against websites, directories and companies that publish or sell your details.

What to do if you are doxxed in Kenya

  1. Put safety first. If you are threatened or someone has come to your home, call 999 or 112.
  2. Preserve the evidence. Screenshot each post and message with the account name, URL and date before reporting it.
  3. Report the content. Use each platform’s privacy or harassment reporting form, and ask Google to remove results that show your contact details alongside threats or calls to harass (Google Search Help).
  4. Report it to the police if the posts threaten violence or damage to your property, and ask about a court order under section 27 to stop the communications.
  5. Use your data rights. Ask organizations that publish your details to erase them, and complain to the Office of the Data Protection Commissioner if they refuse.
  6. Talk to an advocate about criminal reporting and civil options.

Doxxing laws work differently elsewhere. Compare Nigeria, South Africa and the UK.

How Media Removal can help after doxxing in Kenya

Media Removal is not a law firm and does not give legal advice. Criminal charges, protective orders and lawsuits belong to the police, prosecutors, courts and your lawyer. We work alongside them on the practical side: finding where your information has spread and getting it taken down through the right channel for each site.

  • Mapping the exposure. We identify the posts, profiles, directory listings and search results that show your private information or that of your executives and staff.
  • Removal at the source. We use each platform’s own privacy and harassment rules and, where your lawyer pursues them, legal channels. Whether a page comes down is decided by the platform, the site owner or a court, so we do not promise any particular outcome.
  • Search results. We submit deindexing requests to Google where its policies allow and work to push down what cannot be removed.
  • Crisis support. When doxxing comes with a viral thread or false claims about a company or public figure, our reputation crisis management team responds the same day.

If the doxxing comes with false statements about you or your company, separate rules apply. See Kenya defamation and harassment laws and how to sue for defamation.

For content removal, you are billed only when the URL is verified offline. Every client signs an NDA, and so do we. We answer within one business day. To discuss your situation, request a quote or read more about our content removal services.

Frequently asked questions

Is doxxing a crime in Kenya?

Not under that name. Doxxing can be prosecuted as cyber harassment under section 27 of the Computer Misuse and Cybercrimes Act when the communication is likely to make the person fear violence or damage to their property, or under section 72 of the Data Protection Act, 2019 when personal data is obtained without authority or disclosed to a third party.

What is the penalty for cyber harassment in Kenya?

Section 27 of the Computer Misuse and Cybercrimes Act sets a maximum fine of KSh 20 million, a prison term of up to ten years, or both. The court can also order the accused to stop the communications and must decide that application within 14 days.

Has the Kenyan cyber harassment offense survived court challenges?

In March 2026 the Court of Appeal rejected a constitutional challenge to section 27 in Bloggers Association of Kenya (BAKE) v Attorney General & 6 others [2026] KECA 430 (KLR). The Act was amended in 2025 and litigation over it has continued, so it is worth checking the current position with an advocate.

Can I ask a Kenyan website to delete my personal data?

Yes. Under the Data Protection Act, 2019, you can ask a data controller or processor to erase personal data it is no longer authorized to keep or that is irrelevant, excessive or unlawfully obtained, and to correct or delete false or misleading data. You can complain to the Office of the Data Protection Commissioner if your request is refused.

How to cite this resource

Use this reference when citing this page.

Media Removal. (November 5, 2026). Is Doxxing Illegal in Kenya? Doxxing Laws in Kenya. https://mediaremoval.com/is-doxxing-illegal/kenya/