Writ of Mandamus in California: Types, Deadlines, and Standard of Review

A writ of mandamus in California — formally called a writ of mandate — is a court order that either forces a government agency or official to perform a duty the law requires, or sets aside a final agency decision that was legally flawed. The two forms come from separate statutes: Code of Civil Procedure section 1085 (traditional mandamus) and section 1094.5 (administrative mandamus). You file a verified petition in Superior Court, the filing fee is $435 in most counties as of January 1, 2026, and for administrative mandamus challenging a local agency decision, you generally have 90 days from the final decision to file.

The Two Types and Which One Applies to You

Which statute you file under shapes everything else: what you have to prove, what the court will review, and what deadline governs.

Traditional mandamus under CCP 1085 is for compelling action. The agency has a legal duty, that duty is “ministerial” (the law dictates the outcome, the official has no real discretion), and the agency hasn’t done what it’s supposed to do. A permit that must issue once criteria are met, and hasn’t, is the classic example.1California Legislative Information. California Code of Civil Procedure CCP 1085 If the agency genuinely has discretion over whether to act, traditional mandamus is the wrong tool.

Administrative mandamus under CCP 1094.5 is for challenging a decision. The agency held a formal hearing, took evidence, and ruled — a license revocation, a permit denial, professional discipline — and you want the court to set that decision aside. The court isn’t ordering the agency to do something new; it’s reviewing what the agency already did to see if it abused its discretion, followed proper procedures, and had evidence to support its conclusions.2California Legislative Information. California Code CCP 1094.5 – Writ of Mandate

Filing Deadlines

Deadlines are where mandamus cases most often die. They differ by type, and they are strict.

For administrative mandamus challenging a local agency decision, CCP 1094.6 sets a 90-day deadline running from the date the decision becomes final. If the agency has a reconsideration process, the clock starts when reconsideration is denied or the reconsideration period ends. There’s one useful extension: request the administrative record within 10 days of the final decision, and your filing deadline moves to 30 days after you receive that record.3California Legislative Information. California Code of Civil Procedure CCP 1094.6

State agency decisions, and decisions by local agencies that haven’t adopted section 1094.6, may be governed by different deadlines under other statutes. Check the specific statute that governs the agency you’re challenging.

Traditional mandamus under CCP 1085 has no fixed statutory deadline. That is not permission to wait. Courts apply the equitable doctrine of laches, which lets the government defeat your petition by showing your delay was unreasonable and prejudiced someone — lost evidence, changed circumstances, or reliance on the status quo. Treat the claim as urgent from the day you know about it.

What You Must Have Before Filing

Courts require several boxes checked before they’ll consider the merits.

You need no other adequate remedy. A writ only issues when there is no “plain, speedy, and adequate” alternative through ordinary civil process.4California Legislative Information. California Code CCP 1086 If a standard appeal or statutory remedy exists, the court will send you there first.

You must have exhausted administrative remedies. For administrative mandamus, every internal appeal, reconsideration procedure, or hearing the agency offers must be used up before you go to court. The narrow exceptions are futility and cases where the agency can’t grant the relief you need.

You must file a verified petition. That means signing under penalty of perjury that the facts you allege are true. You also must be a “beneficially interested” party — someone with a concrete personal stake, not a bystander with a general policy objection.4California Legislative Information. California Code CCP 1086

How the Filing and Hearing Work

You file the verified petition in Superior Court. It lays out the facts, identifies the legal duty violated or the decision under attack, and attaches supporting materials. For administrative mandamus, the administrative record — the hearing transcript and exhibits — is the heart of the case. The petitioner usually pays to prepare it, though costs can shift to the loser at the end.2California Legislative Information. California Code CCP 1094.5 – Writ of Mandate

The court may respond by issuing an alternative writ or an order to show cause. An alternative writ gives the agency a choice: comply, or come to court and explain why not.5California Legislative Information. California Code CCP 1087 The agency files a response. Common defenses are that the duty was discretionary, the decision had evidentiary support, or the petitioner skipped a prerequisite. Both sides argue at a hearing.

If you win, the court issues a peremptory writ. That’s the real order: perform the act, vacate the decision, or hold a new hearing with proper procedures. The peremptory writ doesn’t give the agency a choice.5California Legislative Information. California Code CCP 1087

What Standard the Court Applies

Traditional mandamus is analytically simple. The court asks whether the law imposes a clear, non-discretionary duty and whether the agency has failed to perform it. Policy choices are off the table.

Administrative mandamus is where the standard of review does the heavy lifting, and California uses two of them.

The default is the substantial evidence standard. The court looks at the whole record and asks whether a reasonable person could have reached the agency’s factual conclusions. It doesn’t reweigh evidence or substitute its own judgment. Agencies win most cases under this deferential test.2California Legislative Information. California Code CCP 1094.5 – Writ of Mandate

When the agency’s decision affects a “fundamental vested right,” the court uses independent judgment review. It reexamines the evidence itself and decides whether the weight of the evidence supports the agency’s findings. Revoking a professional license someone already holds — a medical license, a contractor’s license — typically triggers this stricter review. Denying a new application usually does not.2California Legislative Information. California Code CCP 1094.5 – Writ of Mandate

Legal questions get no deference under either standard. Whether the agency followed proper procedures and correctly interpreted the law is for the court to decide fresh.

Stopping the Agency’s Decision While You Litigate

Filing a petition does not automatically pause the agency’s action. A license revocation or permit denial can take full effect while your case sits on the court’s docket. If the harm is irreversible by the time you win, winning may not matter.

CCP 1094.5(g) gives the court authority to stay the agency’s order during the case. That stay can run through judgment, through the appeal period, or until a notice of appeal is filed. The court will deny the stay if it finds a stay would be against the public interest.2California Legislative Information. California Code CCP 1094.5 – Writ of Mandate For decisions made under the state Administrative Procedure Act, the bar is higher: the court must find both that the public interest won’t suffer and that the agency is unlikely to prevail on the merits.

In practice, a stay motion resembles a request for a temporary injunction, and it is hard to win. Move fast. File the petition and the stay request before the agency’s order takes effect if that timing is at all possible.

Costs and Attorney Fees

The Superior Court filing fee is $435 as of January 1, 2026. Riverside, San Bernardino, and San Francisco add local courthouse construction surcharges on top.6Judicial Council of California. Statewide Civil Fee Schedule Effective January 1, 2026 The filing fee is the small number. Attorney fees and the cost of preparing the administrative record are where the money goes, and record preparation alone can reach several thousand dollars depending on how long the agency hearing was.

California has no general loser-pays rule in mandamus cases. But CCP 1021.5 — the private attorney general doctrine — allows a fee award when your case enforced an important right affecting the public interest. Three showings are required: your case produced a significant benefit for the general public or a large class of people, the financial burden of the litigation justified the award, and the fees shouldn’t come out of any monetary recovery.7California Legislative Information. California Code of Civil Procedure CCP 1021.5 Awards under section 1021.5 only run against public entities, not in their favor. The government can’t use this statute to recover fees from you if you lose.

After the Ruling

When the court grants a peremptory writ, the agency has to comply with its terms — issue the permit, reinstate the license, vacate the decision, or hold a new hearing. Courts keep jurisdiction to enforce their writs, and ignoring one can bring contempt.

Either side can appeal. If the petitioner appeals a denial, the agency’s decision stays in effect unless the appellate court says otherwise. If the agency appeals a granted writ, the ruling is automatically stayed during the appeal unless the appellate court lifts the stay.2California Legislative Information. California Code CCP 1094.5 – Writ of Mandate