Quick answer
A criminal writ under Article 226 in the Allahabad High Court is used to quash an FIR during investigation, to challenge illegal detention through habeas corpus, and to challenge orders like Goonda Act externment. Where the law gives another remedy, such as Section 175(3) BNSS for FIR refusal, the court expects you to use it first.
- Law
- Article 226, Constitution
- Common use
- Quash FIR in investigation
- Illegal detention
- Habeas corpus
- After charge-sheet
- Section 528, BNSS
What is your situation?
Pick one and a lawyer can call you back about it. Only your name and number are needed.
In this guide
What to do now
Collect the FIR or order
And any proof of illegal action.
Check other remedies
Make sure no specific remedy must be used first.
Prepare petition and affidavit
State facts briefly and attach documents.
File at the correct bench
Prayagraj or Lucknow, by district.
Seek interim relief
Such as no coercive action, if justified.
What is a criminal writ?
Article 226 of the Constitution lets the High Court issue writs to enforce fundamental and legal rights. In criminal matters, the Allahabad High Court hears writs such as:
- quashing of an FIR at the investigation stage, often with a stay of arrest;
- habeas corpus, when a person is detained illegally;
- challenges to orders under the UP Control of Goondas Act (externment), preventive detention, or Gangsters Act attachment;
- directions where police action is clearly illegal.
When a writ is not the right route
If the law gives a specific remedy, the High Court usually expects you to use it first. For example, if police do not register an FIR, the route is the SP and then the magistrate under Section 175(3), BNSS (Sakiri Vasu, 2007). After a charge-sheet, quashing is sought under Section 528, BNSS rather than by writ.
Habeas corpus
If someone is held by police without being produced before a magistrate within 24 hours, or detained without legal authority, a habeas corpus petition asks the court to have the person produced and released if the detention is illegal. Preventive detention orders can also be challenged this way, on grounds like delay or failure to supply grounds.
What the petition contains
A writ petition with an affidavit, the FIR or impugned order, and documents showing the illegality. Notice goes to the State through the Government Advocate. At the first hearing the court may issue notice, grant interim protection, or dismiss. Matters from Lucknow Bench districts are filed at Lucknow.
Documents checklist
Tick what you already have. You can send the list to yourself or family on WhatsApp.
Browse tools and resourcesPapers ready? Ask a lawyer to check them
A lawyer can tell you which papers matter for your next step and what is missing. Share only your name and number to start.
No documents are needed in the first message.
Mistakes to avoid
- Using a writ when a specific remedy exists
- Hiding earlier petitions
- Delay in filing
- Filing at the wrong bench
Common questions
Sources and how this guide is written
This guide explains the law in plain language for people in Uttar Pradesh. It is general information, not advice for a specific case: the right step depends on your papers, dates and the current law.