Uganda Coat of ArmsUggov Agent

Study reports

Reforming the Penal Code

Who it helps: People accused of crimes, victims and their families, parents and carers, police, prosecutors, lawyers, and anyone following changes to criminal law.

201614 sections21 min read

This is a study. What it proposes is not law.

As written in 2016, this study reviewed the whole Penal Code Act, the law that sets out most crimes in Uganda and their punishments.

This page covers the areas it stressed most. Some proposals now match the current text, and the page says where.

The law described is the revised laws as at 31 December 2023, with the later changes our Acts data records. The Children Act was amended in 2024, but not in the sections this page cites.

1. What this study is about

The study traces the Penal Code Act to a 1911 colonial order. Work began in 2013.

The study used the old chapter number, Cap. 120, and old section numbers. This page uses the revised numbers, with the Act as Cap. 128.

2. What has changed since 2016

The revised Code at the end of 2023 no longer contains offences of sedition, publishing false news, terrorism or adultery, or the old chapter on corruption. Each of these was among the proposals.

Terrorism is an offence under another Act, which the study said had replaced the Code's section in 2002 (Anti-Terrorism Act, Cap. 120, section 6). In the revised laws, Cap. 120 is that Act's number.

In the Code, death is no longer an automatic sentence, and aggravated defilement now carries up to life imprisonment, not death.

Fines now appear in currency points, as was proposed. Under the Schedule to the Penal Code Act, Cap. 128, a currency point is 20,000 shillings.

3. The death penalty

Under the Penal Code Act, Cap. 128, death is the highest penalty for treason (section 23), rape (section 111) and murder (section 172). It is also the highest for robbery with a deadly weapon, or where death or grievous harm is caused (section 267). The same goes for smuggling where the offender causes death or grievous harm, or is armed with, uses or threatens to use a deadly weapon (section 299).

Under section 123 of that Act, it also applies to unlawful sex with a person held in custody. This covers a custodian, an inmate or anyone else who has, takes part in, forces or arranges it.

Each of these sections says the person is liable to suffer death. A penalty set in an Act is the most a court may give (Interpretation Act, Cap. 2, section 37).

The High Court may pass a death sentence only in exceptional cases, where life imprisonment or another prison term is clearly not enough (Judicature Act, Cap. 16, section 34).

A death sentence may be carried out only once the Supreme Court confirms it and the President orders it. The Supreme Court confirms it only where the circumstances of the case warrant death. If it is not carried out within 3 years of confirmation, the sentence counts as changed to life imprisonment. The person is then liable to imprisonment for 50 years (Judicature Act, Cap. 16, sections 35 and 36).

No court may sentence a person to death for an offence committed under the age of 18. The court orders detention in safe custody instead, pending the Minister's order (Children Act, Cap. 62, sections 150 and 151). The Minister must send the case record back to the court for sentence within 30 days of receiving it. If the Minister breaks these rules, the court must call on the Minister to show why the young person should not be released (Children Act, Cap. 62, section 151).

For an offence punishable by death, the family and children court may order a child detained for at most 3 years (Children Act, Cap. 62, section 139). A higher court that tries a child, alone or with an adult, and finds the offence proved, sends the child to that court for an order (Children Act, Cap. 62, section 146). Under another section, where the High Court tries a child jointly with an adult, it makes the order itself (Children Act, Cap. 62, section 150). The Act does not say how these rules and section 151 fit together.

In a 2009 decision, the Supreme Court held that a death sentence should not be automatic. The court must first be able to hear reasons for a lighter one.

The study notes that constitutional commissions in 1992 and 2003 found most Ugandans wanted to keep the death penalty.

It is proposed that the court be free to choose whether to pass death, in place of the mandatory sentence. The revised Code now gives the court that choice.

For unlawful sex with a person in custody, it is proposed that death not be automatic and that Parliament lower the penalty.

4. Insanity and the Minister's orders

Under section 11 of the Penal Code Act, Cap. 128, a person is not criminally responsible if a disease of the mind left them unable to understand what they were doing, or to know it was wrong.

