You can sue the IRS, but only after you've asked for your money back in writing and waited at least six months

The IRS is a government agency, which means you cannot sue it the way you'd sue a person or a business. Instead, you follow a specific process: you file a claim for refund with the IRS, wait six months, and only then can you file a lawsuit in federal court if the IRS hasn't responded or has denied your claim. This process exists because the government has sovereign immunity — a legal rule that protects government agencies from most lawsuits unless they agree to be sued under certain conditions.

The six-month waiting period is not optional. If you file a lawsuit before six months have passed, the court will dismiss it. The IRS does not have to grant your claim, but you must give them the chance to respond before you can take legal action.

Key Takeaways

  • You must file a written claim for refund with the IRS before you can sue, and you must wait at least six months from the date you file that claim.
  • If the IRS denies your claim or does not respond within six months, you can then file a lawsuit in federal district court or the U.S. Court of Federal Claims.
  • You will need to prove that the IRS made an error — for example, that they miscalculated your refund, lost your return, or failed to process a valid claim.
  • Most refund disputes are resolved through the IRS's normal channels (amended returns, appeals, or the Taxpayer Advocate Service) without reaching court.
  • An attorney who handles tax law can tell you whether your situation is worth pursuing in court, since legal fees can be substantial.

How to file a claim for refund with the IRS

A claim for refund is a formal written request asking the IRS to return money you believe they owe you. You file it using Form 1040-X (Amended U.S. Individual Income Tax Return) if you're claiming a refund on an income tax return you already filed. You send it to the IRS service center that handles returns for your state.

The form itself is straightforward: you explain which year the refund is for, which line items on your original return were wrong, and how much money you believe you're owed. You must include documentation — receipts, bank statements, or other proof — that supports your claim. The IRS will not process a claim without evidence.

Keep a copy of everything you send and consider mailing it certified mail with return receipt requested. This creates a paper trail showing when the IRS received your claim, which matters for the six-month clock.

What happens after you file your claim

The IRS has up to three years from the date you file your claim to decide whether to grant it or deny it. In practice, many claims take several months to process. During this time, the IRS may contact you asking for more information or clarification.

If the IRS grants your claim, they will send you a refund check or explore the money to taxes you owe in other years. If they deny it, they will send you a letter explaining why. If six months pass and you hear nothing, you can proceed to court even though the IRS has not formally responded.

You can check the status of your claim by calling the IRS at 1-800-829-1040 or by logging into your IRS account online at irs.gov. Have your Social Security number and the tax year in question ready.

When you can file a lawsuit in federal court

Once six months have passed since you filed your claim for refund, you have two options for where to sue: federal district court (the regular court system) or the U.S. Court of Federal Claims (a specialized court that handles money claims against the federal government). You can choose only one — if you file in district court, you cannot later file in the Court of Federal Claims for the same claim, and vice versa.

Federal district court is the more familiar option for most people. You file a lawsuit there like you would against any defendant, and you have the right to a jury trial. The U.S. Court of Federal Claims is less familiar but sometimes faster; it has judges who specialize in tax cases, but there is no jury.

You must file your lawsuit within two years of the date the IRS denied your claim, or within two years of the six-month waiting period ending if the IRS never responded. Missing this important date means you lose the right to sue.

What you need to prove in court

straightforward believing the IRS made a mistake is not enough. You must prove it with evidence. Common reasons people win refund lawsuits include: the IRS miscalculated your tax liability, the IRS failed to credit a payment you made, the IRS lost or never received your return, or the IRS applied your refund to a debt that was not legally owed.

You will need to bring documents: your original tax return, bank statements showing you paid taxes, receipts for deductions you claimed, correspondence from the IRS, and any other paperwork that supports your position. If the IRS claims you owe money instead, you need proof that you paid it or that you don't owe it.

The burden is on you to prove your case. The IRS does not have to prove they were right — you have to prove they were wrong.

Why most people don't reach court

Lawsuits are expensive. You will need to hire a tax attorney, which costs money upfront, and the case may take a year or more to resolve. Court filing fees, informed witness fees, and other costs add up quickly. If your refund is small — a few hundred dollars — the cost of litigation will likely exceed what you're trying to recover.

For this reason, most refund disputes are resolved through other channels first. If you disagree with an IRS decision, you can file an appeal with the IRS Appeals Office, which is free and often faster than court. You can also contact the Taxpayer Advocate Service, an independent office within the IRS that helps taxpayers resolve disputes. The Advocate Service is free and does not require you to hire an attorney.

An attorney who specializes in tax law can review your situation and tell you honestly whether court is worth pursuing. Many will do an initial consultation for free or a low fee.

Other ways to resolve a refund dispute before court

The IRS Appeals Office handles disagreements over refunds without going to court. If the IRS denied your claim, you can request an appeal by filing Form 12203 (Request for Appeals Conference) within 30 days of receiving the denial letter. The Appeals Office is separate from the office that denied your claim, so they will review your case fresh.

The Taxpayer Advocate Service is another free option. If you believe the IRS has not treated you fairly or has caused you a hardship, you can contact them. They have the power to issue a Taxpayer Advocate Directive that tells the IRS to take action. You can reach them at 1-877-777-4778 or through irs.gov.

If you filed your original return through a tax preparer and believe they made an error that caused you to lose a refund, you may have a claim against the preparer instead of the IRS. This is a separate lawsuit and follows different rules.

Frequently Asked Questions

How long does it take to get a refund after I win a lawsuit?

Once the court rules in your favor, the IRS typically sends the refund within 30 to 60 days. However, the IRS may appeal the court's decision, which delays payment. Your attorney can tell you whether an appeal is likely in your case.

Can I sue the IRS if they took my refund to pay a debt I don't owe?

Yes. If the IRS offset your refund — meaning they used it to pay a debt like back child support or student loans — you can challenge that offset. You must file a claim for refund first, following the same six-month process described above.

Do I need a lawyer to file a claim for refund?

No. You can file Form 1040-X yourself. However, if your situation is complex or involves a large amount of money, an attorney can help you gather evidence and present your case clearly, which improves your chances.

What if the IRS says I owe them money instead of owing me a refund?

You can still dispute this through the same process. File a claim for refund explaining why you believe the IRS's calculation is wrong. If they deny it, you can appeal or sue. The burden remains on you to prove the IRS made an error.

Can I sue the IRS for interest or penalties while I wait for my refund?

The IRS owes you interest on refunds that are delayed, and this interest is calculated automatically. You do not need to sue for it — the IRS will include it when they send your refund. Penalties are different and harder to recover; an attorney can advise whether your situation qualifies.