These are two different remedies aimed at two different problems, and people constantly conflate them.
- Anticipatory bail protects you from custody. The case continues.
- Quashing ends the case itself.
Where quashing is sought
Before the High Court, under its inherent powers, now Section 528 of the BNSS, which carries forward Section 482 CrPC. Article 226 is also invoked in appropriate cases.
When courts actually quash
The categories come from State of Haryana v. Bhajan Lal (1992):
- The allegations, even taken at face value, do not make out any offence
- The allegations are absurd and inherently improbable
- There is an express legal bar to the proceeding
- The proceeding is manifestly attended with mala fides or an ulterior motive
- A purely civil or contractual dispute has been given a criminal colour
Quashing on the basis of a settlement
Where the parties have genuinely settled, the High Court can quash even non-compoundable offences, on the reasoning in Gian Singh v. State of Punjab (2012). But there is a line. Courts do this in matrimonial, family and commercial disputes. They will not do it for serious offences against society, however willing the complainant is.
Ask whether the FIR discloses an offence if you assume every word of it is true. If it does, quashing is uphill and the fight is at trial. If it does not, or if the dispute is plainly civil, a quashing petition is the right remedy and should be filed early, before a chargesheet hardens the position.