If the court finds the accused did the act but was insane at the time, it makes a special finding of not guilty by reason of insanity. It reports the case to the Minister and keeps the person in custody meanwhile.

The Minister may order the person held in a mental hospital, a prison or another safe place. The person in charge reports to the Minister after 3 years, then every 2 years, and the Minister may order release (Trial on Indictments Act, Cap. 25, section 49).

Magistrates' courts follow the same rules (Magistrates Courts Act, Cap. 19, section 117).

These Acts still use the term criminal lunatic. A note in the revised Trial on Indictments Act records a Constitutional Court ruling on its section 46(5), the rule for an accused too ill to make a defence.

The court declared that subsection unconstitutional in so far as it labels a person not proved guilty a criminal lunatic. A note in the Magistrates Courts Act says its section 113(5) is similar. The same ruling, given in 2015, also read section 83(6) of the Trial on Indictments Act, which keeps a person acquitted by reason of insanity in custody. The trial court must order any such detention, for a set period and for care or treatment. It must review the detention from time to time on medical evidence, and may order release once the person is fit and no danger. The ruling does not say how this fits with the Minister's role in section 49.

The study reports people held for more than 16 years waiting for the Minister's orders.

In a 2015 High Court case, a man had been in custody for 14 years waiting for the Minister. The court ordered his release, saying a court that waits for the Minister gives up its independence.

It is proposed that the Minister's powers pass to the judge or magistrate handling the case. It is also proposed that the law set fixed times for these cases to come back to court.

It is further proposed that police, prisons, prosecutors and courts get clear guidelines for people with mental illness. The revised Acts have not made these changes.

5. Other defences and general rules

Under section 12 of the Penal Code Act, Cap. 128, intoxication is a defence only if the person did not know what they were doing, or that it was wrong. In addition, another person must have caused it maliciously or negligently without their consent, or it must have made them insane.

Intoxication there includes narcotics and drugs. It also counts when the court decides whether the person formed the intent the offence needs.

It is proposed that the defence cover intoxication by any means the person did not intend. A person who chose to become intoxicated would have no defence, but it could still count when deciding intent.

Under section 14, compulsion excuses a person only where fellow offenders threaten to kill them or cause grievous harm at once. Threats of future harm are no excuse.

It is proposed that the defence also cover carrying out the law. It would cover obeying an order of a competent authority that the person is bound by law to obey, unless the order is plainly unlawful. It would also cover acts reasonably needed to resist actual and unlawful violence.

It is also proposed that it cover acting to save a person or property from serious threatened harm. The person would have to reasonably believe there is no other way out, and the act would have to be in proportion to the harm. None of this would excuse murder or grievous harm, or a person who joined an unlawful group or plot.

Under section 17, a wife charged with any offence other than treason or murder has a defence if she acted in her husband's presence and under his coercion. It is proposed that the rule be gender-neutral.

6. Offences against the State and free speech

The Supreme Court struck down the old offence of publishing false news in 2004. The study also reports a court finding that the old sedition sections went too far against freedom of speech (Constitution of the Republic of Uganda, article 29).

Under section 36 of the Penal Code Act, Cap. 128, publishing information on military operations that is likely to endanger the armed forces, help an enemy or disrupt public order carries up to 7 years. It is proposed that it also cover digital publishing.

Several sections still need the written consent of the Director of Public Prosecutions before a prosecution, including sections 36, 40 and 47. The Constitution already lets the Director start and take over criminal cases (Constitution of the Republic of Uganda, article 120).

It is proposed that these consent rules go.

Under section 24, throwing something at the President, or striking, assaulting or restraining the President, to alarm, annoy or ridicule, carries up to life imprisonment. It is proposed that the maximum be 14 years.

7. Rape and other sexual offences

Under section 110 of the Penal Code Act, Cap. 128, rape is unlawful carnal knowledge of a woman or girl without her consent. Consent does not count if it was got by force, by any kind of threat or intimidation, or by fear of bodily harm.

