Contract Law notes · Topic 7 of 18

Void, Voidable, Unenforceable, and Illegal Contracts

Learn the differences between void, voidable, unenforceable, and illegal contracts under Tanzanian law and how courts treat each category.

  • Isack Kimaro, LL.B, PDLPBy Isack Kimaro, LL.B, PDLP
  • Reviewed
  • 8 min read
On this page 17 sections
  1. Introduction to Void, Voidable, and Unenforceable Contracts
  2. Meaning of a Void Agreement
  3. Legal Effect of a Void Agreement
  4. Situations that Make an Agreement Void
  5. Recovery of Benefits Under Void Agreements
  6. Meaning of a Voidable Contract
  7. Key Characteristics of Voidable Contracts
  8. Grounds that Make a Contract Voidable
  9. Rescission of Voidable Contracts
  10. Meaning of Unenforceable Contracts
  11. Example: Contracts for Sale of Land
  12. Difference Between Void and Unenforceable Contracts
  13. Illegal Contracts
  14. Consequences of Illegal Contracts
  15. The In Pari Delicto Rule
  16. Key Differences Between Void, Voidable, and Unenforceable Contracts
  17. Exam Tips and Key Takeaways

Introduction to Void, Voidable, and Unenforceable Contracts

In contract law, not every agreement made between parties becomes a fully valid and enforceable contract.

Some agreements are invalid from the beginning, others are valid but can be cancelled, while some are valid but cannot be enforced in court due to procedural requirements.

Understanding the differences between:

  • Void agreements

  • Voidable contracts

  • Unenforceable contracts

  • Illegal contracts

is extremely important for law students and legal practitioners because each category has different legal consequences.

These concepts are primarily governed by the Law of Contract Act, Cap. 345 R.E. 2023, which largely reflects principles derived from common law and the Indian Contract Act, 1872.


Meaning of a Void Agreement

Statutory Definition

According to Section 2(g) of the Law of Contract Act, Cap. 345,

A void agreement is:

“An agreement not enforceable by law.”

This means the agreement has no legal effect from the very beginning.

It is treated by the law as if it never existed at all.


A void agreement produces no legal rights and no legal obligations.

The consequences are:

  • Neither party can sue the other to enforce the agreement

  • Courts treat the agreement as legally non-existent

  • It cannot be ratified or confirmed later

Because the agreement never had legal life, it is often described as “void ab initio”, meaning void from the beginning.


Situations that Make an Agreement Void

The Law of Contract Act identifies several situations where agreements are automatically void.

1. Agreements Without Consideration

Under Section 25 of the Law of Contract Act,

An agreement made without consideration is void, unless it falls under certain statutory exceptions.

Consideration refers to something of value exchanged between parties.

Example

If A promises to give B TZS 1,000,000 as a gift with no consideration in return, the agreement is void, unless it falls under exceptions such as natural love and affection.


2. Agreements Made Under Mutual Mistake

Under Section 20 of the Law of Contract Act, an agreement is void if both parties are mistaken about a fact essential to the agreement.

Case Law

Couturier v Hastie (1856) 5 HL Cas 673

Facts:

  • Parties agreed to sell a cargo of corn believed to be in transit.

  • Unknown to them, the corn had already been destroyed.

Held:

  • The contract was void because the subject matter did not exist.

Principle:
A contract is void where both parties are mistaken about a fundamental fact affecting the agreement.


3. Agreements with Unlawful Object or Consideration

Under Section 24 of the Law of Contract Act, an agreement is void if:

  • Its object is unlawful, or

  • Its consideration is unlawful.

An object is unlawful if it:

  • Is forbidden by law

  • Defeats the provisions of any law

  • Is fraudulent

  • Causes injury to person or property

  • Is immoral or against public policy


4. Agreements in Restraint of Marriage

According to Section 26 of the Law of Contract Act,

Any agreement that restrains a person from marrying is void.

Example:

If A agrees to pay B money on the condition that B never marries, that agreement is void.


5. Agreements in Restraint of Trade

Under Section 27 of the Law of Contract Act, agreements restraining someone from carrying on a lawful profession, trade, or business are generally void.

Case Law

Nordenfelt v Maxim Nordenfelt Guns and Ammunition Co Ltd [1894] AC 535

Principle:
A restraint of trade may only be valid if it is reasonable and necessary to protect legitimate business interests.


6. Agreements in Restraint of Legal Proceedings

Under Section 28 of the Law of Contract Act, an agreement that restricts a party from enforcing their rights through legal proceedings is void.

The law protects the right of access to courts.


7. Uncertain Agreements

Under Section 29 of the Law of Contract Act, agreements whose meaning is uncertain are void.

Example

A promises to sell B “a reasonable quantity of rice.”

Because the quantity is uncertain, the agreement may be void.


8. Wagering Agreements

Under Section 30 of the Law of Contract Act, wagering agreements are void.

A wagering agreement is one where:

  • Parties bet on an uncertain future event

  • Each stands to win or lose depending on the outcome

Example:

Two people bet TZS 200,000 on the outcome of a football match.

Such agreements cannot be enforced in court.


9. Agreements Contingent on Impossible Events

Under Section 36 of the Law of Contract Act, agreements dependent on impossible events are void.

Example:

A promises to pay B if B can bring a dead person back to life.

Because the event is impossible, the agreement is void.


Recovery of Benefits Under Void Agreements

Even though a void agreement has no legal effect, the law may require parties to restore benefits received.

Section 65 of the Law of Contract Act

Section 65 provides:

When an agreement is discovered to be void, any person who has received an advantage under such agreement must restore it.

