Skip to content
The Law Easy

What is a Writ and How to File Writ Petitions

Understanding the importance of writs in enforcing Fundamental Rights in India.

20 min read Published Updated 119,298 views

Cover: What is a Writ and How to File Writ Petitions
On this page

A right is only as strong as the remedy that protects it. This article explains what a writ is, how the five writs (habeas corpus, mandamus, prohibition, certiorari and quo warranto) work, which leading cases shaped them, and how a writ petition is filed in the Supreme Court or a High Court. Its aim is to show why writs matter so much in enforcing Fundamental Rights in India.

Introduction

The Constitution does more than set out the structure of the different branches of government and how they relate to each other. It also lists the rights of the people.

The leaders of India's freedom struggle understood how important rights were. In 1928, the Motilal Nehru Committee even called for a “Bill of Rights.” So when India became independent and the Constitution was being drafted, everyone agreed that rights should be included in it and protected.

Part III of the Constitution contains certain protected rights known as Fundamental Rights. They are called “fundamental” because a person needs them to reach their full intellectual, moral and spiritual potential. Fundamental Rights also remind the government that it must respect certain liberties that the Constitution guarantees to the people.

List of Fundamental Rights

Part III groups the Fundamental Rights under six heads:

  1. Right to Equality (Articles 14-18)
  2. Right to Freedom (Articles 19-22)
  3. Right Against Exploitation (Articles 23-24)
  4. Right to Freedom of Religion (Articles 25-28)
  5. Cultural and Educational Rights (Articles 29-30)
  6. Right to Constitutional Remedies (Articles 32-35)

The sixth right, the Right to Constitutional Remedies, is the subject of this article. It is the right that makes all the other rights enforceable.

Article 32 and Article 226

Article 32: The Right to Approach the Supreme Court

Simply listing Fundamental Rights is not enough. They need an effective system of enforcement, because a right becomes meaningful only when there is a remedy for its violation. For this reason, the framers of our Constitution included Article 32. It does two things:

  • it provides for the enforcement of Fundamental Rights; and
  • it makes the right to seek that enforcement a Fundamental Right in itself.

Article 32 guarantees the right to approach the Supreme Court, and it empowers the Court to issue orders or writs to enforce these rights.

Dr. B.R. Ambedkar called Article 32 the heart and soul of the Indian Constitution. He said:

“If I were to name the most important Article in this Constitution—an Article without which the Constitution would be null—I could not refer to any other Article except this one.”
Key point

Article 32 is itself a Fundamental Right. The right to go to the Supreme Court to enforce Fundamental Rights is guaranteed by Part III of the Constitution.

Article 226: The Writ Power of the High Courts

Article 226 states that, notwithstanding anything in Article 32, every High Court has the power to issue directions, orders or writs to any person or authority, including the government, in appropriate cases. These can be issued:

  • (a) for the enforcement of the Fundamental Rights given by Part III; and
  • (b) for any other purpose.

The writs mentioned in Article 226 are known as prerogative writs, because they grew out of the superior courts' power of superintendence (supervision) over officers and subordinate courts.

Article 227: Superintendence by the High Courts

Article 227 provides that every High Court has superintendence over all courts and tribunals within its jurisdiction, except those relating to the armed forces.

Difference between Article 32 and Article 226

Both Articles allow a person to seek a writ, but they differ on three main points:

Point of differenceArticle 32 (Supreme Court)Article 226 (High Courts)
PurposeWrits can be issued only to enforce Fundamental Rights.Writs can be issued to enforce Fundamental Rights and also for other purposes.
Territorial jurisdictionWrits can be issued against any person or government anywhere in India.Writs can be issued only against persons or governments within the High Court's jurisdiction.
PowerThe Supreme Court cannot ordinarily refuse to entertain a petition, because Article 32 is itself a Fundamental Right.The High Court has discretion to refuse.
Example

Neha, a resident of Lucknow, complains that a State authority has violated a legal right given to her by an ordinary State law, but no Fundamental Right is involved. She can approach the Allahabad High Court under Article 226, because a High Court can issue writs “for any other purpose.” She cannot approach the Supreme Court under Article 32, because that Article is only for enforcing Fundamental Rights. (Hypothetical example.)

What is a Writ?

A writ is a formal written order from a court that commands someone to do, or not to do, a particular act.

