Home / Understand Malaysia / Law & Regulations / Key Acts

🧭 Practical ✓ Published: 25 Jul 2026 6 min read

Penal Code (Act 574): Malaysia's Principal Criminal Statute

Statute entity page for Act 574 — what the Penal Code covers chapter by chapter, its descent from the Indian Penal Code through the Straits Settlements and Federated Malay States, and how it sits alongside the Criminal Procedure Code and Malaysia's specialised criminal Acts.

30-second answer Reviewed 25 Jul 2026

The Penal Code (Act 574) is Malaysia's general criminal statute. Its long title is simply 'An Act relating to criminal offences'. It applies throughout Malaysia from 31 March 1976, was first enacted in 1936 as F.M.S. Cap. 45, and descends from the Indian Penal Code by way of the Straits Settlements Penal Code of 1871. Its numbering runs from section 1 to section 511 across 26 chapters, covering general principles, defences, and offence definitions from homicide and theft to forgery and defamation.

  • Act 574; long title 'An Act relating to criminal offences'; applied throughout Malaysia 31 March 1976 by Act A327
  • First enacted 1936 as F.M.S. Cap. 45; revised as Act 574 with effect from 7 August 1997
  • Descends from the Indian Penal Code via the Straits Settlements Penal Code (Ordinance No. 4 of 1871)
  • 26 chapters, not 23 — Chapters VA, VIA and VIB were inserted later for conspiracy, terrorism and organised crime
  • Section numbering ends at 511, but the Code has neither 511 offences nor 511 live sections: there are gaps, deletions and lettered insertions
  • Section 5 preserves every other written law, so the Code is the general criminal statute, not the only one
  • The Abolition of Mandatory Death Penalty Act 2023 (Act 846) amended 36 Penal Code sections and came into operation on 4 July 2023

Who this applies to: Readers who need the statutory identity, structure and lineage of Act 574 — students, researchers and anyone mapping which Malaysian statute creates which criminal offence. It is not legal advice and does not set out the elements of any offence.

On this page
Full explanation ≈6 min

Almost every article you will read about Act 574 opens with the same sentence: the Penal Code has 511 sections in 23 chapters. Both halves of that sentence are wrong.

This page is the statute record for Act 574 — its identity, its structure, its lineage and its place among Malaysia’s other criminal statutes. It does not set out the elements of any offence.

At a glance

Short titlePenal Code (section 1)
Act numberAct 574
Long title”An Act relating to criminal offences”
First enacted1936, as F.M.S. Cap. 45
Revised1997, as Act 574, with effect from 7 August 1997
ApplicationThroughout Malaysia from 31 March 1976, by Act A327; P.U. (B) 139/1976
NumberingSections 1 to 511
Chapters26 headings: I to XXIII, plus VA, VIA and VIB
Latest reprintAs at 4 July 2023

Where it came from

The Code is not a Malaysian original. Its ancestor is the Indian Penal Code, drafted by the first Indian Law Commission under Lord Macaulay, whose introductory report to the Governor-General of India in Council is dated 14 October 1837.

That code was carried into the Straits Settlements not by extension but by local re-enactment: the Straits Settlements Penal Code, Ordinance No. 4 of 1871, which came into operation the following year. The Federated Malay States adopted the same model in 1936 as F.M.S. Cap. 45, and that 1936 enactment is the statute the AGC’s own record still names as the first enactment of Act 574.

Three consequences follow, and they explain a great deal about how the Code reads. It uses illustrations — worked examples printed inside the section text — which is a Macaulay device. It defines its terms exhaustively in Chapter II before it defines a single offence. And it shares a common ancestry with the criminal codes of Singapore, Brunei, Sri Lanka and Myanmar, which is why cases from those jurisdictions are argued here at all.

The 26 chapters

Chapters I to V and Chapter XXIII carry the general part — the machinery that applies to every offence in the Code. Chapters VI to XXII carry the offence definitions.

ChaptersWhat they carry
I–IIPreliminary; general explanations and definitions
IIIPunishments — now almost entirely repealed
IVGeneral exceptions, including the right of private defence
V, VAAbetment; criminal conspiracy
VI, VIA, VIBOffences against the State; terrorism; organised crime
VII–VIIIArmed forces; public tranquillity, unlawful assembly and rioting
IX–XIOffences by and against public servants; contempts of lawful authority; false evidence and offences against public justice
XII–XIIICoin and Government stamps; weights and measures
XIV–XVPublic health, safety, convenience, decency and morals; religion
XVIOffences affecting the human body, from section 299 (culpable homicide)
XVIIOffences against property, from section 378 (theft)
XVIII–XXDocuments, currency and bank notes; criminal breach of contracts of service; marriage
XXI–XXIIDefamation; criminal intimidation, insult and annoyance
XXIIIAttempts, a single section

Chapters VA, VIA and VIB are the tell. They carry letters rather than numbers because they were inserted into an existing structure — criminal conspiracy, then terrorism, then organised crime. Counting the roman numerals alone gives 23 and misses them.

Why the section count is not 511

Section 511 is the last section, not the 511th. Between section 1 and section 511 the Code contains:

  • Express gaps. The reprint states outright that there are no sections 14 to 16, no section 18, no sections 41 to 42 and no sections 244 to 245.
  • Repealed runs. Chapter III, headed “Punishments”, has lost sections 53 to 55, 59 to 60, 63 to 64, 66 to 70 and 73 to 74. Only sections 57, 71, 72, 75 and 75A survive it.
  • Lettered insertions. Sections 121A to 121D, 124B to 124N, 130A to 130ZC and 377A to 377E are all additional sections that the numbering 1–511 does not count.

