How Much Does a Writ of Mandamus Cost? Attorney and Filing Fees

The cost of a writ of mandamus typically runs between $5,000 and $15,000, with attorney fees making up roughly 80 percent of that total. A mandamus action asks a court to order a government official or lower court to perform a legal duty they have failed to carry out. Where your case lands in that range depends on how complex the underlying dispute is, whether the government fights back, and which court hears the petition.

Attorney Fees Do Most of the Damage

Lawyers who handle mandamus cases bill in one of two ways: by the hour or as a flat fee.

Hourly rates for attorneys experienced in this area run from about $250 to $600 or more. A straightforward case that resolves quickly after filing might take 15 to 20 hours of work. A contested case with multiple rounds of briefing can easily double or triple that.

Flat-fee arrangements give you one price for the entire case, usually between $5,000 and $15,000 depending on expected complexity. A flat fee shields you from cost creep if the case drags on, but you pay the full amount even if the government caves quickly after seeing the petition. Some attorneys use a hybrid setup: a flat fee for drafting and filing, then hourly billing if the case moves into discovery or a hearing.

Court Filing Fees and Other Out-of-Pocket Costs

Federal mandamus actions are filed in U.S. district court under the statute giving those courts jurisdiction over suits to compel federal officers to act.1Office of the Law Revision Counsel. 28 US Code 1361 – Action to Compel an Officer of the United States The federal civil filing fee is $350, plus a $55 administrative fee, for a total of $405.2Office of the Law Revision Counsel. 28 US Code 1914 – District Court Filing and Miscellaneous Fees State court filing fees for mandamus petitions vary but generally fall between $200 and $435.

You also have to formally deliver the petition and summons to the agency or official you are suing. A professional process server charges $20 to $100 per delivery, depending on the location and difficulty. If your case relies on records from an earlier proceeding, certified transcripts run about $4.50 to $7.00 per page, more for expedited turnaround.

Service on the federal government adds a twist. When you sue a federal officer or agency, you generally have to serve the individual defendant, the U.S. Attorney for the district, and the Attorney General. Budget for several deliveries, not one.

If You Cannot Afford the Filing Fee

Federal courts let you ask permission to proceed without prepaying the filing fee. You submit a sworn statement of your income, assets, and expenses; if the court agrees you cannot pay, it waives the upfront cost.3Office of the Law Revision Counsel. 28 US Code 1915 – Proceedings in Forma Pauperis The waiver covers the court’s fee only, not your attorney’s bill or other expenses.

What Pushes the Price Up or Down

The ranges above are broad because mandamus cases vary so much. A handful of factors do most of the work.

  • Whether the government contests the case. Many petitions, particularly immigration ones, resolve soon after filing because the agency simply processes the delayed application. Attorney time stays low. If the government argues it has discretion or that you have not met the legal standard, costs climb quickly.
  • The legal standard. Mandamus is treated as an extraordinary remedy. You have to show a clear right to what you want, an unambiguous duty on the government’s part, and no other adequate remedy. When any element is genuinely disputed, your attorney will spend far more time building the record.
  • Federal versus state court. Federal court tends to be more expensive because the procedural rules are stricter and briefing more demanding. State proceedings can be faster and less formal, though this varies by jurisdiction.
  • Volume of evidence. A case built on a single delayed application with a clean paper trail costs less than one needing multiple declarations, expert analysis, or a large administrative record.
  • Attorney experience. Lawyers who regularly handle mandamus work in a specific area, such as immigration or benefits, often resolve cases faster because they know the pressure points. Their hourly rate may be higher, but the total bill can be lower than paying a generalist to learn the terrain.

Immigration Cases Sit at the Lower End

Immigration cases against USCIS are by far the most common reason people file mandamus actions in federal court. The typical scenario: an application, petition, or naturalization case has been pending far longer than published processing times, with no explanation from the agency.

These cases tend to fall between $5,000 and $10,000 in total, because many resolve shortly after filing. Attorneys who focus on immigration mandamus can often predict from the case details whether USCIS will adjudicate quickly once the lawsuit hits, which is why flat-fee billing is so common here. A strong paper trail showing unreasonable delay gives you more leverage and shortens the case.

Not every immigration case is quick. If USCIS argues that national security vetting justifies the delay, or that it has discretion over timing, the case can turn into contested litigation with the higher costs that come with it.

The Cost of Filing a Weak Petition

Filing without solid legal footing costs more than just your filing fee. Every document filed in federal court carries an implicit promise that it is supported by existing law and not submitted to harass or delay.4Legal Information Institute. Federal Rules of Civil Procedure Rule 11 – Signing Pleadings, Motions, and Other Papers If a court finds your petition frivolous, it can impose sanctions, including ordering you to pay the government’s attorney fees for responding.

The rule includes a safety valve. When the other side moves for sanctions, you get 21 days to withdraw or fix the filing before the motion reaches the court.4Legal Information Institute. Federal Rules of Civil Procedure Rule 11 – Signing Pleadings, Motions, and Other Papers Sanctions the court raises on its own carry no such grace period. Treat mandamus as a last resort after other efforts to get the agency to act, not a first move driven by frustration.

Getting Your Money Back If You Win

Under the default American rule, each side pays its own legal bills whatever the outcome. A winning mandamus petitioner usually eats the full cost. One important exception applies to cases against the federal government.

The Equal Access to Justice Act lets a court award attorney fees and expenses to a party who prevails against the United States, unless the government shows its position was “substantially justified.”5Office of the Law Revision Counsel. 28 US Code 2412 – Costs and Fees If the government had no reasonable basis for its delay or refusal, you can get your legal costs reimbursed.

Eligibility has ceilings. An individual’s net worth must be under $2 million when the case is filed. A business or organization must have net worth under $7 million and fewer than 500 employees.5Office of the Law Revision Counsel. 28 US Code 2412 – Costs and Fees Fee awards are also capped at $125 per hour, adjusted annually for cost of living. The adjusted cap has reached roughly $250 per hour in recent years, which may not fully cover what you paid but still recovers a meaningful share.

Recovery is not automatic even when you win. You have to file a separate application within 30 days of the final judgment, and the government gets a chance to argue its position was justified. If there is any chance you will seek reimbursement, keep careful records of every expense from the day you start.