Unison Law Offices

The Principle of Legality in Criminal Law: No Punishment Without Law

Understand the principle of legality in Indian criminal law and why no person can be punished without a law.

Start Your Consultation

Fill in your details — we'll connect on WhatsApp.

🔒 Your information is 100% secure

Published 18 September 2026

The Principle of Legality in Criminal Law: No Punishment Without Law

The principle of legality is one of the fundamental safeguards of criminal law. In simple terms, it means that a person should not be treated as a criminal or punished for an act unless the law applicable at the relevant time made that act an offence and prescribed the applicable punishment.

This principle is commonly expressed through the Latin maxim nullum crimen sine lege, meaning “no crime without law,” and nulla poena sine lege, meaning “no punishment without law.”

In India, the principle has an important constitutional foundation in Article 20(1) of the Constitution of India. It provides that a person cannot be convicted for an offence except for violation of a law that was in force when the act was committed. It also protects a person from being subjected to a penalty greater than the penalty prescribed by the law in force at the time of the offence.

What Is the Principle of Legality?

The principle of legality requires criminal offences and punishments to have a legal basis.

A person should be able to know, before engaging in conduct, whether the law prohibits that conduct and what criminal consequences may follow.

This principle places an important limitation on criminal punishment. Courts apply criminal laws; they do not ordinarily create new offences simply because particular conduct may appear undesirable or harmful.

In India, the Bharatiya Nyaya Sanhita, 2023 (BNS) is the principal general penal legislation currently in force. It came into force on 1 July 2024, subject to the statutory commencement notification and the specified exception concerning Section 106(2).

Why Is Legality Important in Criminal Law?

Criminal law can result in serious consequences, including imprisonment, fines and other penalties. The legality principle therefore provides an important safeguard against punishment based on an unclear or retrospectively created criminal rule.

It promotes several basic ideas:

Criminal offences should have a legal foundation.

Criminal punishment should be prescribed by law.

People should have reasonable notice of prohibited conduct.

Criminal provisions should not ordinarily operate retrospectively to create liability for past conduct.

Courts should apply the law rather than impose punishment based only on personal views about what conduct should be criminal.

These ideas contribute to predictability and fairness in the administration of criminal justice.

Article 20(1) of the Constitution

Article 20(1) provides a specific constitutional protection against retrospective criminal punishment.

It contains two closely connected protections.

First, a person cannot be convicted for an act unless the act violated a law that was in force when it was committed.

Second, even where the conduct was an offence at that time, the person cannot be subjected to a penalty greater than the penalty that could have been imposed under the law in force when the offence was committed.

For example, suppose an act was punishable with a maximum imprisonment of three years when it was committed. If a later amendment increases the maximum punishment to five years, Article 20(1) prevents the increased punishment from being imposed retrospectively for the earlier act.

No Retrospective Creation of Criminal Liability

One of the most important aspects of legality is protection against retrospective criminal liability.

Imagine that conduct was not an offence under the applicable criminal law on 1 January. A new law comes into force on 1 July and makes that conduct an offence.

The new law cannot ordinarily be used to convict a person for having performed the same conduct on 1 January merely because the conduct became criminal later.

The relevant question is what criminal law applied when the alleged act occurred.

This distinction is particularly important when criminal statutes are amended or replaced.

Relationship With the Bharatiya Nyaya Sanhita

India's general penal framework changed substantially when the Bharatiya Nyaya Sanhita, 2023 replaced the Indian Penal Code framework from 1 July 2024, subject to the statutory commencement provisions. The BNS itself states that a person is liable to punishment under the Sanhita for an act or omission contrary to its provisions.

However, the transition from one criminal statute to another does not mean that conduct committed before the new law came into force can simply be treated as an offence under the new law.

For a particular criminal case, the date of the alleged offence and the applicable transitional provisions can therefore be highly significant.

Legality and Clear Criminal Laws

The principle of legality is also connected with the requirement that criminal laws should provide sufficient clarity about prohibited conduct.

If a criminal provision is so uncertain that people cannot reasonably understand what conduct is prohibited, questions about legality and constitutional protection may arise.

