In law, a writ is a formal written order from a court that commands a person, government official, or lower court to perform a specific act or stop doing something. Federal courts draw this power from the All Writs Act, which authorizes every court established by Congress to issue “all writs necessary or appropriate in aid of their respective jurisdictions.”1Office of the Law Revision Counsel. 28 USC 1651 – Writs Courts treat writs as extraordinary remedies, reserved for situations where a normal lawsuit or appeal won’t work. The most familiar ones are habeas corpus, mandamus, certiorari, and prohibition, but writs also enforce money judgments, seize property, and garnish wages.
Where Writs Get Their Force
The All Writs Act, codified at 28 U.S.C. ยง 1651, is the backbone of writ power in the federal system. It lets the Supreme Court and every federal court issue any writ that is “necessary or appropriate” to support its jurisdiction, provided the writ fits within established legal principles.1Office of the Law Revision Counsel. 28 USC 1651 – Writs State courts hold parallel authority under their own constitutions and statutes.
What distinguishes a writ from an ordinary court order is its direction and bite. A writ typically moves downward through the system: a higher court directs a lower court, an agency, or an official, and the recipient must comply. Ignoring one invites contempt proceedings, which carry fines or jail time. That coercive force is exactly why courts refuse to treat writs as routine filings.
A writ also has to stay in its lane. It can compel someone to perform a legally required duty or stop someone from exceeding their authority, but it cannot force a discretionary decision to come out a particular way, and it cannot replace an ordinary appeal when one is available. The Supreme Court has called mandamus a “drastic and extraordinary” remedy “reserved for really extraordinary causes.”2Cornell Law School. Cheney v United States District Court for DC The same spirit runs through writ practice generally.
Writ of Habeas Corpus
Habeas corpus is the most well-known writ in American law and arguably the most important. The Latin translates roughly to “produce the body,” and the writ does exactly that: it forces whoever is holding a person in custody to bring that person before a court and justify the detention. The Constitution protects the right directly, stating that the privilege “shall not be suspended, unless when in Cases of Rebellion or Invasion the public Safety may require it.”3Cornell Law School. Writ of Habeas Corpus and the Suspension Clause
Federal courts can grant habeas corpus to anyone held under federal authority, anyone imprisoned for acts done under a federal court order, and anyone held in violation of the Constitution or federal law.4Office of the Law Revision Counsel. 28 USC 2241 – Power to Grant Writ A habeas petition doesn’t retry the underlying case. The court looks only at whether the detention is lawful, not whether the prisoner is guilty or innocent of the original charges.
State prisoners challenging their convictions in federal court face a strict one-year filing deadline under the Antiterrorism and Effective Death Penalty Act of 1996. The clock usually starts when the conviction becomes final, after direct appeals are exhausted or the time to file them has run. Narrow exceptions can reset it: if the state blocked the filing, if the Supreme Court recognized a new constitutional right that applies retroactively, or if the factual basis for the claim could not have been discovered earlier through reasonable diligence.5Office of the Law Revision Counsel. 28 USC 2244 – Finality of Determination Missing the deadline is one of the most common reasons habeas petitions get thrown out.
Writ of Mandamus
A writ of mandamus orders a government official or agency to perform a duty the law requires them to carry out. The name is Latin for “we command.” Federal district courts have jurisdiction over mandamus actions to compel any federal officer or employee to perform a duty owed to the plaintiff.6Office of the Law Revision Counsel. 28 USC 1361 – Action to Compel an Officer of the United States to Perform His Duty
The key limit: mandamus reaches only non-discretionary duties. If an agency is required by law to process your application and refuses to act, mandamus can force it to act. If the agency has discretion over the outcome, mandamus can compel it to make a decision but cannot dictate what the decision must be.
The Supreme Court has laid out three conditions that must all be met before a court will issue mandamus. The petitioner must have no other adequate way to get relief. The right to the writ must be “clear and indisputable.” And even then, the court must be satisfied that the writ is appropriate under the circumstances.2Cornell Law School. Cheney v United States District Court for DC That first condition is where most petitions die. If an ordinary appeal exists, even an inconvenient one, courts deny mandamus and send the petitioner to use it. Mandamus practice in the federal courts of appeals follows Federal Rule of Appellate Procedure 21.7Cornell Law School. Rule 21 – Writs of Mandamus and Prohibition, and Other Extraordinary Writs
Writ of Certiorari
Certiorari is how the U.S. Supreme Court chooses which cases it will hear. The phrase means “to be made certain,” and the writ directs a lower court to send up its record so the Supreme Court can review how the law was applied. There is no automatic right of appeal to the Supreme Court in most cases. A party must petition for certiorari and persuade the Court that the case deserves review.8Cornell Law School. Rule 10 – Considerations Governing Review on Writ of Certiorari
Under Rule 10, the Court grants certiorari only for “compelling reasons.” The usual triggers include a conflict between federal circuit courts on the same legal question, a circuit decision that clashes with a state supreme court ruling on an important federal issue, or a lower court departure extreme enough to warrant supervisory review.8Cornell Law School. Rule 10 – Considerations Governing Review on Writ of Certiorari The Court receives thousands of petitions each year and accepts a small fraction. A denial of certiorari does not mean the Court agrees with the lower court; it means the Court chose not to review it.
The statutory deadline for a certiorari petition in civil cases is 90 days after the lower court’s judgment. A Supreme Court justice can extend that window by up to 60 days for good cause.9Office of the Law Revision Counsel. 28 USC 2101 – Supreme Court Time for Appeal or Certiorari Miss it and the case is over.
Writ of Prohibition
A writ of prohibition is the mirror image of mandamus. Instead of forcing action, it stops a lower court or official from doing something they have no legal authority to do. The writ is preventive. It steps in before the damage, not after.
The classic use involves a court trying to hear a case over which it lacks jurisdiction. If a state trial court attempts to adjudicate a matter reserved exclusively for federal courts, a party can petition a higher state court to halt the proceedings. In the federal appellate system, prohibition is authorized under the All Writs Act and governed by Rule 21.7Cornell Law School. Rule 21 – Writs of Mandamus and Prohibition, and Other Extraordinary Writs Courts grant prohibition sparingly. The petitioner must show the lower court is clearly acting outside its authority and that no adequate remedy exists through the normal appeals process.
Writs in Debt Collection and Property Disputes
Most people never encounter habeas corpus or certiorari, but they may run into writs through unpaid debts or evictions. These enforcement writs are workhorses of civil practice.
Writ of Execution
Winning a money judgment is only half the battle. The judgment does not enforce itself. A creditor needs a writ of execution, which directs law enforcement to seize the debtor’s non-exempt property and sell it at public auction to satisfy the debt. A general writ lets officers seize any non-exempt personal property at the debtor’s address. A special writ targets specifically identified property. Federal courts use the seizure remedies available under the law of the state where the court sits.10Cornell Law School. Rule 64 – Seizing a Person or Property
Writ of Garnishment
When a debtor’s assets sit in someone else’s hands, such as wages held by an employer or funds in a bank account, execution won’t reach them. A writ of garnishment orders the third party to redirect a portion of the debtor’s money to satisfy the judgment. Federal law caps wage garnishment for consumer debt at the lesser of 25% of disposable earnings or the amount by which weekly earnings exceed 30 times the federal minimum wage.11Office of the Law Revision Counsel. 15 USC 1673 – Restriction on Garnishment Some creditors, including federal tax authorities and child support enforcement agencies, can garnish without a court judgment at all.
Writ of Attachment
A writ of attachment freezes a debtor’s property before the lawsuit is decided, so the debtor can’t hide or transfer assets while the case is pending. Because it restricts property before any finding of liability, courts require strong justification to issue one. Federal courts apply the attachment laws of the state where they are located.10Cornell Law School. Rule 64 – Seizing a Person or Property
Writ of Possession
A writ of possession transfers physical control of property, most often in evictions. After a landlord wins an unlawful detainer judgment and any appeal period runs, the landlord files for the writ. A sheriff or marshal serves notice on the tenant and, if the tenant does not leave, physically removes them. Specific timelines and notice requirements vary by jurisdiction, but the process usually gives the tenant at least a few days of advance notice before the actual eviction.
Less Common Writs
Writ of Quo Warranto
Quo warranto, Latin for “by what authority,” challenges a person’s right to hold public office or exercise governmental power. If someone was appointed in violation of eligibility rules, or an elected official no longer qualifies for the position, a quo warranto proceeding can force them to prove their legal authority to serve. Members of the public generally have standing to bring these petitions as citizens and taxpayers. The cases are rare but surface during disputed elections and questionable appointments.
Writ of Coram Nobis
Coram nobis is unusual because it asks the same court that entered a judgment to correct its own fundamental error. The writ applies when new facts come to light that were not part of the original record and that would have changed the outcome. In federal practice, it is most often used by someone with a criminal conviction who has already finished the sentence, which puts habeas corpus out of reach because the person is no longer in custody. The bar is high: the petitioner must show a fundamental legal error, such as a violation of the right to counsel, and must show that the new evidence could not have been discovered earlier through reasonable diligence.
How to Petition for a Writ
Filing for a writ is not like filing a complaint. Because writs are extraordinary, the procedural hurdles are higher.
The petitioner must have standing, meaning a concrete, direct injury caused by the action being challenged. A generalized grievance about government overreach is not enough. Most writs also require exhaustion of ordinary remedies first. State prisoners seeking federal habeas corpus must generally pursue their claims through the state court system before filing in federal court.12Cornell Law School. The Exhaustion Doctrine and State Law Remedies For mandamus, the petitioner must show no other adequate avenue for relief.2Cornell Law School. Cheney v United States District Court for DC Skip a step in the normal process and the petition will be dismissed.
Different writs carry different time limits, and missing one almost always kills the petition. Federal habeas corpus has a one-year statute of limitations under AEDPA.5Office of the Law Revision Counsel. 28 USC 2244 – Finality of Determination Certiorari petitions must be filed within 90 days of the lower court’s judgment.9Office of the Law Revision Counsel. 28 USC 2101 – Supreme Court Time for Appeal or Certiorari Even where no specific statutory deadline applies, courts can deny a writ under the doctrine of laches if the petitioner waited unreasonably long and the delay harmed the other side.
The petition itself has to identify the specific legal right that was violated, the relief being requested, and why ordinary remedies are inadequate. Vague complaints about unfairness will not survive the court’s initial review. If the court finds enough merit to proceed, it issues a show cause order to the respondent, who then has to appear and explain why the writ should not be granted. At that point the burden shifts.