Writ Petition in India: Format, Types and How to File (2026)
What a writ petition is, the five writs, how to file one in a High Court or the Supreme Court, and how a PIL differs, in plain English.
Explainer · Writ Petitions
A writ petition asks a High Court (under Article 226) or the Supreme Court (under Article 32) to enforce a fundamental right or a legal right against the State or a public authority. The five writs are habeas corpus, mandamus, certiorari, prohibition and quo warranto. Most people get stuck on two things: which writ fits their problem, and how to set out the petition so it is not returned for defects. This guide covers both, plus PIL basics. Last verified October 2026.
- What it is: a petition under Article 226 (High Court) or Article 32 (Supreme Court) to enforce a fundamental or legal right.
- The five writs: habeas corpus, mandamus, certiorari, prohibition and quo warranto.
- Article 32 vs 226: Article 32 covers fundamental rights only. Article 226 also covers any other legal purpose.
- Format: cause title, synopsis, facts, grounds, prayer, affidavit and annexures.
- PIL: a writ filed in the public interest, with extra disclosures and a risk of costs if misused.
01When a writ lies
A writ petition is meant for a public law wrong, not an ordinary civil dispute. It lies when a State body, a public authority or sometimes a body doing a public duty has acted illegally, or has refused to do what the law requires.
Three questions to ask first
- Is there a right to enforce? The right may be a fundamental right under Part III of the Constitution. Under Article 226, it can also be an ordinary legal right.
- Is the respondent a State body or a public authority? Writs are mainly used against the government, its agencies and public bodies. Private disputes usually belong in a civil court.
- Is there another remedy? Courts often refuse a writ if a proper appeal or statutory remedy exists and was not used. This is a rule of practice, not a bar, and there are exceptions, such as a clear breach of a fundamental right or an order passed without jurisdiction.
Delay also matters. There is no fixed limitation period for a writ, but courts expect you to come quickly and may refuse relief if you waited without good reason.
A writ is a remedy against the State and public bodies. It is not a shortcut for an ordinary civil or private dispute.
02The five writs and what each does
Article 32 and Article 226 let the courts issue directions, orders or writs, including writs in the nature of habeas corpus, mandamus, prohibition, quo warranto and certiorari. Each writ answers a different kind of problem.
| Writ | Meaning | What it does | Typical use |
|---|---|---|---|
| Habeas corpus | "You may have the body" | Orders the person holding someone to produce them before the court so the legality of the detention can be checked. | Illegal detention by police or an authority |
| Mandamus | "We command" | Directs a public authority or official to perform a legal duty it has failed or refused to perform. | Authority sitting on a licence, pension or service claim it must decide |
| Certiorari | "To be certified" | Quashes an order of a lower court, tribunal or authority that acted without jurisdiction, broke natural justice, or made a clear legal error. | Challenging a tribunal or administrative order |
| Prohibition | "To forbid" | Stops a lower court or tribunal from going beyond its jurisdiction while a matter is still pending. | Stopping a proceeding the body has no power to hear |
| Quo warranto | "By what authority" | Asks a person holding a public office to show the legal authority for holding it. | Challenging an unqualified or illegal appointment |
Habeas corpus petition
This is the most urgent writ. A habeas corpus petition can be filed by the detained person or by a relative or friend on their behalf. Courts usually treat it as a priority matter. State the date, place and authority of the detention and why it is illegal.
Mandamus petition
A mandamus petition format must show three things: the petitioner has a legal right, the authority has a public duty, and you made a demand that was refused or ignored. Attach your representation or notice to the authority. Without it, the court may ask why you did not first approach the authority.
Certiorari, prohibition and quo warranto
Certiorari looks back at an order already passed. Prohibition looks forward and stops excess before it happens. Quo warranto targets the person holding a public post, not a decision. Pick the writ by the problem, but note that courts are flexible and can grant the right relief even if the heading names the wrong writ.
03How to file a writ petition
You file a writ petition in the High Court that has territorial jurisdiction, or directly in the Supreme Court if a fundamental right is involved. The steps are similar, but each High Court has its own rules, so check them first.
Step by step
- Choose the court. Usually the High Court where the cause of action arose, or where the authority is located. Go to the Supreme Court under Article 32 only for a fundamental rights violation.
- Collect documents. The impugned order, your representation, replies, and any proof of the facts.
- Draft the petition. Use the structure in the next section.
- Prepare the supporting affidavit. The facts in the petition must be verified on affidavit and filed with it.
- Pay the court fee and file. Filing is through an advocate or in person where the rules allow, and many courts also accept e-filing.
- Cure defects. The registry may return the petition with objections. Fix them and refile quickly.
- Get listed. The court may issue notice to the respondents, grant interim relief, or dismiss the petition at the admission stage.
Court fee
Court fee for a writ petition is small and differs by High Court. As one example, the Delhi High Court lists a fee of Rs 100 for a writ petition and Rs 250 for a habeas corpus petition. Always check the current fee and the rules of your own High Court before filing.
The supporting affidavit
The affidavit is sworn by the petitioner, or by a person who knows the facts. It states that the facts in the petition are true to the deponent’s knowledge, and that legal submissions are believed true on advice. A weak or missing affidavit is one of the most common reasons for objections.
04Format of a writ petition
A writ petition format has a clear, repeatable order. Every High Court has small variations, so treat this as the common spine and check your court’s rules.
- Cause title. The court, the writ jurisdiction (for example, "Writ Petition (Civil) No. ___ of 2026"), and the names of the petitioner and respondents.
- Heading of the petition. State that it is filed under Article 226 (or Article 32), and the writ or direction you seek, such as "a writ of mandamus or any other appropriate writ".
- Index and synopsis. A list of dates and events, a short synopsis, and a list of documents with page numbers.
- Petition body. Numbered paragraphs covering the parties, the facts in date order, and the cause of action.
- Grounds. Why the action is illegal or arbitrary. Cite the right, the law and any case law that supports you.
- Statement on other remedies and delay. Say that you have no other remedy, or why you came directly. Explain any delay.
- Prayer. The exact relief sought, plus interim relief if urgent.
- Verification and affidavit. Signed by the petitioner, and sworn.
- Annexures. Documents marked in order (Annexure P-1, P-2 and so on).
Keep it tight
Courts read the synopsis, the grounds and the prayer first. A clear date chart and one precise prayer help more than long pages of argument.
05Article 226 vs Article 32
Both Articles give the power to issue writs, but their reach differs. Article 32 is itself a fundamental right and is limited to Part III rights. Article 226 gives High Courts a wider power.
| Point | Article 32 (Supreme Court) | Article 226 (High Courts) |
|---|---|---|
| Court | Supreme Court of India | The High Court of the State or territory |
| Purpose | Enforce fundamental rights only | Enforce fundamental rights and "any other purpose", including ordinary legal rights |
| Nature of right | A fundamental right in itself | A constitutional power of the High Court |
| Against whom | The State and authorities | Any person or authority within its territory, including the government |
| Alternative remedy | Can be approached directly for a fundamental right violation | Courts often ask you to use the statutory remedy first |
| Best used when | A fundamental right is breached and a nationwide or urgent issue is involved | Most writ matters, as the first and nearest forum |
In practice, most writ petitions go to the High Court first. The Supreme Court has said it prefers litigants to approach the High Court where it can give the same relief, and Article 32 petitions are best kept for clear fundamental rights issues.
06PIL basics
A Public Interest Litigation (PIL) is a writ petition filed to protect the interest of the public or a group that cannot easily reach the court. It is filed under Article 226 in a High Court or Article 32 in the Supreme Court.
Who can file
Courts relaxed the old rule of locus standi, so a person who is not personally affected can file a PIL for people who are poor, disadvantaged or unable to approach the court. This idea grew through cases such as S. P. Gupta v. Union of India. The courts also accept letters or postcards as petitions in some cases.
PIL format
The PIL format is close to a normal writ petition, with extra points that courts look for. Many High Courts have their own PIL rules. For example, the Delhi High Court has Public Interest Litigation Rules that ask the petitioner to disclose details such as who they are, what public interest is involved, and that they have no personal motive.
- Details of the petitioner and their background.
- The public interest or group affected, and the facts with proof.
- A statement that the petitioner has no personal interest or private gain.
- Whether the petitioner has approached the authorities first.
- Whether any similar petition has been filed before.
Courts can dismiss a PIL that is filed for publicity or a private motive, and may impose costs. Make it factual, specific and backed by documents.
07Common mistakes that get a writ returned or dismissed
- Wrong forum or wrong respondent. Naming a private party where no public duty is involved, or filing in a High Court with no territorial link.
- Skipping the alternative remedy. Going straight to court when a statutory appeal is open and no exception applies.
- Unexplained delay. Waiting months or years without a reason.
- Vague prayer. Asking for "justice" instead of a specific direction, order or quashing.
- Missing annexures or a defective affidavit. This causes registry objections and lost days.
- Not tracking the matter. Writ matters move through notices, interim orders and adjournments. Missing a listing date can be costly.
After filing, you will want the case number and listing status. See our guide on how to check Delhi High Court case status for one example of how that works.
08Where 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.
A writ matter moves through notice, interim orders, adjournments and listings, and missing a single listing date can be costly. Claw tracks cases, orders and hearings across 9,102 courts, benches and forums, with results in under 5 seconds, so a writ petition and its next date sit in one place with alerts. Its judgment research spans 30 crore+ judgments, with the Supreme Court covered from 1950 and High Courts from 1990, so you can see how courts have decided similar writs. Claw does not use customer documents to train AI models.
Create a FREE Claw account to track a writ petition by party name and get listing and order alerts. To search the wider body of law, see case search across Indian courts.
09Sources and further reading
- Constitution of India (Articles 32 and 226): indiacode.nic.in
- Supreme Court of India: sci.gov.in
- Delhi High Court (PIL rules and court fee notices): delhihighcourt.nic.in
- Claw: clawlaw.in
This is general information, not legal advice. Court fees, forms and rules differ by High Court and change over time, so confirm with your court before filing. Last verified October 2026.
10Frequently asked questions
What is a writ petition in India?
A writ petition is a request to a High Court under Article 226, or the Supreme Court under Article 32, to enforce a fundamental right or legal right. The court can issue one of five writs: habeas corpus, mandamus, certiorari, prohibition or quo warranto.
How do I file a writ petition?
Pick the right court, collect the impugned order and documents, draft the petition with grounds and prayer, add a supporting affidavit, pay the court fee, and file. Check your High Court rules first, since fees and formats differ.
What is the difference between Article 226 and Article 32?
Article 32 lets you go to the Supreme Court only for a fundamental right. Article 226 lets you go to the High Court for fundamental rights and for any other legal purpose, so it has a wider reach. Most writs start in the High Court.
What is the format of a PIL?
A PIL follows the writ petition format, with added details on who the petitioner is, the public interest involved, and a statement of no personal motive. Many High Courts have their own PIL rules, so check them before drafting.
What is the court fee for a writ petition?
It is small and differs by High Court. The Delhi High Court lists Rs 100 for a writ petition and Rs 250 for habeas corpus. Confirm the current fee with your court before filing.
Can I track my writ petition in Claw?
Yes. You can track the matter, hearings and cause lists in Claw, with calendar reminders and alerts. Claw has a free plan for individual advocates, with paid plans for teams and enterprises. It does not file the petition for you.