Nor does it count if obtained by a lie about the nature of the act, or by pretending to be a married woman's husband. Rape carries up to death (section 111), and an attempt up to life imprisonment (section 112).

It is proposed that the law protect any person, of either sex, from rape, and that rape cover other forms of penetration without consent.

It is proposed that there be no consent where a person cannot give it, for example because of drugs, and that the law cover rape within marriage.

It is proposed that, for all sexual offences, consent mean consent given freely by a person able to give it. Consent obtained by force, threats, the use of authority or deception would not count.

It is proposed that death be a sentence the court may choose for rape, and that the court also order compensation for the victim. It is proposed that attempted rape carry at most 15 years.

Under section 115, indecent assault on a woman or girl carries up to 14 years. Where the girl is under 18, her consent is no defence. Section 136 sets the same penalty for a boy under 18.

It is proposed that these become one gender-neutral offence, with up to 14 years where the victim is a child and up to 7 years for an adult.

Under sections 120 and 121, a court may not convict a person of procuring a woman or girl for sex or prostitution on the word of one witness alone. Other evidence implicating the accused must support it.

It is proposed that the rule go, and that the two sections become one gender-neutral offence. Procuring would carry up to 8 years, or 14 years where the person is a child or has a mental impairment.

8. Defilement and children who are victims

Under section 116 of the Penal Code Act, Cap. 128, a sexual act with a person under 18 is defilement, which carries up to life imprisonment.

It is aggravated defilement where the victim is under 14 or has a disability. It is also aggravated where the offender has HIV, has a past defilement conviction, or is a parent, guardian or person in authority over the victim.

In section 116, disability means a substantial limit on daily activities, caused by a physical, mental or sensory impairment and by barriers in the person's surroundings, that limits participation. It is proposed that 'and' in this definition become 'or', and that the definition apply to the whole Code.

Aggravated defilement carries up to life imprisonment, on conviction by the High Court. It is proposed that life imprisonment replace death, as the current text now does.

It is proposed that it also cover people in a position of trust, such as doctors, counsellors and religious leaders, and relatives who are not guardians.

Under section 117 of the Penal Code Act, Cap. 128, children who commit these acts have their own rule. A child under 12 goes under the Children Act part on care and protection.

Where a boy and a girl aged 12 or over commit the offence with each other, both go under its part on children charged with offences. The age of criminal responsibility is 12 (Children Act, Cap. 62, section 133).

Under section 118, the court may also order an offender to pay the victim compensation for physical, sexual and psychological harm. Both rules were among the proposals, but both are already in the Code.

Section 119 punishes sex, or an attempt, with a woman or girl whom the offender knows has a mental disability, in circumstances short of rape. It carries up to 14 years.

The printed section still uses two words for such a person that the Constitutional Court found degrading and struck out in 2015. The court read the section as covering a woman or girl the offender knows to be mentally ill or mentally impaired. A note in the revised Act records this. It is proposed that the section use respectful words and protect people of any sex.

9. Prostitution, abortion and offences about marriage

Under sections 125 to 128 of the Penal Code Act, Cap. 128, living on the earnings of prostitution, soliciting, keeping a brothel and engaging in prostitution each carry up to 7 years.

It is proposed that clear offences replace them and punish everyone involved. That means the buyer, the person selling sex, anyone who incites or controls it for gain, and the brothel keeper.

Under section 130, acting unlawfully to cause a woman's miscarriage carries up to 14 years. A pregnant woman who does it to herself faces up to 7 years (section 131). Under section 132, unlawfully supplying something, knowing it is meant to be used unlawfully to cause a miscarriage, carries up to 3 years.

A surgical operation on an unborn child to preserve the mother's life is not a crime if done in good faith and with reasonable care and skill. It must also be reasonable in the circumstances (section 207).

No one may end the life of an unborn child except as authorised by law (Constitution of the Republic of Uganda, article 22). The study found that Parliament had made no such law since 1995.

