Where the Penal Code comes from
The Penal Code of Ceylon, Ordinance No. 2 of 1883, was modelled on the Indian Penal Code of 1860 drafted under Lord Macaulay. That shared ancestry is why Indian decisions on the meaning of terms such as "dishonestly" or "grievous hurt" are still cited in Sri Lankan courts, though always as persuasive rather than binding authority.
The Code is not the only source of criminal law. Many offences sit in other statutes: dangerous drugs, bribery, money laundering, firearms, road traffic, computer crime and the Prevention of Terrorism Act. Procedure is governed separately by the Code of Criminal Procedure Act, and proof by the Evidence Ordinance.
How the Code is organised
The Code runs to more than 490 sections in chapters that follow a logical order:
- Chapters I to III: application, general explanations and definitions, and punishments.
- Chapter IV, the general exceptions: mistake of fact, accident, necessity, infancy, unsoundness of mind, intoxication, consent and the right of private defence. These apply to every offence in the Code and to offences under other statutes unless excluded.
- Chapter V: abetment, and Chapter VA: conspiracy.
- Chapters VI to XV: offences against the state, the armed forces, public tranquillity, public servants, the administration of justice, coins, weights and measures, public health and morals, and religion.
- Chapter XVI: offences affecting the human body, including culpable homicide, murder, hurt, wrongful restraint, kidnapping and sexual offences.
- Chapter XVII: offences against property, including theft, extortion, robbery, criminal misappropriation, criminal breach of trust, cheating, mischief and criminal trespass.
- Chapters XVIII to XXIII: forgery and documents, trade marks, breach of contract of service, marriage offences, defamation, intimidation and attempts.
Offences against the person
The distinction between culpable homicide (section 293) and murder (section 294) turns on the intention or knowledge of the accused and on the exceptions, such as grave and sudden provocation, that reduce murder to culpable homicide not amounting to murder. Murder carries the death penalty under section 296, although no execution has been carried out in Sri Lanka since 1976 and sentences are in practice commuted. Causing death by a rash or negligent act is a separate, lesser offence.
Hurt and grievous hurt are defined by the injury caused, with grievous hurt covering fractures, permanent disfigurement and injuries that endanger life or cause twenty days of severe pain or inability to follow ordinary pursuits. The Code also covers wrongful restraint and confinement, criminal force and assault, kidnapping and abduction, and trafficking.
Sexual offences and the 1995 amendment
The Penal Code (Amendment) Act No. 22 of 1995 rewrote the law on sexual offences. It redefined rape in section 363, with statutory rape where the girl is under sixteen regardless of consent, introduced mandatory minimum sentences, and created new offences of sexual harassment (section 345), grave sexual abuse (section 365B) and offences relating to child pornography and trafficking. Later amendments, including in 1998 and 2006, extended protection of children and criminalised further forms of exploitation.
Section 365 (unnatural offences) and section 365A (gross indecency) remain in the Code. Their constitutionality and proposed repeal have been debated for years, so check the current position before advising.
Offences against property and dishonesty
Property offences share a vocabulary defined in Chapter II: "dishonestly", "fraudulently", "wrongful gain" and "wrongful loss". Theft (section 366) is dishonestly taking movable property out of a person's possession without consent. Extortion adds fear of injury; robbery adds violence or the threat of it. Criminal misappropriation covers property that came into the accused's hands innocently, while criminal breach of trust (section 388) covers property entrusted to the accused, including by employees, agents and public servants.
Cheating (section 398) requires deception that induces the victim to deliver property or to act to their detriment. It underlies most prosecutions over bounced cheques, false investment schemes and fraudulent sales of land, often alongside forgery charges under Chapter XVIII.
Punishments and sentencing
Section 52 lists the punishments: death, imprisonment (rigorous or simple), whipping (since abolished), forfeiture of property and fine. Each offence section states its maximum, and a few, notably rape and offences against children, carry mandatory minimums. Courts weigh aggravating and mitigating factors and may suspend sentences under the Code of Criminal Procedure. Probation and community-based corrections are available for less serious offences.
Because the Code has been amended many times, the printed section numbers and the current punishment may differ from older textbooks. Always read the section as amended on the date of the alleged offence.
Researching a Penal Code question
Begin with the section, then the leading Supreme Court and Court of Appeal decisions on its elements. Lex lets you ask, for example, "what are the exceptions that reduce murder to culpable homicide" and open the section and the cited judgments together. For how a prosecution proceeds, read our guide to criminal procedure and bail; for the rules of proof, see the Evidence Ordinance guide.
Questions and answers
What is the Penal Code of Sri Lanka?
The Penal Code, Ordinance No. 2 of 1883, is the principal criminal statute of Sri Lanka. It defines most criminal offences, from murder and hurt to theft, cheating and forgery, and sets the maximum punishment for each. It was modelled on the Indian Penal Code of 1860 and has been amended many times.
What is the difference between murder and culpable homicide in Sri Lanka?
Culpable homicide is causing death with the intention or knowledge described in section 293. It becomes murder under section 294 when the intention or knowledge is of the graver kind set out there, unless an exception such as grave and sudden provocation applies. Murder carries the death penalty, while culpable homicide not amounting to murder carries imprisonment.
Is the death penalty still in force in Sri Lanka?
Yes. The Penal Code still prescribes death for murder and some other offences, and courts continue to pass death sentences. No execution has been carried out since 1976, and sentences are in practice commuted to life imprisonment.
Where can I read the Penal Code online?
The consolidated Legislative Enactments and amending Acts are published by the Government Printer and Parliament. Lex brings the Code and the judgments interpreting it into one search, so you can open the section and the authority side by side.
This guide is general information, not legal advice. Last updated 6 October 2026.