This principle prevents unjust enrichment.


Example

Julia pays Patrick TZS 500,000 under a wagering agreement.

The wager is void.

Julia can recover the money under Section 65, because Patrick would otherwise be unjustly enriched.


Meaning of a Voidable Contract

Statutory Definition

Under Section 2(i) of the Law of Contract Act, a voidable contract is:

“An agreement which is enforceable by law at the option of one or more of the parties thereto, but not at the option of the other or others.”

This means the contract is valid and enforceable, but one party has the right to cancel it.


Key Characteristics of Voidable Contracts

A voidable contract has the following features:

  • It is valid when created

  • It remains valid until rescinded

  • Only one party has the option to cancel

  • The innocent party may affirm or rescind the contract


Grounds that Make a Contract Voidable

Under the Law of Contract Act, contracts become voidable when consent is affected by certain vitiating factors.

These include:

  • Coercion – Section 15

  • Undue influence – Section 16

  • Fraud – Section 17

  • Misrepresentation – Section 18


Case Law Example

Derry v Peek (1889) 14 App Cas 337

Principle:

Fraud occurs when a false representation is made:

  • Knowingly,

  • Without belief in its truth, or

  • Recklessly.

Such misrepresentation may make a contract voidable at the option of the innocent party.


Rescission of Voidable Contracts

The process of cancelling a voidable contract is known as rescission.

Rescission restores the parties to their original position before the contract.

However, the right to rescind is subject to important rules.


Rules Governing Rescission

The right to rescind may be lost in the following circumstances:

1. Affirmation of the Contract

If the innocent party continues with the contract after discovering the defect, they are considered to have affirmed it.

The right to rescind is lost.


2. Delay

Rescission must occur within a reasonable time.

Unreasonable delay may defeat the right.


3. Rights of Third Parties

If an innocent third party acquires rights in good faith, rescission may not be possible.


4. Impossibility of Restitution

Rescission requires that parties can be returned to their original positions.

If this is impossible, rescission may be denied.


Practical Illustration

Naomi buys a car from Stanley.

Stanley falsely tells Naomi the car has never been involved in an accident.

Six months later Naomi discovers the truth.

She may:

  • Rescind the contract, return the car, and recover her money, or

  • Affirm the contract and claim damages.

But if Naomi already sold the car to an innocent buyer, rescission may no longer be possible.


Meaning of Unenforceable Contracts

An unenforceable contract is one that:

  • Is valid between the parties, and

  • Creates real rights and obligations, but

  • Cannot be enforced in court due to failure to meet legal formalities.


Example: Contracts for Sale of Land

Under Tanzanian law, certain land transactions must satisfy statutory formalities.

The relevant law is the Land Act, Cap. 113 R.E. 2019.

Contracts involving the disposition of land must generally be:

  • In writing

  • Properly executed

An oral agreement to sell land may exist between parties but may be unenforceable in court because it does not meet statutory requirements.


Difference Between Void and Unenforceable Contracts

The difference is very important.

Void Agreement:

  • Has no legal effect

  • Treated as non-existent

  • Cannot create legal rights

Unenforceable Contract:

  • Valid between parties

  • Creates legal rights

  • But courts will not enforce it

If a party voluntarily performs an unenforceable contract, they cannot demand recovery simply because the contract was unenforceable.


Illegal Contracts

Meaning

Illegal contracts are agreements whose:

  • Formation,

  • Purpose, or

  • Performance

is prohibited by law.

They are more serious than void agreements.


Consequences of Illegal Contracts

Illegal contracts have severe legal consequences.

  1. The contract is void.

  2. Neither party can sue on the contract.

  3. Money paid is generally not recoverable.

  4. Parties may face criminal liability.


The In Pari Delicto Rule

The principle of in pari delicto means:

Where both parties are equally at fault in an illegal transaction, the law leaves them where it finds them.

Courts refuse to assist either party.


Example

A agrees to pay B money to bribe a government official to secure a public procurement contract.

This agreement is:

  • Illegal

  • Void

  • Unenforceable

Neither party can go to court to enforce it, and both may face criminal prosecution under anti-corruption laws.


Key Differences Between Void, Voidable, and Unenforceable Contracts

Void Agreement:

  • Not enforceable from the beginning

  • Creates no rights

  • Cannot be ratified

Voidable Contract:

  • Valid but may be rescinded by one party

  • Remains valid until rescinded

Unenforceable Contract:

  • Valid but cannot be enforced in court

  • Usually due to procedural or evidential defects

Illegal Contract:

  • Prohibited by law

  • Courts refuse to assist either party


Exam Tips and Key Takeaways

For exams, remember the following distinctions:

Void agreements

  • No legal effect from the beginning

Voidable contracts

  • Valid but one party may cancel

Unenforceable contracts

  • Valid but courts will not enforce

Illegal contracts

  • Prohibited by law and may involve criminal liability

Always support your answers with:

  • Relevant sections of the Law of Contract Act

  • Leading case law

  • Clear legal reasoning

Understanding these distinctions is essential for answering problem questions in contract law and explaining the legal consequences of defective agreements.

Test yourself

Void vs Voidable Contracts Quiz Quiz

10 questions · instant feedback

Take the quiz

Get the Full Contract Law Notes, Quizzes and Templates

Read every topic in full, take every quiz and download court-ready templates. Plans start at TSh 5,000 a week with M-Pesa, Airtel Money, Mixx by Yas or Halotel.

Jiunge leo, usome bila kikomo.

Test yourselfVoid vs Voidable Contracts QuizTake the quiz