Ministry of Health figures from 2015 estimate 400,000 unsafe abortions a year, leading to the deaths of 1,500 women and girls.

It is proposed that a law set when a pregnancy may lawfully end, and that only trained medical professionals carry out the procedure.

It is proposed that the grounds may include a risk to the woman's life or of grave harm to her health, or a risk of serious disability in the child. It is proposed that they may also include pregnancy from rape, incest or child abuse.

Under section 114, eloping with a married person is still an offence, and the court must also order the offender to pay compensation to the wronged party. Agreeing to elope is an offence too. It is proposed that elopement no longer be a crime.

10. Duties to children and other dependants

Some sections still protect children only up to 14. Section 144 of the Penal Code Act, Cap. 128, covers a parent or carer able to maintain a child under 14. Deserting the child wilfully, without lawful or reasonable cause, and leaving the child without means of support is a misdemeanour. A misdemeanour with no penalty of its own carries up to 2 years (section 22).

Section 183 makes the head of a family responsible for giving the necessaries of life to a child under 14 in the household. Under section 147, child stealing carries up to 7 years. It means taking, enticing away or keeping a child under 14 by force or fraud, intending to deprive a parent or carer of the child. It also means receiving or sheltering the child, knowing it was taken or kept that way. It is a defence that the accused claimed in good faith a right to the child. So is being the mother, or claiming to be the father, of a child born outside marriage.

Other rules reach every child under 18. Under section 113 of the Penal Code Act, Cap. 128, unlawfully taking a person under 18 out of the custody of a parent or carer carries up to 7 years. A parent, guardian or anyone with custody of a child must maintain the child and protect the child from discrimination, violence, abuse and neglect (Children Act, Cap. 62, section 5). Breaking that duty is an offence, with a fine of up to 5 currency points, prison for up to 6 months, or both (Children Act, Cap. 62, section 157).

Section 145 covers a parent or carer of a young child who cannot provide for itself. Refusing or neglecting, while able, to provide enough food, clothes, bedding and other necessaries, so that the child's health is injured, is a misdemeanour. The Constitution treats everyone under 18 as a child (Constitution of the Republic of Uganda, article 257).

It is proposed that these ages rise to 18, that desertion and neglect each carry up to 7 years, and that child stealing carry up to 14 years. It is also proposed that the defence for a mother or claimed father go.

Under section 206, a person with a duty to provide the necessaries of life for another, who fails to do so without lawful excuse, faces up to 3 years. This applies where the other person's life is or is likely to be endangered, or their health is or is likely to be permanently harmed. It is proposed that this rise to 7 years.

Sections 146 and 184 still set a master's duties to a servant or apprentice. It is proposed that Parliament repeal both.

Under section 196, a mother who kills her child under 12 months, while the balance of her mind is disturbed after the birth, commits infanticide. The court may punish her as for manslaughter.

It is proposed that infanticide cover a child older than 24 hours and under 12 months, with a maximum of 7 years.

11. Harm to the person

Under section 181 of the Penal Code Act, Cap. 128, a person has not killed another in law unless the death follows within a year and a day of the cause.

It is proposed that Parliament repeal this rule, leaving the cause of death to the evidence.

Section 190 covers written threats to kill, with up to 7 years. It is proposed that it cover threats sent by email, social media, phone message and other electronic means.

Under section 193, attempting suicide is a misdemeanour. It is proposed that the offence require intention, and that it also cover a threat to do so.

It is proposed that these penalties rise, with compensation for victims of grievous harm and wounding.

(a)

Doing grievous harm, section 202: from 7 to 14 years.

(b)

Poisoning with intent to harm, section 204: from 14 years to life imprisonment.

(c)

Wounding, section 205: from 3 to 7 years.

Courts can already order compensation at their discretion. It must be ordered for embezzlement, causing financial loss and stealing by agents, and for robbery, under sections 251 and 267 of the Penal Code Act, Cap. 128. The High Court may order an offender to pay fair compensation for material loss or injury the offence caused (Trial on Indictments Act, Cap. 25, section 125). A magistrate's court may do so where it thinks the person could win substantial compensation in a civil suit (Magistrates Courts Act, Cap. 19, section 196).