Any Indian citizen can file a writ petition if their Fundamental Rights are affected or violated by the actions of a State or government authority. The petition can be filed:

  • in the Supreme Court under Article 32; or
  • in the State High Court under Article 226.

Types of Writ Petitions

There are five types of writs. Most of the names are Latin, so their plain meaning is given in brackets:

  1. Habeas Corpus (“you may have the body”): against unlawful detention.
  2. Mandamus (“order”): to make a public authority perform its public duty.
  3. Prohibition: to stop a lower court or tribunal from going beyond its jurisdiction.
  4. Certiorari (“to be certified”): to transfer a case to a higher court or to quash an order made by a lower court or authority.
  5. Quo Warranto (“by what authority”): to question a person's right to hold a public office.

Each writ is explained in detail below.

Habeas Corpus

The term habeas corpus literally means “you may have the body.” A person can file this petition if they believe they have been unlawfully detained. If the court finds the detention illegal, it can order the person's release.

A writ of habeas corpus can be filed in the following situations:

  • When a person is in custody but is not brought before a court within 24 hours of arrest.
  • When there is no legal authority to keep the person in custody (the court checks whether the detention is lawful, not whether the person is innocent).
  • When the arrest was not made following legal procedures.
  • When the detention was carried out with bad intentions or to harm the individual.

Who can file? Usually, the person who has been illegally detained files the habeas corpus petition. However, if they are unable to do so, a family member, relative or friend can file it on their behalf.

Example

Farhan is picked up by the police in Bhopal and kept in a lock-up for three days without being produced before any magistrate. Since Farhan himself cannot go to court, his sister Zoya files a habeas corpus petition. If the court finds the detention illegal, it can order Farhan's release. (Hypothetical example.)

Cases of Habeas Corpus Petition

Sunil Batra v. Delhi Administration: This case widened the scope of the habeas corpus petition. The Court held that the petition can be used not only to free a person from illegal detention but also to protect prisoners from inhumane and barbaric treatment. Justice Krishna Iyer said that the habeas corpus writ has a dynamic role as a defender of liberty, even inside prisons. He stressed that whenever a prisoner's rights under the Constitution or any other law are violated, the court's writ power should step in to protect those rights.

Veena Sethi v. State of Bihar: The court received a letter stating that some prisoners, who had been found insane at the time of their trial but were later declared sane, had remained in detention for 20 to 30 years. The court ordered their immediate release.

Kanu Sanyal v. District Magistrate, Darjeeling: The Supreme Court ruled that in a habeas corpus case it is not necessary to physically produce the person who is said to be unlawfully detained. Instead, the court should focus on whether the detention is legal, by examining the facts and circumstances of the case. The case emphasised that habeas corpus is a procedural writ, not a substantive one. In other words, it is a means of bringing the legality of the detention before the court, rather than a right in itself.

Justice Bhagwati remarked:

“Why should we restrict ourselves by following a practice that originated in England 300 years ago due to historical circumstances that are no longer valid, even in England, and have no relevance in our country?”

AK Roy v. Union of India and others: This case is commonly known as the National Security Act (NSA) case. The Supreme Court, by a 4:1 majority, upheld the constitutional validity of the NSA and the Ordinance that came before it. The case examined the constitutionality of the National Security Act, 1980, a preventive detention law. The court found that the Act was neither vague nor arbitrary in its provisions, which allowed people to be detained on grounds such as acting in a manner prejudicial to the “defense of India,” or to the security of India and the State.

At the same time, the court issued several directions to protect the rights of detainees:

  • The detainee's family or a friend should be informed immediately after the detention.
  • The detainee should be held in a place where they usually reside, unless exceptional circumstances require otherwise.
  • Detainees should have access to books, writing materials, food, etc.
  • They should be kept separate from convicted criminals.
  • No harsh treatment should be allowed.

Additional District Magistrate of Jabalpur v. Shiv Kant Shukla

This case is widely known as the Habeas Corpus case (or simply ADM Jabalpur). It was decided by the Supreme Court on April 28, 1976. The bench included Chief Justice A.N. Ray and Justices P.N. Bhagwati, Y.V. Chandrachud, Khanna and M.H. Beg.

Background: On June 27, 1975, the President issued an order under Article 359(1), which stated:

