You can sue the IRS, but only after you have exhausted the administrative process first

Yes, you can file a lawsuit against the IRS over a refund, but the IRS has legal protections that make this route difficult and expensive. Before you can sue, you must first file a claim with the IRS, wait for them to deny it or let it sit for six months, and then file in either federal district court or the U.S. Court of Federal Claims. Most people never reach the lawsuit stage because the IRS has sovereign immunity — a legal shield that protects government agencies from many types of claims — and because the costs and time involved are substantial.

The practical reality is that suing the IRS only makes financial sense when the refund amount is large enough to justify thousands of dollars in attorney fees and years of waiting. For most refund disputes, the IRS appeals process or a letter from a tax professional pointing out the error will resolve the issue faster and cheaper than litigation.

Key Takeaways

  • You must file a refund claim with the IRS on Form 1040-X or Form 1120-X before you can sue, and you must wait for a denial or six months of silence before proceeding to court.
  • You can sue in federal district court (where you live) or the U.S. Court of Federal Claims in Washington, D.C., but each has different rules about what cases they will hear.
  • The IRS has sovereign immunity, meaning they cannot be sued for certain types of damages, and they can only be sued for money that was actually overpaid — not for penalties, interest, or emotional distress.
  • Lawsuits against the IRS typically cost thousands of dollars in attorney fees and take years to resolve, making this option realistic only when the refund amount is very large.
  • The IRS appeals process is faster and cheaper than litigation and resolves many refund disputes without ever reaching court.

The refund claim requirement: your first step before any lawsuit

You cannot walk into court and sue the IRS over a refund without first filing a formal refund claim. This claim is filed on Form 1040-X (for individual income tax) or Form 1120-X (for corporate tax), and it must be submitted to the IRS service center that processed your original return. The form tells the IRS exactly how much you believe you overpaid and why.

The IRS then has six months from the date they receive your claim to either approve it, deny it, or take no action. If they deny your claim in writing, you can sue immediately. If six months pass with no response, you are also allowed to sue — the silence counts as a constructive denial. Many people do not realize this timing rule and miss their window to file in court.

You must file your refund claim within the statute of limitations, which is generally three years from the date you filed your original return or two years from the date you paid the tax, whichever is later. If you filed late or had special circumstances, this deadline can extend, but it does not extend indefinitely. Once your claim is filed, keep a copy and note the date — you will need this proof later if you proceed to court.

Federal district court versus the U.S. Court of Federal Claims

Once your refund claim is denied or deemed denied, you have two places where you can file a lawsuit: a federal district court in your home state or the U.S. Court of Federal Claims in Washington, D.C. Each court has different rules, and the choice matters for cost, speed, and your chances of winning.

Federal district court is the court closest to you geographically. You can sue there if you have paid the tax in question and filed a refund claim that was denied. The advantage is convenience — you do not have to travel to Washington. The disadvantage is that federal district courts hear thousands of cases, and tax cases are not their specialty. You will need an attorney licensed to practice in that court, and you will likely face a longer wait for a hearing because the docket is crowded.

The U.S. Court of Federal Claims specializes in money claims against the federal government, including tax refund disputes. Judges in this court have deep experience with tax law and understand the technical details of IRS procedures. The disadvantage is location — you must file in Washington, D.C., and if your case goes to trial, you may need to travel. You can also represent yourself in the Court of Federal Claims without an attorney, though this is rare in practice because tax law is complex.

What the IRS's sovereign immunity actually blocks

Sovereign immunity means the federal government cannot be sued in the same way a private person or business can. This protection applies to the IRS in several important ways. You cannot sue the IRS for damages beyond the refund itself — no compensation for emotional distress, no punitive damages, and no attorney fees even if you win. You can only recover the money you actually overpaid in taxes, nothing more.

Sovereign immunity also means the IRS cannot be sued for certain types of claims at all. For example, you cannot sue the IRS for negligence or breach of contract in the way you could sue a bank or employer. The IRS can only be sued under the Administrative Procedure Act or under specific tax statutes that allow refund suits. This narrows the legal grounds on which you can build your case significantly.

There are narrow exceptions to sovereign immunity — for example, if the IRS wrongfully seized your property or violated your rights under the Internal Revenue Code in a specific way — but these exceptions are technical and require skilled legal argument. Most refund disputes do not fall into these exceptions, which is why most people never make it to the courtroom.

