How-To · Litigation Process · Last verified October 2026

How to File a Compromise in a Court Case (2026)

Most disputes are better ended by agreement than by a fought-out judgment. When the parties to a civil suit settle, they do not just shake hands and walk away. They record the settlement in court, and the court passes a decree in the agreed terms. That consent decree is enforceable like any other decree and is very hard to reopen, which is exactly why it is worth doing properly. This guide explains how to file a compromise in a civil suit under the Code of Civil Procedure, what the agreement must contain, how the court records it, how the resulting decree is enforced, and the narrow ways it can be challenged. It is general information, not legal advice. Last verified October 2026.

Quick reference
  • Right: a suit settled by a lawful agreement is recorded and decreed under Order 23 Rule 3 of the Code of Civil Procedure.
  • Form: the compromise must be in writing and signed by the parties, and the terms must be lawful.
  • Result: the court records the compromise and passes a consent decree in the agreed terms, enforceable like any decree.
  • Enforcement: if the terms are broken you can execute the consent decree rather than file a fresh suit on the settlement.
  • Challenge: no appeal lies from a consent decree under Section 96(3); it can be questioned only on narrow grounds such as fraud or an unlawful agreement.

01The short answer

To file a compromise in a civil suit, the parties put their settlement in a written, signed agreement and place it before the court under Order 23 Rule 3 of the Code of Civil Procedure. If the court is satisfied that the suit has been adjusted wholly or in part by a lawful agreement or compromise, it records the compromise and passes a decree in those terms, so far as it relates to the parties and the suit.

The result is a consent decree: a court order that captures the deal and can be enforced like any decree. The two things the court cares about most are that the agreement is in writing and signed, and that it is lawful.

Order 23 Rule 3 is the provision that turns a private settlement into a court decree. It applies where the suit has been adjusted by a lawful agreement or compromise, or where the defendant satisfies the plaintiff in respect of the whole or part of the claim. On being satisfied of this, the court records the agreement or satisfaction and passes a decree accordingly.

Two points follow. First, the compromise can cover the whole suit or only part of it. Second, the court does not merely rubber-stamp the paper; it must be satisfied the agreement is lawful before recording it. For the companion provisions on withdrawing rather than settling, see Order 23 CPC on withdrawal and compromise, and for the practical side of a money settlement, see full and final settlement of disputes.

03What a lawful compromise must have

For the court to record a compromise under Order 23 Rule 3, the agreement generally has to meet these conditions:

  • In writing. The compromise must be reduced to writing. An oral claim of settlement, by itself, is not enough for the court to pass a decree.
  • Signed by the parties. The agreement must be signed by the parties who are settling, so the court can be sure of their consent.
  • Lawful. The terms must not be forbidden by law, fraudulent, or opposed to public policy. A compromise to do something illegal cannot become a decree.
  • Clear and complete. The terms should be specific, because the decree will be framed on them, and vague terms lead to fresh disputes at the enforcement stage.

Where a party disputes whether a compromise was reached, the court that passed the decree decides that question; the parties cannot start a separate suit just to say the compromise was wrongly recorded.

04How to file it, step by step

The usual sequence is:

  • Negotiate and draft the terms of settlement covering money, timelines, conduct, costs, and what happens on default, so nothing is left to argue about later.
  • Reduce it to writing and have all settling parties sign it, with proper identification, and, where a party is a company or is represented, proper authority.
  • File a joint application or compromise petition in the court where the suit is pending, placing the signed agreement on record and praying that the compromise be recorded and a decree passed in its terms.
  • Let the court verify and record it. The court checks that the agreement is lawful and voluntary, records the compromise, and passes a consent decree.

Many settlements are reached through mediation or Lok Adalat, and a Lok Adalat award has the status of a decree. If you settle during a pending suit, bringing the signed terms back to the court under Order 23 Rule 3 is what gives the deal the force of a decree. This differs from a plain withdrawal, which does not give you an enforceable order; see how to withdraw a court case.

05Enforcing a consent decree