“No person shall have the right to approach any court for the enforcement of the rights conferred by Article 14, Article 21, and Article 22 of the Constitution. All proceedings in any court for the enforcement of these rights shall be suspended for the duration of the emergency declared under Article 352 on December 3 and June 25, as long as both remain in force.”

Decision: The Supreme Court, by a 4:1 majority, held that because of the President's order dated June 27, 1975, no one had the right to file a writ petition under Article 32 or Article 226, or to challenge the legality of any detention order. The Court said that even if a detention order did not comply with the law, or was issued with malice, or was based on irrelevant considerations, it could not be challenged.

Later developments:

  • The 44th Amendment to the Constitution later amended Article 359 so that the enforcement of the right to life and personal liberty under Article 21 cannot be suspended by a Presidential order. As a result, ADM Jabalpur v. Shiv Kant Shukla is no longer considered good law.
  • The ADM Jabalpur decision was declared to be no longer good law twice: first in I.R. Coelho v. State of Tamil Nadu, and later in the landmark right-to-privacy judgment of Justice K.S. Puttaswamy (Retd) and another v. Union of India and others on August 24, 2017.

In the Puttaswamy judgment, Justice D.Y. Chandrachud remarked:

“The judgments rendered by all the four judges in the majority in the ADM Jabalpur case are seriously flawed. Life and personal liberty are inalienable to human existence.”
Note

“Inalienable” means something that cannot be taken away or given up. The remark means that life and personal liberty belong to every human being and do not depend on the State's permission.

Mandamus

The term mandamus means “order.” It is a writ issued by a superior court directing or commanding a public official or authority to perform, or to refrain from performing, a specific duty that falls within their official responsibilities.

When Can It Be Issued and Granted?

A writ of mandamus can be issued when a statutory duty (a duty laid down by law) is imposed on a public officer and the officer fails to perform it. Remember these points:

  • It is not a matter of right but a matter of grace, meaning the court may grant it at its discretion.
  • Its main function is to compel the performance of public duties and to make sure that officials act within their jurisdiction.
  • It can be granted only if there is a right to compel the performance of a duty imposed by law.
  • The duty must be public, not private.
Example

A State law requires the licensing officer to decide every complete application for a shop licence. Hansa submits a complete application, but the officer simply sits on it for months without deciding it. Since the officer is failing to perform a public duty imposed by law, Hansa may ask the High Court for a writ of mandamus directing the officer to decide her application. (Hypothetical example.)

In Raman and Raman v. State of Madras and State of Assam v. Ajit Kumar Sharma, it was held:

“Mandamus will not issue to enforce departmental manuals or instructions that do not have statutory force and do not create any legal rights in favor of the petitioner.”

In Binny Limited v. Sadasivan, it was stated:

“A writ of mandamus is primarily a public law remedy, not generally available for private wrongs. It enforces public rights or compels public statutory authorities to perform their duties and act within their legal bounds. It can also ensure justice when there is an abuse of power or a refusal to perform duties.”

Requirements for the Writ Petition

A petition for mandamus must satisfy the following conditions:

  • There must be an existing legal right.
  • The legal right should be enforceable by law.
  • The right must impose a responsibility (a corresponding duty on the authority).
  • The duty should be of a public nature.

When the Writ of Mandamus Will Not Be Granted

  • When the duty is discretionary: In State of M.P. v. Mandawara, the Supreme Court held that mandamus could not be issued to compel the government to exercise a discretionary power, such as granting a dearness allowance. Similarly, in Swaraj Abhiyan v. UOI, the Supreme Court ruled that mandamus could not compel the State Governments to implement the National Food Security Act, 2013 beyond what the Act itself requires (though it did direct them to implement the Act).
  • Against private individuals or organisations: In Barada Kanta v. State of West Bengal, it was held that mandamus does not lie against private individuals or organisations.
  • Contractual obligations: A writ of mandamus cannot be granted to enforce an obligation that arises from a contract.
Key point

Mandamus enforces a public duty imposed by law. It will not issue for a discretionary power, against a private person or body, or to enforce a contract.

Prohibition

A writ of prohibition, commonly known as a “stay order,” is issued mainly to prevent a lower court or tribunal from acting beyond its jurisdiction or in violation of the rules of natural justice. “Natural justice” refers to basic rules of fair procedure, such as giving each side a fair hearing.