The cost and timeline of suing the IRS

A lawsuit against the IRS is expensive and slow. Attorney fees for a tax refund case typically start at $5,000 and can easily reach $15,000 to $50,000 or more, depending on how complex the case is and how far it goes. Court filing fees, expert witness costs, and other expenses add to this total. If you lose, you generally cannot recover these costs from the IRS, which means you absorb the full loss.

The timeline is measured in years, not months. After your refund claim is denied, you have two years to file in court. Once you file, the case typically takes one to three years to resolve, depending on the court's docket and whether the case goes to trial or is settled. Some cases take longer if they involve novel legal questions or require extensive discovery — the process of exchanging documents and evidence with the IRS.

Because of these costs and delays, most people only pursue a lawsuit if the refund amount is substantial — typically $10,000 or more. For smaller refunds, the cost of litigation exceeds the amount you would recover, making the lawsuit economically pointless.

When suing makes sense: the practical reality

Suing the IRS is realistic only in specific situations. If you believe the IRS made a clear, provable error in calculating your refund — for example, they failed to credit a payment you made, or they misapplied a tax law that clearly favors you — and the refund amount is large enough to justify legal costs, then a lawsuit may be worth considering. The stronger your legal position, the more likely an attorney will take your case seriously.

Cases involving novel or unsettled areas of tax law are also more likely to proceed to trial, because both sides have incentive to litigate rather than settle. Cases that turn on factual disputes — for example, whether you actually paid a certain expense — are harder to win and more expensive to pursue because you will need documentation and possibly expert testimony.

Before you hire an attorney, ask them to give you a realistic assessment of your chances of winning and an estimate of total costs. Many tax attorneys will give you a free initial consultation. If the attorney tells you the case is weak or the costs will exceed the refund, listen to that advice. An honest attorney will tell you when litigation is not the right path.

Alternatives to suing: the IRS appeals process

Before you consider a lawsuit, explore the IRS appeals process. If the IRS denies your refund claim, you can file an appeal with the IRS Office of Appeals within two years of the denial. This is a separate administrative process that does not require you to go to court. An appeals officer will review your case and may overturn the IRS's original decision based on the merits of your argument.

The appeals process is faster and cheaper than litigation. It typically takes three to six months, and you do not need an attorney (though you can bring one if you want). If you win on appeal, the IRS pays your refund without further delay. If you lose, you still have the option to sue in court afterward, so you have not lost anything by trying appeals first.

Many refund disputes are resolved at the appeals level, which is why this step is worth taking seriously. The IRS knows that some of its initial decisions are wrong, and appeals officers have authority to reverse them. Appeals officers are also more independent from the original decision-makers than a judge might be, which can work in your favor.

Frequently Asked Questions

How long do I have to sue the IRS after they deny my refund claim?

You have two years from the date the IRS denies your refund claim to file a lawsuit in federal court. If the IRS takes no action on your claim for six months, that silence counts as a denial, and your two-year clock starts then. If you miss this deadline, you lose the right to sue permanently.

Can I represent myself in a lawsuit against the IRS?

You can represent yourself in the U.S. Court of Federal Claims, though it is uncommon and difficult. In federal district court, you can also represent yourself, but the rules are complex and judges expect you to follow them. Most people hire an attorney because tax law is technical and the IRS will have lawyers arguing against you.

What if I cannot afford an attorney?

If your refund is small, an attorney will likely tell you the case is not worth pursuing because legal costs will exceed the refund. If your refund is large but you cannot afford an attorney upfront, some tax attorneys work on contingency (meaning they take a percentage of the refund if you win), though this is rare in IRS cases.

Does the IRS have to pay my attorney fees if I win?

Generally, no. Even if you win your lawsuit and recover your refund, the IRS does not have to pay your attorney fees under sovereign immunity. There are narrow exceptions if the IRS's position was unreasonable or frivolous, but these are rare and require specific legal arguments to invoke.

Should I sue or go through the appeals process?

Try the appeals process first. It is faster, cheaper, and many disputes are resolved there. If the appeals officer upholds the IRS's denial, then you can decide whether a lawsuit is worth the cost and time. Going straight to court skips a step that often works and costs you money unnecessarily.