Sections 24 to 30 of the Indian Contract Act, 1872 list the main agreements the law treats as void: those with partly unlawful objects, no consideration, restraint of marriage, restraint of trade, restraint of legal proceedings, uncertain meaning and wagers. This guide gives a one-glance table and then the points examiners keep testing.
The seven sections at a glance
| Section | Subject | Rule in one line |
|---|---|---|
| 24 | Partly unlawful object or consideration | Whole agreement void if any one object, or any part of a single consideration, is unlawful |
| 25 | No consideration | Void, unless in writing and registered out of natural love and affection, or compensation for past voluntary service, or a signed written promise to pay a time-barred debt |
| 26 | Restraint of marriage | Void for every person other than a minor |
| 27 | Restraint of trade | Void, except sale of goodwill and a few partnership cases |
| 28 | Restraint of legal proceedings | Void if it bars ordinary remedies absolutely or sets a shortened limit |
| 29 | Uncertainty | Void if meaning is not certain or capable of being made certain |
| 30 | Wager | Void, and no suit lies to recover the winnings |
Section 24: single consideration or divided
If one consideration supports several objects and any part of it is unlawful, the whole agreement is void. Where separate considerations support separate objects, courts may enforce the lawful part, so the lawful and unlawful parts must be separable. Exams usually ask you to spot whether the consideration is single or divided.
Section 27 is stricter than English law
Indian courts do not apply a reasonableness test to a restraint on trade. A clause stopping a person from carrying on a trade after the contract ends is void unless a statutory exception applies. In Niranjan Shankar Golikari v Century Spinning (AIR 1967 SC 1098) a restraint operating during the term of employment was upheld, since it only protects the employer while the contract subsists. In Percept D’Mark (India) v Zaheer Khan ((2006) 4 SCC 227) a post-term restraint was held void under this section.
Want everything in one place?
Law of Contract Semester Notes for LL.B. and LL.M. (Rs. 599). Eight units on Contract I and II with sections, a case index, worked problems and model answers. Read online on the site, instant access, no expiry.
View the packSection 29 and section 30 in practice
Section 29 does not rescue vague language. An agreement to sell “a hundred tons of oil” fails unless the kind of oil can be fixed from the agreement or from some means it names. Section 30 applies to a wager, which needs an uncertain event, reciprocal gain and loss, and no other interest in the event than the stake. There is a narrow exception for subscriptions to a horse-race prize of Rs. 500 or more.
Void, voidable and illegal are different
A void agreement is not enforceable but is not necessarily forbidden. In Gherulal Parakh v Mahadeodas Maiya (AIR 1959 SC 781) the Supreme Court held that a wager is void under section 30 yet is not “forbidden by law” under section 23, so a collateral partnership to carry it on was not struck down. Contrast this with an unlawful object under section 23, which taints connected transactions.
Where an agreement is found void, section 65 requires a person who received an advantage under it to restore it or compensate for it. Newer statutes can add penalties on top of voidness, for example the Promotion and Regulation of Online Gaming Act, 2025, so check the current bare Act for money games.
Exam traps
- “Every agreement without consideration is void.” Wrong: section 25 itself lists the three exceptions, and the first needs writing, registration and natural love and affection between near relations.
- “Section 27 allows reasonable restraints.” Wrong: that is English common law; the Indian section applies no reasonableness test and has only listed exceptions.
- “A void wager makes every related contract void.” Wrong: Gherulal Parakh held collateral agreements are not hit, because a wager is void, not forbidden.
- “Section 26 protects minors from restraints.” Wrong: the section excludes minors, so a restraint on a minor’s marriage is not covered by it.
Memory line
Twenty-four partial, twenty-five bare, twenty-six marriage, twenty-seven trade, twenty-eight courts, twenty-nine vague, thirty bets.
Prepare with the complete pack
Law of Contract Semester Notes for LL.B. and LL.M. (Rs. 599). Eight units on Contract I and II with sections, a case index, worked problems and model answers. Read online on the site, instant access, no expiry.
View the packMore free Law of Contract guides
Last updated: 4 December 2026. Law is stated as on 3 December 2026 under the Bharatiya Nyaya Sanhita, Bharatiya Nagarik Suraksha Sanhita and Bharatiya Sakshya Adhiniyam, 2023 (in force 1 July 2024). Check the current bare Act and the latest judgments before relying on a point.
Disclaimer: This guide is for study and general information only. It is not legal advice. Lexfolio is an independent publisher and is not connected with any university, court or examining body.
Useful books for this topic
- Bare acts of the new criminal laws (BNS, BNSS, BSA)
- Code of Civil Procedure bare act
- Legal drafting and conveyancing books
- Constitution of India (coat pocket edition)
As an Amazon Associate, Lexfolio earns from qualifying purchases. Prices and availability are shown on Amazon.
Learn this properly, with a certificate. Police and FIRs, consumer and bank fraud complaints, property, wills and inheritance, work rights, family law, cyber fraud and RTI, in plain English. Certificate Course in Everyday Law for Every Indian, ₹349: self-paced lessons, module quizzes and a final test; pass at 60% for a verifiable Lexfolio certificate.
Leave a Reply