The different types of immunity in court fall into a handful of categories, each tied to who is being sued and what they were doing. The federal and state governments themselves are protected by sovereign immunity. Judges, prosecutors, and the President carry absolute immunity for their official functions. Members of Congress are shielded by the Speech or Debate Clause. Police officers and most other public employees have the weaker, conditional protection of qualified immunity. Foreign diplomats have their own regime under treaty. And witness immunity works in reverse, forcing testimony rather than preventing a lawsuit. Which one applies to your situation decides whether you can get into court at all.
Sovereign Immunity Against the Government Itself
Neither the federal government nor the states can be sued without their consent. The Supreme Court has held repeatedly that the United States may not be sued unless Congress has waived immunity.1Congress.gov. Constitution Annotated – Suits Against the United States and Sovereign Immunity A federal employee who damages your car in a crash is not a defendant you can simply name in a complaint the way you would a private driver.
The main waiver is the Federal Tort Claims Act. It gives federal courts jurisdiction over injury and property-damage claims caused by the negligent or wrongful acts of federal employees acting within the scope of their job.2Office of the Law Revision Counsel. 28 USC 1346 – United States as Defendant The government’s liability tracks what a private person would face in the same situation, so purely governmental functions remain outside the waiver.
Congress also kept several exceptions. The biggest is the discretionary-function exception, which blocks any claim based on a federal employee’s policy-level judgment call, whether or not that judgment was sound.3Office of the Law Revision Counsel. 28 USC 2680 – Exceptions A road crew that ignores a known pothole can expose the government to a claim; an agency head who sets a disputed enforcement priority usually cannot be sued over it.
Active-duty service members face an added bar. In Feres v. United States, the Supreme Court held that the government is not liable under the FTCA for injuries sustained by military personnel while on active duty and arising from military service.4Justia. Feres v United States, 340 US 135 (1950) Feres still blocks most tort claims by active-duty personnel against the federal government.
States have their own layer under the Eleventh Amendment, which bars lawsuits against a state in federal court by its own citizens or by citizens of other states.5Justia Law. State Sovereign Immunity – Eleventh Amendment Two workarounds are narrow: Congress can override state immunity when enforcing the Fourteenth Amendment, and individuals can sue state officials for injunctive relief to stop ongoing constitutional violations. Most states have passed their own tort claims acts that waive immunity in limited situations, with widely varying scope. Cities and counties do not share this shield and can generally be sued directly.
Absolute Immunity for Judges, Prosecutors, and the President
Absolute immunity is the strongest personal protection in the system. It blocks civil lawsuits entirely, regardless of how badly the official behaved or what their motive was. The shield attaches to the function being performed, not to the title on the door.
Judges
Judges are immune from civil liability for any act performed in their judicial capacity, even if the act was malicious or exceeded the normal bounds of their authority. The only recognized exception is action taken in the complete absence of all jurisdiction. A judge who makes a clearly wrong ruling in a case properly before the court is still protected. An immigration judge who tries to decide a traffic dispute may not be.
Prosecutors
Prosecutors receive absolute immunity for actions tied to initiating and pursuing a criminal case, including decisions about what charges to file, what evidence to present, and how to argue at trial.6Justia. Imbler v Pachtman, 424 US 409 (1976) The shield covers the judicial phase of the criminal process. It does not reach investigative work. When a prosecutor personally directs a search or acts more like a detective than an advocate, the protection drops to qualified immunity, which is easier to overcome.
The President
The President enjoys absolute immunity from civil damages for all official acts falling within the outer perimeter of presidential duties, a rule set in Nixon v. Fitzgerald.7Justia. Nixon v Fitzgerald, 457 US 731 (1982) In 2024, the Court extended that framework to criminal prosecution in Trump v. United States, holding that a former president has absolute immunity from criminal charges for actions within his core constitutional authority and at least presumptive immunity for all other official acts.8Supreme Court of the United States. Trump v United States, No 23-939 (2024) Unofficial acts receive no immunity.
Legislative Immunity Under the Speech or Debate Clause
Members of Congress and their aides have absolute immunity for acts taken within the legislative sphere. The Speech or Debate Clause of Article I, Section 6 provides that legislators “shall not be questioned in any other Place” for any speech or debate in either house of Congress.9Congress.gov. Constitution Annotated – Overview of Speech or Debate Clause It covers voting, debating, writing committee reports, and other core legislative work, and when it applies it operates as an absolute jurisdictional bar to both civil and criminal proceedings.
The protection ends where political activity begins. Press conferences, newsletters to constituents, campaign speeches, and arranging private publication of government documents all fall outside the Clause.10Congress.gov. Constitution Annotated – Communications Outside the Legislative Process A legislator informing themselves through official proceedings is protected; informing the public through the media is not.
Qualified Immunity for Police and Other Officials
Qualified immunity is the version most people run into. It protects police officers, corrections staff, school administrators, and other government employees from personal liability in civil rights lawsuits brought under federal law.11Office of the Law Revision Counsel. 42 USC 1983 – Civil Action for Deprivation of Rights Unlike absolute immunity, it can be defeated. The question is whether the official should have known the conduct was unlawful.
Courts apply a two-step inquiry. First, did the conduct actually violate a constitutional right? Second, was that right “clearly established” at the time, meaning existing case law would have put any reasonable official on notice that the behavior crossed the line?12Federal Law Enforcement Training Centers. Part IX Qualified Immunity If the right was not clearly established, the officer gets immunity and the case is dismissed early, often before any evidence-gathering.
This is where most civil rights cases against police officers collapse. The “clearly established” standard demands a high degree of factual similarity with earlier rulings. An officer who uses excessive force in a way no court has previously addressed in a sufficiently similar scenario can still receive immunity, even if the underlying conduct was unconstitutional. Several states, including Colorado, New Mexico, and Montana, have eliminated or restricted qualified immunity in state-court lawsuits, so where you file can matter as much as what happened.
Diplomatic Immunity for Foreign Representatives
Foreign diplomats stationed in the United States are shielded from lawsuits and criminal prosecution under a framework built on the Vienna Convention on Diplomatic Relations and codified in federal law. Any lawsuit against an individual entitled to diplomatic immunity must be dismissed.13Office of the Law Revision Counsel. 22 USC 254d – Dismissal of Actions Against Individuals With Diplomatic Immunity
Protection scales with rank. Full diplomatic agents have nearly total immunity: they cannot be arrested, detained, or prosecuted for any crime, and they are exempt from most civil suits. Consular officers get a narrower shield covering only acts performed in their official capacity, and they can be arrested for serious felonies with a court warrant. The sending country can waive immunity in any case, and U.S. policy is to request a waiver whenever charges would otherwise be filed.14U.S. Department of State. 2 FAM 230 – Immunities of Foreign Representatives
Witness Immunity in Criminal Cases
Witness immunity does the opposite of the others on this list. Instead of protecting an official from accountability, it is a tool prosecutors use to force a reluctant witness to testify by stripping away the Fifth Amendment right to remain silent. Once a court grants it, the witness cannot refuse to answer on self-incrimination grounds.15Congress.gov. Constitution Annotated – Amdt5.4.5 Immunity
Federal law provides use and derivative use immunity. Neither the compelled testimony nor any evidence the government discovers because of that testimony can be used against the witness in a later criminal case.16Office of the Law Revision Counsel. 18 USC 6002 – Immunity Generally The witness is not fully off the hook. If prosecutors can build a case using evidence from a truly independent source, charges remain available, and the government carries a heavy burden to prove that independence.
Some states offer a broader form called transactional immunity, which bars prosecution for any offense related to the subject of the testimony, regardless of where the evidence comes from. The federal system does not use it. Transactional immunity gives witnesses more certainty but prosecutors less flexibility, which is why it has largely fallen out of favor federally.
Immunity is not a license to lie. The federal statute explicitly carves out prosecutions for perjury, false statements, and contempt for refusing to comply with the court’s order.16Office of the Law Revision Counsel. 18 USC 6002 – Immunity Generally A witness who provides false testimony under an immunity grant can be charged for the dishonesty using the very testimony they gave.
Deadlines When You Can Sue the Government
When immunity has been waived and you do have the right to sue, the clock is tight. Under the FTCA, you must file an administrative claim with the responsible federal agency within two years of the date you were injured.17Office of the Law Revision Counsel. 28 USC 2401 – Time for Commencing Action Against United States Skipping this step and going straight to court is not an option. If the agency denies your claim, you then have six months from the date of the denial letter to file suit in federal district court.18Office of the Law Revision Counsel. 28 USC 2675 – Disposition by Federal Agency as Prerequisite If the agency sits on the claim for more than six months without acting, you can treat that silence as a denial and proceed.
State tort claims acts set their own deadlines, often requiring a formal notice of claim within as little as 60 to 180 days after the incident. Missing a notice window can permanently forfeit the right to sue, even when the underlying claim is strong and the statute of limitations has not yet run. Checking your state’s requirements early is worth doing before anything else.