Explainer · Civil Procedure · CPC
Withdrawal and Compromise of a Suit (Order 23 CPC) (2026)
Order 23 of the Code of Civil Procedure, 1908 covers two ways a suit can end without a full trial: the plaintiff withdraws it, or the parties settle it by a compromise. The difference between them has real consequences, because a withdrawal without the court permission usually bars a second suit, while a compromise is recorded as a decree. This explainer sets out when a plaintiff may withdraw, when the court grants liberty to file afresh, the bar that follows a withdrawal without leave, and what the court checks before recording a compromise. Last verified November 2026.
- Two routes: Order 23 CPC covers withdrawal of a suit (Rule 1) and compromise of a suit (Rule 3).
- Liberty to refile: the court may allow withdrawal with leave to file afresh where there is a formal defect or other sufficient ground.
- The bar: withdrawal without the court leave bars a fresh suit on the same subject matter (Rule 1(4)).
- Compromise: recorded as a decree only if the agreement is lawful, in writing, and signed by the parties.
01Why withdrawal and compromise are different
A plaintiff who wants to walk away from a suit, and parties who want to settle, are doing two very different things in law. A withdrawal ends the plaintiff own case. A compromise turns an agreement between the parties into a decree the court will enforce.
Getting the label right is not a formality. A withdrawal without the court leave shuts the door on a fresh suit on the same subject. A compromise recorded under Rule 3 binds both sides and can be executed like any other decree. The Supreme Court has shown how much turns on which rule applies, treating a document as a compromise rather than a simple withdrawal, with opposite results for the parties.
02What Order 23 covers
Order 23 of the CPC has two working parts.
- Rule 1, withdrawal and abandonment: a plaintiff may, at any time after the suit is filed, abandon the suit or part of a claim. The court may, in the situations the rule allows, grant leave to file a fresh suit.
- Rule 1(4), the bar: a plaintiff who withdraws or abandons without the court leave is barred from suing again on the same subject matter, and is liable for the costs.
- Rule 3, compromise: where the court is satisfied that a suit has been adjusted wholly or in part by a lawful agreement or compromise in writing and signed by the parties, it records the agreement and passes a decree on its terms.
- Rule 3A and Rule 3B: a separate suit to set aside a compromise decree on the ground that it was not lawful is barred, and a compromise in a representative suit needs the court prior permission.
Settlement outside court still comes back to Rule 3
Even where parties settle in mediation or a Lok Adalat, the terms usually return to the court under Order 23 Rule 3 to be recorded as a decree, so that the settlement can be enforced. A settlement that is not recorded is harder to enforce.
03Withdrawal with and without liberty
There are two kinds of withdrawal under Rule 1, and they lead to very different outcomes.
- Withdrawal with liberty to file afresh: the court may allow this where the suit must fail because of a formal defect, or where there are other sufficient grounds for allowing a fresh suit on the same subject. The court can impose terms, such as costs.
- Withdrawal without liberty: the plaintiff simply abandons the suit or a part of it. This is allowed, but it carries the bar in Rule 1(4).
A formal defect means a defect of form or procedure, not a weakness in the merits of the claim. A plaintiff who realises the case is weak cannot use Rule 1 to withdraw and reframe the same claim later; liberty is for genuine formal or technical problems, not a second attempt on the merits.
04The bar on a second suit
Rule 1(4) is the sting in the tail. A plaintiff who withdraws or abandons a suit, or part of a claim, without the court leave is precluded from bringing a fresh suit on the same subject matter. The plaintiff is also liable for such costs as the court awards.
This bar works alongside the rule against splitting claims under Order 2 Rule 2. Both push a plaintiff to bring the whole dispute in one properly framed suit, rather than abandoning and re-litigating in pieces. The safe course, if there may be a need to sue again, is to ask for liberty to file afresh at the time of withdrawal, and to get that liberty recorded in the order.
05Recording a compromise
Under Rule 3, the court can record a compromise only if it is satisfied of three things: that the suit has been adjusted wholly or in part, that the adjustment is by a lawful agreement or compromise, and that the agreement is in writing and signed by the parties. Once satisfied, the court passes a decree on the agreed terms, to the extent they relate to the suit.
The court has a duty to check that the compromise is lawful before recording it. Where a party disputes whether a compromise was reached or whether it was lawful, the same court decides that question; a separate suit to set aside the decree is barred by Rule 3A. In a representative suit, the court must give notice and grant permission under Rule 3B, or the compromise is not valid.
A withdrawal ends the plaintiff own case. A compromise turns the parties agreement into a decree the court will enforce.
06How courts read Order 23
Courts look at the substance of what the parties did, not just the label on the document. A petition headed as a withdrawal may be read as a compromise if its terms show that the dispute was settled on agreed terms, and the opposite is also true. The consequences follow from the true nature of the act.
Courts also guard the public interest built into the rule. The bar in Rule 1(4) and the lawfulness check in Rule 3 both exist to stop abuse: a plaintiff should not get repeated attempts at the same claim, and a compromise should not be rubber stamped if it is unlawful. Where a court needs to act beyond the express rules to prevent an abuse of its process, it may fall back on its inherent powers under Section 151 of the CPC.
07Test a withdrawal or compromise against the case law
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.
The choice between withdrawing with liberty to file afresh and recording a settlement as a compromise decree is easier to make once you have seen how courts read the same documents. Claw lets you search more than 30 crore judgments and orders on that question, bringing Supreme Court rulings from 1950 and High Court rulings from 1990 into one query that returns in under 5 seconds. For a matter heading into settlement talks, it also follows the listings and orders by party name across 9,102 courts, benches and forums, so a withdrawal or compromise application never catches you unprepared. The account is free, and the papers you upload are not used to train its models. Create a FREE Claw account, or run a case search across Indian courts to see how a similar settlement was treated.
08Sources and further reading
- India Code (official text of the CPC, 1908): indiacode.nic.in
- Order 23, CPC (bare text): devgan.in/cpc
- iPleaders (commentary on withdrawal and compromise): blog.ipleaders.in
This explainer is general information, not legal advice. The rule is applied on the facts of each case, so check the current text and take advice from counsel before you act.
09Frequently asked questions
What is Order 23 CPC?
Order 23 of the Code of Civil Procedure, 1908 governs the withdrawal and the compromise of a suit. Rule 1 lets a plaintiff withdraw or abandon a suit, with or without the court leave to file afresh. Rule 3 lets the court record a lawful written compromise and pass a decree on its terms.
Can I file a fresh suit after withdrawing?
Only if the court granted you liberty to file afresh at the time of withdrawal. Under Rule 1(4), a plaintiff who withdraws without the court leave is barred from suing again on the same subject matter, and is liable for costs.
When will a court grant liberty to file afresh?
The court may grant liberty where the suit must fail because of a formal defect, or where there are other sufficient grounds for allowing a fresh suit on the same subject. A formal defect is a defect of form or procedure, not a weakness in the merits.
What does a court check before recording a compromise?
Under Rule 3, the court must be satisfied that the suit has been adjusted wholly or in part by a lawful agreement or compromise, in writing and signed by the parties. It then passes a decree on the agreed terms. A compromise in a representative suit also needs the court prior permission under Rule 3B.
Can a compromise decree be challenged by a separate suit?
No. Rule 3A bars a separate suit to set aside a compromise decree on the ground that the compromise was not lawful. The party must raise that objection before the same court that recorded the compromise.
What is a formal defect that allows withdrawal with liberty?
A formal defect is a defect of form or procedure that would make the suit fail, such as a misdescription of parties, a valuation or court-fee error, or a want of proper notice, rather than a weakness in the merits. The court may let the plaintiff withdraw with liberty to file afresh to cure such a defect, but not to re-argue a claim that is simply weak.