The great advantage of recording a compromise as a decree is enforceability. If the other side does not honour the agreed terms, you do not have to file a fresh suit on the settlement; you can execute the consent decree like any other decree, seeking recovery of money, possession, or whatever the decree provides.

A settlement recorded as a consent decree is enforceable in execution. A deal that is only on paper, and not before the court, is not.

This is the practical reason to route a settlement through Order 23 Rule 3 rather than just signing a private agreement and withdrawing the case: a consent decree gives you a court order you can enforce, while a bare private settlement may leave you having to sue again if it is broken.

06Can a consent decree be challenged?

A consent decree is deliberately hard to reopen, because its whole point is finality. Under Section 96(3) of the Code of Civil Procedure, no appeal lies from a decree passed with the consent of the parties. That does not mean it can never be questioned.

The limited routes are narrow. A party may ask the same court to hold that there was in fact no lawful compromise, for example that the agreement was obtained by fraud, misrepresentation, or coercion, or that it is not lawful, under the procedure the rule itself provides. Because these routes are tight, the safest course is to be sure of the terms and your consent before the decree is passed, not after. For the appeal position generally, see how to file a first appeal against a civil decree.

07Where Claw fits

Claw is an all-in-one legaltech platform for Indian advocates, law firms, and corporate legal teams, combining AI-based case search, an AI legal assistant (Legal GPT), case management, and compliance automation across all Indian courts and tribunals.

Drafting the terms of settlement and moving the compromise are your advocate's job, and Claw does not file the compromise for you. Where Claw helps is in the research and the tracking around it. Its Legal GPT lets you research across 30 crore+ judgments, with Supreme Court decisions from 1950 and High Court decisions from 1990, so you can see how courts have treated lawful compromises and challenges to consent decrees before you settle. Claw tracks the suit across 9,102 courts, benches and forums with hearing and order alerts, so the date the compromise is to be recorded, and the consent decree when it is passed, are not missed, and any execution that follows can be followed too. You can run a case search across Indian courts by party or advocate to confirm the matter's status. Results return in under 5 seconds, and Claw does not train its AI models on your documents. A clean result means nothing was found on the forums and date searched, under the names used, not that no matter exists. This is general information, not legal advice.

08Sources and further reading

This guide is general information, not legal advice. The recording of a compromise and the framing of a consent decree depend on your facts and the court's satisfaction; confirm the current position and take advice before acting.

09Frequently asked questions

How do I file a compromise in a court case?

Put the settlement in a written agreement signed by the parties and file a joint application or compromise petition in the court where the suit is pending, under Order 23 Rule 3 of the Code of Civil Procedure. If the court is satisfied the suit has been adjusted by a lawful agreement, it records the compromise and passes a consent decree in those terms.

What makes a compromise lawful enough to be recorded?

The agreement must be in writing, signed by the settling parties, and lawful, meaning not forbidden by law, fraudulent, or opposed to public policy. The terms should be clear and complete, because the decree is framed on them. The court must be satisfied of these before it records the compromise and passes a decree.

What is a consent decree?

A consent decree, also called a compromise decree, is a decree the court passes recording a lawful settlement under Order 23 Rule 3. It captures the agreed terms and is enforceable like any decree, so if the other side defaults you can execute it rather than sue again on the settlement.

Can a consent decree be appealed?

No. Under Section 96(3) of the Code of Civil Procedure, no appeal lies from a decree passed with the consent of the parties. It can be questioned only on narrow grounds, for example that there was in fact no lawful compromise because the agreement was obtained by fraud, misrepresentation, or coercion, through the procedure the rule provides.

Is a private settlement the same as a consent decree?

No. A private settlement that is only signed between the parties is not a court order. If it is broken, you may have to sue on it. Recording the settlement in court under Order 23 Rule 3 turns it into a consent decree, which you can enforce directly in execution, which is why routing a settlement through the court is safer.

Book a demo

Thirty minutes with a Claw specialist, on your matters and your courts.

Explore CLAW

The tools behind the guides

CLAW helps Indian advocates and firms manage cases, track courts and research the law.