It is an order from a superior court prohibiting a lower court from overstepping its legal boundaries. A writ of prohibition can be filed when there is either an excess of jurisdiction or a lack of jurisdiction, as seen in the case of S. Govind Menon v. Union of India.

This writ is a mechanism through which a superior court exercises its authority over a lower court and prevents it from exceeding its legal powers.

When It Can Be Issued

  • A writ of prohibition can be issued only if the proceedings are still ongoing and have not yet ended in a decision.
  • If the court where the matter was pending has ceased to exist, a writ of prohibition cannot be issued, because there are no ongoing proceedings to stop.
  • If the case is still being heard, the writ can be issued at any stage before the lower court makes a final decision.
Example

A tribunal set up only to hear service disputes of government employees begins hearing a property dispute between two private persons, Aadil and Renu. Before the tribunal decides the matter, Renu asks the High Court for a writ of prohibition. Since the proceedings are still pending and the tribunal is acting outside its jurisdiction, the High Court can stop it from going further. (Hypothetical example.)

Certiorari

Certiorari means “to be certified.” It is a petition filed in a superior court asking for an order to transfer a case from a lower court to a higher authority. This writ is usually issued when a lower court or authority has violated the law or the principles of natural justice in making a decision.

Certiorari can be used at two stages:

  • Before a trial: to prevent an overreach or abuse of jurisdiction and to transfer the case to a higher court for trial.
  • After a trial: to quash (cancel) an order made by the court.
Note

Compare prohibition and certiorari. Prohibition can be issued only while the proceedings are still pending, to stop them. Certiorari can be used before a trial and also after a decision, to quash the order that has been made.

Conditions for Filing Certiorari

  • There must be a court, tribunal or officer that has the legal authority to decide a question and a duty to act judicially.
  • The authority must have violated the prescribed procedure, acted in excess or absence of judicial authority, or breached the principles of natural justice.

Scope of Certiorari

The Supreme Court defined the scope of this writ in Province of Bombay v. Khushaldas S. Advani & Ors. The Court held:

  • Whenever a legal body that has authority to decide questions affecting people's rights acts beyond its legal power, a writ of certiorari can be issued.
  • However, certiorari cannot be used to remove or cancel mere ministerial acts (routine acts done under instructions, without any decision-making) or executive administrative actions.

When is Certiorari Available?

In Surya Dev Rai v. Ram Chander Rai, it was held that certiorari cannot be used to correct simple errors of fact or law. It is available only in the following situations:

  • When there is a lack of jurisdiction or an excess of jurisdiction.
  • When there is an obvious and apparent error on the face of the record (a mistake that is clear just by looking at the record, without a long argument).
  • When there is a violation of procedure or disregard of the principles of natural justice.
Example

A statutory authority cancels Prince's licence without giving him any notice or chance to be heard. Because the order breaches the principles of natural justice, Prince can ask the High Court for a writ of certiorari to quash it. But if Prince only argues that the authority reached a slightly wrong conclusion on the facts, certiorari is not the right remedy. (Hypothetical example.)

Quo Warranto

The term quo warranto means “by what authority.” This writ requires a person holding a public office to show the court under what authority they occupy that position. Its purpose is to prevent someone from unlawfully holding a public office.

If the inquiry shows that the person is not legally entitled to the office, the court can issue a writ of quo warranto, preventing them from continuing in the role and possibly declaring the office vacant.

In University of Mysore v. Govind Rao, the Supreme Court set out the conditions for this writ:

  • The contested position must be a public post.
  • There must be a violation of law in the appointment to, or the holding of, the post.
  • The office must be substantive, not merely a function or job held at the discretion of another.
Example

A State law says that only a person with a particular qualification can be appointed to a statutory public post. Aadil is appointed to that post even though he does not have the required qualification. Any member of the public can ask the High Court for a writ of quo warranto, asking Aadil to show by what authority he holds the office. (Hypothetical example.)

Who Can Apply?

The court has stated that anyone can file a writ of quo warranto if the following conditions are met:

  • The office in question must be a public office.
  • The post should be held by someone without legal authority.

However, issuing a writ of quo warranto is at the court's discretion, based on the facts and circumstances of each case.

Can a Writ of Quo Warranto Be Issued Against a Private Authority?

