Explainer · Writ Petitions

Writ Petition in India: Format, Types and How to File (2026)

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, with a drafting skeleton you can adapt. Last verified November 2026.

The short answer
  • 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.

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.

WritMeaningWhat it doesTypical 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

For drafting, each writ has its own emphasis. A habeas corpus petition can be filed by the detainee or by a relative on their behalf, and should state the date, place and authority of the detention and why it is illegal; courts treat it as urgent. A mandamus petition must show three things on its face: a legal right, a public duty on the authority, and a demand that was refused or ignored, so attach your representation. Certiorari looks back at an order already passed, prohibition looks forward to stop an excess of jurisdiction, and quo warranto targets the holder of a public office rather than a decision. Courts can mould the 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

  1. 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.
  2. Collect documents. The impugned order, your representation, replies, and any proof of the facts.
  3. Draft the petition. Use the structure in the next section.
  4. Prepare the supporting affidavit. The facts in the petition must be verified on affidavit and filed with it.
  5. 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.
  6. Cure defects. The registry may return the petition with objections. Fix them and refile quickly.
  7. Get listed. The court may issue notice to the respondents, grant interim relief, or dismiss the petition at the admission stage.

Court fee and the supporting affidavit

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, so always check the current fee and the rules of your own High Court before filing. The facts in the petition must be sworn on affidavit by the petitioner or a person who knows them, true to the knowledge of the deponent, with legal submissions 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.

  1. Cause title. The court, the writ jurisdiction (for example, "Writ Petition (Civil) No. ___ of 2026"), and the names of the petitioner and respondents.
  2. 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".
  3. Index and synopsis. A list of dates and events, a short synopsis, and a list of documents with page numbers.
  4. Petition body. Numbered paragraphs covering the parties, the facts in date order, and the cause of action.
  5. Grounds. Why the action is illegal or arbitrary. Cite the right, the law and any case law that supports you.
  6. Statement on other remedies and delay. Say that you have no other remedy, or why you came directly. Explain any delay.
  7. Prayer. The exact relief sought, plus interim relief if urgent.
  8. Verification and affidavit. Signed by the petitioner, and sworn.
  9. Annexures. Documents marked in order (Annexure P-1, P-2 and so on).

This is a drafting skeleton, not a form to copy blind. Replace everything in square brackets and build each part around your own facts.

IN THE HIGH COURT OF [STATE] AT [PLACE]
   [or: IN THE SUPREME COURT OF INDIA]

     Writ Petition (Civil) No. ______ of 2026

[Name, parentage, address]                 ... PETITIONER
            VERSUS
[State / authority, address]                ... RESPONDENT(S)

PETITION UNDER ARTICLE 226 OF THE CONSTITUTION
OF INDIA FOR A WRIT OF [e.g. MANDAMUS /
CERTIORARI] OR ANY OTHER APPROPRIATE WRIT

The petitioner respectfully submits:

1. That [who the petitioner is and the right relied on].

2. That [the facts, in date order, one event per
   paragraph, leading to the impugned action].

3. That the impugned [order / inaction] dated [date] is
   illegal because [state the public law wrong].

GROUNDS
   A. Because [ground one: the right, the law, authority];
   B. Because [ground two];
   C. Because [ground three].

ALTERNATIVE REMEDY AND DELAY
   That the petitioner has no equally efficacious remedy
   [or: the statutory remedy does not apply because ...],
   and there has been no delay [or: the delay is explained
   by ...].

PRAYER
The petitioner prays that this Court be pleased to:
   (a) issue a writ of [mandamus / certiorari] [the exact
       direction sought];
   (b) grant interim relief in terms of [...];
   (c) pass any other order the Court deems fit.

                                        PETITIONER
                               Through [Advocate]

VERIFICATION
Verified at [place] on [date] that the contents of
paragraphs 1 to __ are true to my knowledge and the
rest is believed to be true on legal advice.
                                        PETITIONER

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.

PointArticle 32 (Supreme Court)Article 226 (High Courts)
CourtSupreme Court of IndiaThe High Court of the State or territory
PurposeEnforce fundamental rights onlyEnforce fundamental rights and "any other purpose", including ordinary legal rights
Alternative remedyCan be approached directly for a fundamental right violationCourts often ask you to use the statutory remedy first
Best used whenA fundamental right is breached and the issue is nationwide or urgentMost 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.

06How a PIL uses the same format

A Public Interest Litigation is a writ petition in substance, so it runs on the same spine set out above. It adds a few disclosures that PIL rules require: who the petitioner is and their background, what public interest is at stake, a statement that there is no personal motive or private gain, and whether the authorities were approached first. Several High Courts have their own PIL rules that list these, so check the rules of the court you file in.

The eligibility to file, the step-by-step process, the court fee and the caution against frivolous petitions are set out in the dedicated guide on how to file a PIL in India.

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.

08Keeping a filed writ on the calendar with Claw

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 moves through notice, interim orders, adjournments and listings, and missing one listing date can be costly, so the first value is never losing a date: you can follow a filed writ petition by party name across the 9,102 courts, benches and forums the platform tracks and see its next hearing in one place. You can also pull how courts decided a similar writ from a library of 30 crore judgments and orders that runs from the Supreme Court in 1950 and the High Courts in 1990, with results in under 5 seconds, which helps you frame grounds that have worked before. A free account covers an advocate's own matters, and documents you upload are not used to train its models. Create a FREE Claw account or run a case search across Indian courts to find the authority for your prayer.

09Sources and further reading

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 November 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.

Does the court fix the writ if I name the wrong one?

Often yes. Courts look at the substance of the relief, not just the label, and can grant the appropriate writ even if the heading names the wrong one. Even so, it is better to plead the correct writ and add the words "or any other appropriate writ" in the prayer, so the court is free to mould the relief.

Read us first

Make Claw a preferred source on Google

If our guides help you, add Claw to your preferred sources. Our legal explainers then surface first for you across Google Search, Discover and AI answers.

Add to preferred sources

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.