Business Laws · The Indian Contract Act, 1872
Legality of Object and Void Agreements (CA Foundation Business Laws)
Updated 4 October 2026 · Fact-checked
Legality of object means an agreement is valid only if its consideration and object are lawful. Under section 23, anything forbidden by law, fraudulent, injurious, immoral or against public policy is unlawful and void. Sections 26 to 28 also void restraints on marriage, trade and legal proceedings. Name the rule, apply the facts, conclude.
Understand Legality of Object and Void Agreements
A contract needs more than an offer, acceptance and consideration. Section 10 says an agreement becomes a contract only if it is made for a lawful consideration and with a lawful object, and is not expressly declared void. If either is unlawful, the law will not enforce the agreement.
Section 23 tells you when consideration or object is unlawful. It is unlawful if it is: (1) forbidden by law; (2) of such a nature that, if permitted, it would defeat the provisions of any law; (3) fraudulent; (4) involves or implies injury to the person or property of another; or (5) regarded by the Court as immoral or opposed to public policy. Every agreement with an unlawful object or consideration is void.
Section 24 deals with partly unlawful agreements. If any part of a single consideration for one or more objects is unlawful, or any one or any part of any one of several considerations for a single object is unlawful, the whole agreement is void. Section 57 is the exception to remember. If parties make two separate sets of reciprocal promises, one legal and one illegal, the legal set is a contract and the illegal set is a void agreement.
The Act also names specific agreements that are void. Section 26: restraint of marriage of any person other than a minor. Section 27: restraint of trade, void to that extent, with one exception for sale of goodwill. Section 28: restraint of legal proceedings, void to the extent of the restriction, with exceptions for arbitration and certain bank guarantees. Section 29: agreements whose meaning is not certain or capable of being made certain. Sections 36 and 56 cover impossible events and impossible acts.
Wagering agreements are also void. A wagering agreement is a promise to pay money or money's worth on an uncertain event, where each side may win or lose and neither has any interest in the event beyond the stake. It differs from a contingent contract, such as insurance, where the parties have a real interest in the event. The text supplied to us does not cover the wagering section, so learn its number from your study material.
Key rules to remember
- Valid contract test (section 10)
- Free consent + competent parties + lawful consideration + lawful object + not expressly void = contract
- Unlawful consideration or object takes the agreement out of this test.
- Unlawful heads (section 23)
- Forbidden by law | defeats a law | fraudulent | injury to person or property | immoral or opposed to public policy
- Any one head is enough. The agreement is void. Memory aid: F-D-F-I-I/P.
- Partly unlawful agreement (section 24)
- Any part of a single consideration for one or more objects unlawful, or any one or any part of any one of several considerations for a single object unlawful → whole agreement void
- Both limbs make the whole agreement void. Contrast with section 57, where separate legal and illegal sets of promises are split.
- Legal and illegal promises (section 57)
- First set legal → contract; second set illegal → void agreement
- Applies where the promises are reciprocal and clearly in two sets.
- Restraint of marriage (section 26)
- Agreement in restraint of marriage of any person other than a minor → void
- Minors are outside this section, so do not call every marriage restraint void.
- Restraint of trade (section 27)
- Restraint on lawful profession, trade or business → void to that extent
- Exception 1: seller of goodwill may agree not to carry on a similar business within specified local limits, so long as the buyer carries on a like business there, if the Court finds the limits reasonable.
- Restraint of legal proceedings (section 28)
- Absolute restriction on enforcing rights by usual legal proceedings, or limit on time to enforce, or extinguishing rights on expiry of a period → void to the extent
- Exceptions: arbitration of future disputes (only the awarded amount recoverable), arbitration of existing disputes (contract in writing), and certain bank or financial institution guarantee terms (specified period not less than one year).
- Uncertainty (section 29)
- Meaning not certain or capable of being made certain → void
- Example: 'a hundred tons of oil' with nothing to show the kind of oil.
- Impossibility (sections 36 and 56)
- Agreement to do an act impossible in itself → void. Contingent on an impossible event → void.
- A contract that later becomes impossible or unlawful becomes void when it does. A promisor who knew or could have known of the impossibility must compensate the promisee who did not know.
How to solve Legality of Object and Void Agreements questions
Use this provision-facts-conclusion method for any problem on void agreements. Examiners give step marks for each stage.
- 1Read the facts and list what each party promises. Identify the consideration and the object separately.
- 2Ask whether the agreement has a lawful consideration and a lawful object (section 10). If the question mentions crime, fraud, bribery, immorality or public interest, test it against the five heads of section 23.
- 3If the facts show a restraint, match it to the specific section: marriage (26), trade (27), legal proceedings (28).
- 4Check for exceptions: goodwill sale, arbitration, minor in marriage restraint, bank guarantee period. Many questions are built around an exception.
- 5Check for uncertainty (29), impossibility (36, 56) and wagering if the facts involve a bet or an uncertain event.
- 6If only part of the agreement is bad, decide between section 24 (whole void) and section 57 (legal set stands as a contract).
- 7State the conclusion clearly: valid, void in whole, or void to the extent. Add the consequence in one line.
Quickest way: Trigger-word scan
When to use it: Use when you have little time and the facts are short. It works well for 2 to 3 mark questions and for deciding the structure of a longer answer.
- Underline the trigger words: 'not to marry', 'not to carry on business', 'cannot go to court', 'bet', 'bribe', 'prosecution', 'any kind of oil'.
- Map each trigger to a section: marriage to 26, business to 27, court to 28, uncertain meaning to 29, crime or immorality to 23.
- Write the rule in one sentence, using the exact words of the section.
- Check the exception in one line, such as goodwill, arbitration or minor.
- Write the conclusion with the word 'void' or 'valid' and, where it applies, 'to that extent'.
Common mistakes in Legality of Object and Void Agreements
Writing that a restraint of trade agreement is always completely void.
Students remember the heading 'void' and forget the words 'to that extent' and the goodwill exception.
Fix: Quote section 27 fully and test the goodwill exception: a seller of goodwill, within specified local limits, so long as the buyer carries on a like business, and the limits are reasonable to the Court.
Calling every restraint of marriage void without the minor carve-out.
Students learn the short title 'restraint of marriage void'.
Fix: Section 26 voids agreements in restraint of the marriage of any person 'other than a minor'. Mention this wording when facts involve a minor.
Treating all agreements with an arbitration clause as void under section 28.
Students read only the first part of the section.
Fix: Remember Exception 1: a contract may refer future disputes to arbitration, with only the amount awarded recoverable. Exception 2 covers written agreements to refer existing disputes to arbitration.
Mixing up section 24 and section 57.
Both deal with partly lawful agreements, and the wording is similar.
Fix: Under section 24 the whole agreement is void if any part of a single consideration for one or more objects is unlawful, or if any one or any part of any one of several considerations for a single object is unlawful. Under section 57, if there are two clear sets of reciprocal promises, one legal and one illegal, the legal set is a contract and only the illegal set is void.
Confusing a wagering agreement with a contingent contract.
Both depend on an uncertain event.
Fix: A wager is a mere stake on the event, where each side may win or lose and has no other interest in it. A contingent contract, such as insurance, involves a real interest in the event. Write this test as your reason.
Stating the conclusion without applying section 23's specific head.
Students write 'it is against public policy' for everything.
Fix: Pick the exact head that fits the facts: fraud, defeating a law, injury, forbidden by law, or immoral or opposed to public policy. Link the facts to that head.
Worked examples
Example 1
Raj sells his bakery business with its goodwill to Meera. He agrees not to carry on a bakery business within 5 km of the shop in Pune for as long as Meera carries on a like business there. Later Raj opens a bakery 2 km away. Meera sues. Is the agreement valid?
Show the solution
- Provision: section 27 says an agreement restraining a lawful profession, trade or business is void to that extent. Exception 1 saves an agreement by a seller of goodwill not to carry on a similar business within specified local limits, so long as the buyer carries on a like business there, provided the Court finds the limits reasonable.
- Facts: Raj sold goodwill. The restraint is limited to 5 km in Pune. It lasts only while Meera carries on a like business. The business is a bakery.
- Application: reasonableness is for the Court to decide. Subject to the Court finding the 5 km limit reasonable for a bakery, the conditions of Exception 1 are met and the restraint is saved by the exception, so it is not void under section 27.
- Raj's new bakery is 2 km away, which is inside the specified limit. If the restraint is upheld, he has broken the agreement.
Answer: The agreement is valid under Exception 1 to section 27, subject to the Court finding the 5 km limit reasonable. If it does, Raj is bound by it and Meera can enforce it.
Example 2
A agrees to sell his house to B for ₹10,00,000. They also agree that if B uses the house as a gambling house, B shall pay A ₹50,00,000 for it. Examine the validity of the agreement.
Show the solution
- Provision: section 10 requires a lawful consideration and a lawful object. Section 23 makes an agreement void if its object is forbidden by law or opposed to public policy. Section 57 covers reciprocal promises, some legal and some illegal.
- Facts: the sale of the house for ₹10,00,000 is a legal set of reciprocal promises. The promise to pay ₹50,00,000 if the house is used for gambling has an unlawful object.
- Application: the two sets are separate and reciprocal, so section 24 does not make the whole void. Section 57 applies instead.
- Result: the first set is a contract and the second set is a void agreement.
Answer: The sale of the house for ₹10,00,000 is a valid contract. The promise to pay ₹50,00,000 on use as a gambling house is a void agreement and cannot be enforced.
Exam tips
- Quote the section number and its key words, such as 'to that extent'. Do this only for the sections you are sure of: 10, 23, 24, 26, 27, 28, 29, 36, 56 and 57.
- Always check for an exception before writing 'void'. Goodwill, arbitration, minor and the legal set of promises under section 57 are the usual exam traps.
- In case-style questions, use a three-line structure: provision, facts applied, conclusion. Keep each part to one or two lines.
- For the wagering versus contingent contract difference, write 3 to 4 points: meaning, interest in the event, whether enforceable, and an example such as a bet versus insurance.
- Use the section's own illustrations as examples. They are safe and short.
Practice questions from The Indian Contract Act, 1872
- Rohan, aged 17, enters into a contract to buy a motorcycle from Sunil on credit and takes delivery. Later, on being sued for the price, Roha…
- Meera, a resident of Pune, sees a newspaper advertisement by Kapoor Traders stating that the first 50 customers to visit the shop on Monday …
- Dev promises to pay Rs 10,000 to Imran if Imran's horse wins a race next month. Imran's horse does win. Dev refuses to pay. Which statement …
Legality of Object and Void Agreements: frequently asked questions
What is the difference between a void agreement and a void contract?
A void agreement has no legal effect from the start, as with an agreement with an unlawful object under section 23. A contract that was valid when made but later becomes unenforceable, for example because performance becomes impossible under section 56, is called a void contract in the usual teaching of the Act.
Is a restraint of trade clause always void?
Section 27 voids every agreement restraining a lawful profession, trade or business, to that extent. The only exception in the text is for the seller of goodwill, within reasonable specified local limits. Write both parts in your answer.
How does a wagering agreement differ from a contingent contract?
In a wagering agreement, each party stands to win or lose money on an uncertain event, and neither has any interest in it other than the stake. A contingent contract, like insurance, depends on a future event in which the parties have a genuine interest. Wagering agreements are void, while valid contingent contracts are enforceable.
What happens if only part of an agreement is unlawful?
Under section 24, the whole agreement is void if any part of a single consideration for one or more objects is unlawful, or if any one or any part of any one of several considerations for a single object is unlawful. Section 57 is different: where legal and illegal promises are in separate sets, the legal set is a contract.
Is an arbitration clause void under section 28?
No. Exception 1 allows a contract to refer future disputes to arbitration, with only the awarded amount recoverable. Exception 2 allows a written contract to refer existing disputes to arbitration.