Jamalpur Arya Samaj Sabha v. Dr. D. Ram: The High Court refused to issue a writ of quo warranto against members of the working committee of the Bihar Rajya Arya Pratinidhi Sabha, which was a private association.

G.D. Karkare v. Shevde: A private individual challenged the appointment of the Advocate-General of M.P. The court ruled that the petitioner in a quo warranto case does not need to have a legal interest in the post; any member of the public can challenge a person's right to hold a public office.

Niranjan Kumar Goenka v. University of Bihar and Others: The Patna High Court held that a writ of quo warranto cannot be issued against a person who is not holding a public office.

Key point

Quo warranto lies only in respect of a public office. It does not lie against a private body, but any member of the public may seek it, even without a personal interest in the post.

How to File Writ Petitions

Writ petitions can be filed in the High Court under Article 226 and in the Supreme Court under Article 32 of the Indian Constitution. The main practical points are:

  1. Check the format: You can check the format for filing a writ petition here and review the required documents.
  2. File online if you wish: Writ petitions can also be filed online at this link.
  3. Take legal help: To draft a writ petition, it is advisable to hire a civil lawyer who can help with drafting the petition and represent you in court.
  4. Petitions under Article 32: They must be in writing and are heard by a Bench of at least five Judges, but a petition that does not raise a substantial question of law about interpreting the Constitution may be heard by a smaller Bench.
  5. Court fees: No court fees are required for petitions for habeas corpus, or for other petitions under Article 32 related to criminal proceedings, or in proceedings connected with such petitions.

Conclusion

Writs turn the promises of Part III into real, enforceable rights. Article 32 lets a person go straight to the Supreme Court to enforce Fundamental Rights, while Article 226 gives the High Courts a wider power to issue writs for Fundamental Rights and for other purposes. To revise quickly, remember the job of each writ:

  • Habeas corpus protects against unlawful detention.
  • Mandamus compels a public authority to perform its public duty.
  • Prohibition stops a lower court or tribunal from exceeding its jurisdiction while proceedings are pending.
  • Certiorari transfers a case or quashes an order made without jurisdiction, with an error on the face of the record, or in breach of natural justice.
  • Quo warranto questions a person's right to hold a public office.

Cases such as Sunil Batra, Kanu Sanyal and the overruling of ADM Jabalpur show how the courts have shaped these remedies to protect life and liberty. For exams, learn the conditions for each writ along with its leading cases.

Practise Administrative Law MCQs

124 questions. Every answer comes with an explanation and the legal provision behind it.

Practise now

Make this page yours

Sign in to save your reading progress and keep private notes and highlights. Free, and only you can see them.

Keep reading

Related notes

Administrative Law Complete notes

Administrative Law One Shot

Administrative law is "the law relating to the administration. It determines the organization, powers, and duties of administrative authorities.

61 min read

Administrative Law

Principles of Natural Justice and Constitution of India

Article 14 of the Indian Constitution guarantees equality before the law and equal protection of the law for all citizens. It prohibits any form of discrimination and forbids both discriminatory laws and administrative…

8 min read

Administrative Law

Red green and amber light theories of administrative law

When considering how courts should oversee public administration to prevent abuse of power and limit administrative discretion, different viewpoints emerge. Some argue for strict judicial control over executive actions…

8 min read

Administrative Law Case compilation

Important Case Laws of Administrative Law

This case is a landmark on the separation of powers, where the Court held that the functions and powers of the executive may overlap with the legislature, and a rigid separation is impractical.

15 min read

Administrative Law

Administrative Discretion: Meaning and Grounds of Control

Administrative discretion refers to the ability of government officials to make decisions and choose from various options without being bound by strict rules or criteria. In simpler terms, it means officials have the fr…

10 min read

Judgments

Related case laws

Case law library

I.R. Coelho

Supreme Court of India · 2007

A unanimous nine-judge Constitution Bench of the Supreme Court held that laws placed in the Ninth Schedule after 24 April 1973 (the date of the Kesavananda Bharati decision) are not fully immune. They can be tested against the basic structure, including the 'golden triangle' of Articles 14, 19 and 21. The case matters because it holds that judicial review is part of the basic structure and that the Ninth Schedule is not a safe haven for unconstitutional laws.

Constitutional Law II

Watch

Related lectures