illegal agreements
Sections 23, 24, 57, 58 and 65 of the Indian Contract Act, 1872
In one minute
An illegal agreement is one whose object or consideration the law forbids or condemns on a ground in Section 23 (forbidden by law, defeating a law, fraudulent, injurious to another, immoral or opposed to public policy). Every illegal agreement is void, so no one can sue on it.
But not every void agreement is illegal. A wager (Section 30) or an agreement without consideration (Section 25) is void but not illegal.
The difference matters in three ways:
- Collateral deals. A connected deal made to further an illegal purpose is also tainted. A connected deal to a merely void agreement is not (Gherulal Parakh).
- Getting money back. Where both parties knowingly took part in an illegal deal, the court usually leaves them where it finds them (in pari delicto).
- Legal and illegal parts. One unlawful part spoils a single bargain (Section 24), but Sections 57 and 58 save the legal part of reciprocal and alternative promises.
Exams ask for the void and illegal contrast. In real life it decides whether a lender or an agent can recover money linked to a bad deal.
Exam focus
- Frequency: Rarely asked
- Usually asked as: Short answer (4 to 6 marks)
Legal provision
Section 2(g). An agreement not enforceable by law is said to be void.
Section 23 (last paragraph). In each of these cases, the consideration or object of an agreement is said to be unlawful. Every agreement of which the object or consideration is unlawful is void.
Section 24. If any part of a single consideration for one or more objects, or any one or any part of any one of several considerations for a single object, is unlawful, the agreement is void.
Section 57. Reciprocal promise to do things legal, and also other things illegal. Where persons reciprocally promise, firstly, to do certain things which are legal, and, secondly, under specified circumstances, to do certain other things which are illegal, the first set of promises is a contract, but the second is a void agreement.
Illustration. A and B agree that A shall sell B a house for 10,000 rupees, but that, if B uses it as a gambling house, he shall pay A 50,000 rupees for it. The first set of reciprocal promises, namely, to sell the house and to pay 10,000 rupees for it, is a contract. The second set is for an unlawful object, namely, that B may use the house as a gambling house, and is a void agreement.
Section 58. Alternative promise, one branch being illegal. In the case of an alternative promise, one branch of which is legal and the other illegal, the legal branch alone can be enforced.
Illustration. A and B agree that A shall pay B 1,000 rupees, for which B shall afterwards deliver to A either rice or smuggled opium. This is a valid contract to deliver rice, and a void agreement as to the opium.
Section 65. When an agreement is discovered to be void, or when a contract becomes void, any person who has received any advantage under such agreement or contract is bound to restore it, or to make compensation for it to the person from whom he received it.
Illustration (a). A pays B 1,000 rupees in consideration of B's promising to marry C, A's daughter. C is dead at the time of the promise. The agreement is void, but B must repay A the 1,000 rupees.
In simple words
- An agreement with an unlawful object or consideration is void (Section 23).
- If a single bargain is partly unlawful, the whole is void (Section 24).
- If the legal and illegal promises are separate sets (Section 57) or alternatives (Section 58), the legal part survives.
- Money or benefits taken under an agreement later "discovered" to be void must be returned (Section 65), but not where both sides knowingly joined in an illegal deal.
Meaning and definition
The Act does not define "illegal". It speaks of an unlawful object or consideration and says such an agreement is void (Section 23). In practice, an illegal agreement is one the law forbids or condemns on a ground in Section 23.
A void agreement is wider. It includes agreements void for reasons short of illegality, such as an agreement without consideration (Section 25), an uncertain agreement (Section 29) or a wager (Section 30).
| Point | Merely void agreement | Illegal agreement |
|---|---|---|
| Ground | A rule of the Act makes it void, with no illegality | Unlawful object or consideration (Section 23) |
| Enforceable | No | No |
| Collateral transactions | Not automatically tainted | Tainted if made to further the illegal purpose |
| Recovery of money paid | Section 65 if discovered to be void | Usually none where both knew (in pari delicto) |
| Example | A wager (Section 30) | An agreement to bribe an official |
Every illegal agreement is void; not every void agreement is illegal. See Diagram 1.
flowchart TD V["VOID AGREEMENTS<br/>not enforceable by law (s.2(g))"] M["Merely void"] I["Illegal<br/>unlawful object or consideration (s.23)"] M1["Examples: wager (s.30);<br/>no consideration (s.25);<br/>uncertain (s.29)"] M2["Collateral deals NOT tainted<br/>(Gherulal Parakh)"] M3["Recovery under s.65<br/>if discovered to be void"] I1["Examples: bribe;<br/>smuggling; gambling-house clause"] I2["Collateral deal that knowingly<br/>helps the unlawful purpose is TAINTED"] I3["Both equally at fault:<br/>no recovery (in pari delicto)"] V --> M V --> I M --> M1 M --> M2 M --> M3 I --> I1 I --> I2 I --> I3
Text description
Void agreements (Section 2(g)) divide into two groups. Merely void agreements, such as a wager (Section 30), an agreement without consideration (Section 25) or an uncertain agreement (Section 29): not enforceable, collateral deals not tainted, recovery under Section 65 if discovered to be void. Illegal agreements, whose object or consideration is unlawful (Section 23): not enforceable, a collateral deal that knowingly helps the unlawful purpose is tainted, and where both parties are equally at fault the court leaves them where it finds them.
Detailed explanation
Our running example
Hari runs a transport business. He makes these agreements:
| Case | Agreement | Kind |
|---|---|---|
| A | Hari pays Mohan ₹1,00,000 to bribe an official for a permit | Illegal |
| B | Kavita lends Hari ₹50,000, knowing he will use it to buy smuggled goods | Collateral to an illegal purpose |
| C | Hari bets Ravi ₹5,000 on a cricket match; Sunil lends Hari ₹5,000 to pay the bet | Wager void; loan collateral to a void (not illegal) agreement |
| D | Hari agrees to sell a lorry to Anil for ₹8,00,000, and that if Anil uses it to smuggle goods, Anil will pay ₹2,00,000 more | Section 57 |
| E | Hari pays Mohan ₹20,000 for delivery of either sugar or smuggled liquor, at Mohan's choice | Section 58 |
1. No enforcement of an illegal agreement
Rule. "Every agreement of which the object or consideration is unlawful is void" (Section 23). Neither party can sue on it.
The policy. The court will not help a party who founds his claim on his own illegal act. The maxim is ex turpi causa non oritur actio: no action arises from a base cause.
Example. In Case A, Mohan keeps the ₹1,00,000 and does nothing. Hari cannot sue on the agreement, because its object is unlawful.
2. Collateral (connected) transactions
A collateral transaction is a separate deal connected to the main one.
Rule for illegal agreements. If the main agreement is illegal, a collateral deal made to further the illegal purpose, by a party who knows of it, is also tainted and unenforceable.
Example. In Case B, Kavita lent knowing the money would buy smuggled goods. Her loan helps the illegal purpose. She cannot recover it through the court.
Rule for merely void agreements. In Gherulal Parakh v. Mahadeodas Maiya (1959), the Supreme Court held: "though a wager is void and unenforceable, it is not forbidden by law and therefore the object of a collateral agreement is not unlawful under s. 23 of the Contract Act".
Example. In Case C, the bet is void, but not illegal. Sunil's loan to Hari to pay it is not tainted. Sunil can recover ₹5,000.
3. Recovering money paid: Section 65 and in pari delicto
Section 65. "When an agreement is discovered to be void … any person who has received any advantage under such agreement … is bound to restore it, or to make compensation for it". Illustration (a): a payment for a promise to marry a girl who, unknown to the parties, was already dead must be returned.
"Discovered". The word suggests that the parties did not know at the start that the agreement was void.
In pari delicto. Where both parties are equally at fault in an illegal agreement, the maxim in pari delicto potior est conditio defendentis applies: the position of the defendant is the stronger. The court leaves the parties where it finds them, and the payer cannot recover.
Example. In Case A, Hari knowingly paid ₹1,00,000 for a bribe. Both he and Mohan are equally at fault. Hari cannot recover the money.
When recovery may still be allowed. In Sita Ram v. Radha Bai (1967), the Supreme Court restated "the principle that the Courts will refuse to enforce an illegal agreement at the instance of a person who is himself a party to an illegality", and added that "where the parties are not in pari delicto, the less guilty party may be able to recover money paid". Textbooks give examples of parties not equally at fault: a payer induced by fraud or pressure, or one belonging to the class the law was made to protect.
Illegality must go to the root. In Kedar Nath Motani v. Prahlad Rai (1959), the Supreme Court said the question is "whether the illegality goes so much to the root of the matter that the plaintiff cannot bring his action". Where the plaintiff does not need to rely on the illegality to prove his case, and it is trivial, he is not shut out.
Section 65 needs an agreement between competent parties. In Mohori Bibee v. Dharmodas Ghose (1903), the Privy Council said Section 65, "like Section 64, starts from the basis of there being an agreement or contract between competent parties; and has no application to a case in which there never was, and never could have been, any contract".
4. Partly illegal agreements (Section 24)
Rule. If any part of a single consideration for one or more objects, or any part of one of several considerations for a single object, is unlawful, the whole agreement is void.
Example. If Hari pays a manager one salary of ₹30,000 a month to run his transport office and also to arrange smuggled goods, the whole agreement is void.
5. Separating legal and illegal parts (Sections 57 and 58)
Section 57: reciprocal promises. Where parties promise, first, legal things and, second, under specified circumstances, illegal things, "the first set of promises is a contract, but the second is a void agreement". Illustration: the sale of a house for 10,000 rupees is a contract; the promise to pay 50,000 rupees if the house is used for gambling is void.
Example. In Case D, the sale of the lorry for ₹8,00,000 is a contract. The promise to pay ₹2,00,000 more if it is used for smuggling is void.
Section 58: alternative promises. "In the case of an alternative promise, one branch of which is legal and the other illegal, the legal branch alone can be enforced." Illustration: delivery of either rice or smuggled opium is a valid contract to deliver rice.
Example. In Case E, Hari can enforce delivery of sugar worth his ₹20,000. The liquor branch is void.
How Sections 57 and 58 fit with Section 24. Section 24 applies where the lawful and unlawful parts are bound together in a single consideration or object. Sections 57 and 58 apply where they are separable sets of promises or alternatives.
At a glance
| Point | Rule | Source |
|---|---|---|
| Illegal agreement | Unlawful object or consideration; void | Section 23 |
| Void and illegal | Every illegal agreement is void; not vice versa | Sections 2(g), 23, 25, 29, 30 |
| No action | No suit on an illegal agreement | Section 23; ex turpi causa |
| Collateral deals | Tainted if to further an illegal purpose; not tainted if main deal merely void | Gherulal Parakh |
| Recovery | Section 65 if discovered void; none where both equally at fault | Section 65; in pari delicto |
| Illegality at the root | Illegality that is trivial and not relied on to prove the case does not stop the plaintiff | Kedar Nath Motani |
| Competent parties | Section 65 needs an agreement between competent parties | Mohori Bibee |
| Part unlawful | Whole single bargain void | Section 24 |
| Separable promises | Legal set or branch enforced | Sections 57, 58 |
Don't confuse: void and illegal
| Point | Void | Illegal |
|---|---|---|
| Width | Wider group | Narrower group, inside void |
| Reason | Any rule that makes it unenforceable | Unlawful object or consideration |
| Collateral deal | Not automatically tainted | Tainted if it furthers the illegal purpose |
| Example | Wager; agreement without consideration | Bribe; smuggling |
Inside the idea. Kavita lends ₹50,000 to Ramesh knowing he will use it to buy smuggled goods. The loan was made to further an illegal purpose. It is tainted and cannot be enforced.
Just outside it. Two friends bet ₹500 on a cricket match, and a third friend lends the loser ₹500 to pay up. The bet is void but not illegal. The loan is a collateral deal that is not tainted.
Common mistakes
- Using "void" and "illegal" as the same word. Illegal is the narrower group.
- Forgetting that collateral transactions depend on whether the main agreement is illegal or merely void.
- Applying Section 65 where both parties knowingly joined in an illegal deal.
- Forgetting Sections 57 and 58, which save the legal part in two cases.
- Applying Section 65 to an agreement with a minor (Mohori Bibee).
- Treating a lender as tainted merely because the borrower later misused the money. Knowledge of the illegal purpose is what taints.
Apply it
Problem 1. Hari pays Mohan ₹20,000 in advance for the delivery of either sugar or smuggled liquor, at Mohan's choice. Mohan delivers nothing. Hari sues. What is the position?
- Issue. Is the agreement enforceable when one branch of the alternative is illegal?
- Rule. In an alternative promise, one branch legal and the other illegal, only the legal branch can be enforced (Section 58).
- Application. The sugar branch is legal. The liquor branch is illegal and void.
- Conclusion. Hari can enforce the promise to deliver sugar. He cannot enforce the promise as to smuggled liquor.
Problem 2. Lata pays an agent ₹2,00,000 to get her son a government job by bribing officials. No job comes. She sues for the money. Will she succeed?
- Issue. Can a party recover money paid under an illegal agreement?
- Rule. An agreement whose consideration is unlawful is void (Section 23; Illustration (f)). Where both parties are equally at fault, the court leaves them where it finds them (in pari delicto).
- Application. Lata knew the money was for bribery. She and the agent are equally at fault. Section 65 does not help a party who knew of the illegality from the start.
- Conclusion. She cannot recover the money.
Leading case laws
- Gherulal Parakh v. Mahadeodas Maiya (1959)
Facts. Two persons formed a partnership to enter into forward contracts for wheat with other firms, sharing profit and loss. The contracts made a loss, and one partner sued the other for half.
Principle. "Though a wager is void and unenforceable, it is not forbidden by law and therefore the object of a collateral agreement is not unlawful under s. 23"; so the partnership was not unlawful. AIR 1959 SC 781 : [1959] Supp 2 SCR 406.
Why it matters. Void and illegal are different, with different effects on connected deals.
- Mohori Bibee v. Dharmodas Ghose (1903)
Facts. A moneylender's agent, knowing a borrower was a minor, took a mortgage from him. The minor sued to have the mortgage cancelled, and the lender asked for the money back, relying on Section 65.
Principle. Section 65 "starts from the basis of there being an agreement or contract between competent parties; and has no application to a case in which there never was, and never could have been, any contract". (1903) LR 30 IA 114 : ILR 30 Cal 539.
Why it matters. It limits restoration under Section 65.
- Sita Ram v. Radha Bai (1967)
Facts. A sister entrusted her jewellery to her brother for safe custody. After his death she sued his son for its return; the son resisted, among other things, on the ground that the plaintiff was barred by illegality.
Principle. Courts refuse to enforce an illegal agreement at the instance of a party to the illegality, but "where the parties are not in pari delicto, the less guilty party may be able to recover money paid"; the party pleading illegality must prove it. AIR 1968 SC 534 : (1968) 1 SCR 805.
Why it matters. It is the Supreme Court's statement of the in pari delicto rule and its limit.
- Kedar Nath Motani v. Prahlad Rai (1959)
Facts. Land was taken benami in the names of others to get round a clause in an estate's lease. The real owners later sued for title, and the High Court dismissed the suit for fraud and illegality.
Principle. The parties were not in pari delicto; the test is "whether the illegality goes so much to the root of the matter that the plaintiff cannot bring his action". The trial court's decree for the plaintiffs was restored. AIR 1960 SC 213 : (1960) 1 SCR 861.
Why it matters. Not every illegality in the background defeats a claim; it must be at the root of the plaintiff's case.
How to write this answer in the exam
Short answer (4–5 marks)
- Every illegal agreement is void, but not every void agreement is illegal.
- The Section 23 grounds in one line.
- The effects: no enforcement; taint on collateral deals.
- In pari delicto in one line.
- One example of each.
Long answer (10 marks)
- Section 23 and the meaning of unlawful.
- Void versus illegal, with a comparison table.
- No enforcement; ex turpi causa.
- Collateral transactions; Gherulal Parakh.
- Section 65 and in pari delicto, with exceptions; Sita Ram; Kedar Nath Motani; Mohori Bibee.
- Section 24; Sections 57 and 58 with illustrations.
- A short problem.
Key points to remember
- Illegal agreements are void. Not every void agreement is illegal.
- No action can be founded on an illegal agreement.
- A collateral deal made knowingly to further an illegal purpose is tainted. A collateral deal to a merely void agreement is not automatically tainted.
- Section 65: advantages under an agreement discovered to be void must be restored.
- Where both parties are equally at fault, the court usually leaves them where it finds them.
- Section 24: one unlawful part of a single bargain spoils the whole.
- Sections 57 and 58 save the legal part in reciprocal and alternative promises.
Quick self-test
1. Is every void agreement illegal?
No. Every illegal agreement is void, but a void agreement such as a wager or one without consideration is not illegal.
2. What does Section 58 say?
In an alternative promise with one legal and one illegal branch, only the legal branch can be enforced.
3. What is the effect of illegality on a collateral transaction?
A collateral deal made to further the illegal purpose is also unenforceable.
4. What does "in pari delicto potior est conditio defendentis" mean?
Where both parties are equally at fault, the defendant's position is stronger; the court will not help the plaintiff recover.
5. A and B agree that A will sell B a shop for ₹10,00,000, and that if B runs a gambling den there, B will pay ₹5,00,000 more. What is enforceable?
The sale for ₹10,00,000 is a contract; the second promise is void (Section 57).
6. Can a lender recover money from a minor under Section 65?
No. Section 65 starts from an agreement between competent parties (Mohori Bibee).