At the same time, not every legal provision needs to describe every possible factual situation in exhaustive detail. Courts interpret statutory language according to the text, context, applicable principles and established methods of statutory interpretation.

Therefore, whether a particular criminal provision is sufficiently clear depends on the wording of the provision and the legal context in which it operates.

Courts and the Principle of Legality

Courts play an important role in applying the principle of legality.

When deciding a criminal case, a court may have to determine:

What law was in force when the alleged act occurred?

What offence does the prosecution allege?

Which statutory provision defines or establishes that offence?

What punishment was prescribed at the relevant time?

Whether subsequent amendments affect the case?

Whether the prosecution has established the required elements of the offence?

The court must then apply the relevant law to the facts and evidence before it.

The legality principle does not mean that a person is automatically protected from prosecution whenever a law has changed. The legal position can depend on the nature of the amendment, the date of the alleged offence, transitional provisions and the applicable constitutional and statutory framework.

Difference Between Retrospective Criminal Law and Procedural Changes

It is also useful to distinguish substantive criminal law from procedural law.

A change that creates a new offence or increases punishment raises a direct question under Article 20(1). Procedural changes may raise different legal questions.

For example, a change in the procedure for investigation or trial is not necessarily equivalent to creating a new criminal offence or increasing punishment.

The precise legal effect of a statutory amendment therefore depends on what the amendment actually changes.

Practical Example

Consider a hypothetical situation.

A person performs an act on 10 June 2024. At that time, a particular conduct is not criminalised under the applicable law.

A new criminal provision comes into force on 1 July 2024 and makes that conduct punishable.

The new provision cannot simply be applied to convict the person for the act committed on 10 June because the relevant criminal law was not in force when the conduct occurred.

Now consider a different situation. The conduct was already an offence on 10 June, but the maximum punishment was later increased.

Article 20(1) protects the accused from receiving the increased retrospective penalty. The Constitution specifically prohibits a penalty greater than what could have been imposed under the law in force when the offence was committed.

Principle of Legality and Fair Notice

Another important purpose of legality is fair notice.

Criminal law carries consequences that can affect liberty, reputation, employment and other important interests. People should therefore be able to determine from the law what conduct may result in criminal liability.

This is particularly important when interpreting penal provisions. Criminal statutes should not be expanded beyond their legal limits merely to cover conduct that was not clearly made criminal by the applicable law.

The principle helps maintain a boundary between judicial interpretation and legislative creation of offences.

What Happens When a Criminal Law Changes?

When a criminal law is amended, replaced or repealed, the date of the alleged offence becomes important.

A proper legal analysis may require examination of:

The date of the alleged offence

The old criminal provision

The new criminal provision

The punishment under each law

Commencement notifications

Transitional or saving provisions

Article 20(1) of the Constitution

Relevant judicial decisions

The mere fact that a new criminal statute is currently in force does not by itself determine which provision applies to conduct that allegedly occurred before its commencement.

Why Legal Advice May Be Important

Questions involving retrospective criminal law can be legally complex. A case may involve multiple dates, amendments, procedural developments and transitional provisions.

If someone is facing a criminal allegation involving a change in legislation, it is important to identify the exact date of the alleged conduct and the statutory provisions applicable on that date.

A lawyer can review the relevant law, prosecution allegations, case documents and subsequent amendments to determine which legal provisions may be relevant.

Conclusion

The principle of legality in criminal law establishes an important rule: criminal liability and punishment must have a basis in law. In India, Article 20(1) expressly protects individuals from conviction for conduct that was not an offence under the law in force when it was committed and from a penalty greater than the one permitted by the law applicable at that time.

The principle is especially important when criminal laws are amended or replaced. The Bharatiya Nyaya Sanhita, 2023 has been in force from 1 July 2024, but the application of its provisions to conduct occurring before that date must be considered in light of Article 20(1), the statutory framework and applicable transitional provisions.

For any specific criminal case, the exact facts, date of the alleged offence and applicable statutory provisions should be examined be