The net effect is a Code whose general part has been hollowed out and whose offence part has been repeatedly extended.

How it relates to Malaysia’s other criminal statutes

Section 2 says every person is liable to punishment under this Code and not otherwise for acts contrary to it. Read alone that sounds exclusive. Section 5 immediately corrects the impression: nothing in the Code is intended to repeal, vary, suspend or affect any other written law in force.

Section 40 completes the picture. “Offence” ordinarily means a thing made punishable by the Code — but in Chapter IV and in a listed set of sections it extends to anything punishable under any other law in force. The Code is the general criminal statute, deliberately built to sit under specialised ones.

Its closest partner is the Criminal Procedure Code (Act 593), which supplies the procedure the Code does not: arrest, charge, trial, bail and sentence. The First Schedule to the CPC tabulates Penal Code offences section by section, together with their punishments — which is why the Abolition of Mandatory Death Penalty Act 2023 had to amend both the Code and that Schedule to make one change stick. Which court actually hears a given charge is a question for the court hierarchy.

Extraterritorial reach is narrow and specific. Section 4 extends the Code beyond Malaysia only for Chapters VI, VIA and VIB — offences against the State, terrorism and organised crime — and even then only in the eight situations that section lists.

Chapter IX still contains the gratification offences by public servants at sections 161 to 165; the modern anti-corruption enforcement regime is covered separately in MACC. The Code is federal law made by Parliament — see how a bill becomes law — within the framework set by the Federal Constitution.

The 2023 death-penalty amendments

The Abolition of Mandatory Death Penalty Act 2023 (Act 846) received Royal Assent on 9 June 2023, was gazetted on 16 June 2023, and came into operation on 4 July 2023 by P.U. (B) 229/2023.

It is a single amending Act touching seven statutes at once — the Penal Code, the Firearms (Increased Penalties) Act 1971 (Act 37), the Arms Act 1960 (Act 206), the Kidnapping Act 1961 (Act 365), the Dangerous Drugs Act 1952 (Act 234), the Strategic Trade Act 2010 (Act 708) and the Criminal Procedure Code (Act 593). That list is the clearest available map of where Malaysia’s capital offences actually live.

Within the Penal Code, Act 846 amended 36 sections: 115, 118, 119, 121, 121A, 121B, 122, 124K, 124M, 125, 125A, 128, 130, 130A, 130B, 130C, 130D, 130I, 130J, 130K, 130KA, 130N, 130O, 130QA, 130ZB, 201, 212, 213, 214, 216, 221, 302, 307, 364, 374A and 450. Section 302 was amended by inserting, after the words “with death”, an alternative of imprisonment for not less than thirty years and not exceeding forty years, with whipping of not less than twelve strokes where the offender is not sentenced to death.

Reading the right text

The AGC’s Act 574 timeline records reprints as at 1 January 2002, 1 January 2006, 1 October 2009, 1 October 2018, 30 November 2022 (online) and 4 July 2023, with further amendments in August 2023, September 2024 and March 2025. Any consolidated text dated before 4 July 2023 predates the death-penalty reforms, and the widely circulated 1 October 2018 reprint predates them by nearly five years.

For any live question, check the current version on the AGC’s Laws of Malaysia portal rather than a cached PDF.

What’s next

This page fixes Act 574’s identity and structure. The offence definitions, the general exceptions in Chapter IV and the interaction with the Criminal Procedure Code each deserve their own treatment, and will be linked from here as they are written.

If you are tracing a specific offence, start by asking whether it is in the Code at all — section 5 means the answer is often no.

Frequently asked 3
Does the Penal Code really have 511 sections?

No. The numbering runs from section 1 to section 511, which is where the widely repeated figure comes from, but the count and the highest number are different things. The Code contains express gaps (there are no sections 14 to 16, no section 18, no sections 41 to 42, no sections 244 to 245), whole runs of repealed sections (most of Chapter III), and large blocks of lettered insertions such as sections 130A to 130ZC. Citing '511 sections' as a count is inaccurate.

Is the Penal Code the only source of criminal offences in Malaysia?

No, and it never claimed to be. Section 5 states that nothing in the Code repeals, varies, suspends or affects any other written law in force. Offences involving dangerous drugs, firearms, kidnapping for ransom and strategic trade all sit in their own Acts, which the Abolition of Mandatory Death Penalty Act 2023 had to amend separately alongside the Code.

Why does the Penal Code look so much like India's?

Because it is a descendant of the same draft. The Straits Settlements Penal Code was enacted as Ordinance No. 4 of 1871 and came into operation the following year as a local re-enactment of the Indian Penal Code, itself drafted by the first Indian Law Commission under Lord Macaulay. The Federated Malay States Penal Code of 1936 followed the same model, and Act 574 is its direct successor.

Sources & history 6 sources

Sources

  1. Act 574 — Penal Code, principal Act timeline — Attorney General's Chambers of Malaysia
  2. Penal Code (Act 574), reprint as at 1 October 2018 — Commissioner of Law Revision, Malaysia
  3. Abolition of Mandatory Death Penalty Act 2023 (Act 846) — Attorney General's Chambers of Malaysia
  4. Act 846 — Abolition of Mandatory Death Penalty Act 2023, timeline and commencement — Attorney General's Chambers of Malaysia
  5. Act 593 — Criminal Procedure Code, principal Act timeline — Attorney General's Chambers of Malaysia
  6. Of Codes and Ideology: Some Notes on the Origins of the Major Criminal Enactments of Singapore, (1989) 31 Malaya Law Review 46 — National University of Singapore, Faculty of Law

Change history

Version Date Change By
01.00 24 Jul 2026 Approved and published.
More in Key Acts View all 11 →
Related knowledge