Under section 208 of the Penal Code Act, Cap. 128, a person allowed to use force, by law or with the injured person's consent, is criminally responsible for any excess. That responsibility depends on the nature and quality of the act that makes up the excess.

A person may be charged with an offence arising from arresting, or trying to arrest, someone who forcibly resisted or tried to evade arrest. The court then considers whether the means used were necessary, or the force used was reasonable. It looks at how serious the arrested person's offence was, and its circumstances (section 16).

Section 208 sets no separate penalty. The study said this conflicts with a rule in the Constitution. Except for contempt of court, no one may be convicted of an offence unless the law defines it and sets its penalty (Constitution of the Republic of Uganda, article 28(12)). But section 208 does not create an offence of its own. Under section 208 of the Penal Code Act, Cap. 128, the person answers for the excess as the offence that act amounts to, such as assault or doing grievous harm, and that offence has its own penalty.

It is proposed that excess force carry up to 7 years in prison, a fine of up to 168 currency points, or both. It is also proposed that compensation be possible for the victim.

Under section 210, causing death by a rash or negligent act carries a fine of up to 168 currency points, up to 7 years in prison, or both. The fine matches what was proposed.

12. Theft, robbery and other property offences

Under section 244 of the Penal Code Act, Cap. 128, theft carries up to 10 years, unless another penalty applies. It is proposed that the maximum rise to 14 years, with compensation for the victim.

Under section 249, cattle rustling carries up to life imprisonment. A person found with animals stolen in such a raid must prove a lawful excuse.

The study found this puts the burden of proof on the accused, and it is proposed that those words go. The Constitution allows a law to make an accused person prove particular facts (Constitution of the Republic of Uganda, article 28(4)).

Under section 267, robbery carries up to 10 years in a magistrate's court and up to life in the High Court. With a deadly weapon, or where the offender causes death or grievous harm, the offender and anyone jointly involved face up to death in the High Court. The court must also order the offender to pay the person robbed the compensation it finds just for their injury or loss.

It is proposed that robbery and aggravated robbery become separate offences, each with its own penalty.

13. Vague, outdated and duplicated offences

Under section 150 of the Penal Code Act, Cap. 128, an idle and disorderly person includes someone who begs in public or gets a child to beg. It also covers gambling in public and public conduct likely to cause a breach of the peace.

Most forms carry a fine of up to 6 currency points, up to 3 months in prison, or both. Three forms, including soliciting for immoral purposes, carry up to 7 years.

It is proposed that Parliament repeal the offence. Elsewhere it is proposed that only getting children to beg and gambling for money in public stay offences. In the draft bill, it is proposed that begging in public, or getting a child to beg, stay an offence. It would carry up to 3 months, a fine of up to 6 currency points, or both.

Section 151 makes a rogue and vagabond of a person convicted again as idle and disorderly, or who collects alms by a false pretence. A child cannot be charged for begging in a public place, or as a rogue and vagabond (Children Act, Cap. 62, section 153).

It is proposed that Parliament repeal the whole section. The revised Code keeps only these two of its four old parts.

Under section 162, publishing defamatory matter about a person, intending to defame them, is the misdemeanour of libel. In March 2026 the Constitutional Court declared section 162 void and ordered that it not be enforced. This covers print, writing and other means, but not words, sounds or gestures alone.

It is proposed that Parliament repeal criminal defamation.

It is also proposed that the Code drop kidnapping, smuggling and some food and drug offences, which the study found other Acts cover. The revised Code still has them.

14. Who it would affect and what happens next

The changes would affect accused people, victims, children and carers, people with mental illness, journalists, police, prosecutors, courts and prisons.

The study expected its proposals to go to Cabinet through the Minister responsible for justice.

Written with AI in plain words from public sources and checked 7 November 2026. It is not the law and not legal advice.