You’ve probably seen it in crime shows: someone whispers, “We have a confidential informant.” Then later, someone threatens to reveal that person’s identity.
But in real life, is it illegal to expose a confidential informant?
The short answer is: It can absolutely be illegal — and very serious — depending on how and why it’s done.
Let’s break this down in plain English so you understand what the law says and why it matters.
🕵️ What Is a Confidential Informant?

A confidential informant (often called a “CI”) is someone who secretly provides information to law enforcement.
They may:
- Give information about criminal activity
- Help undercover investigations
- Testify in court (sometimes)
- Work in exchange for reduced charges or payment
Police departments, federal agencies, and prosecutors rely on informants in many cases — especially drug, gang, and organized crime investigations.
❓ Is It Automatically Illegal to Expose One?
Not always — but in many situations, yes.
Whether it’s illegal depends on:
- How you learned the identity
- Why you’re exposing it
- Whether there’s a court order involved
- Whether it interferes with a case or investigation
Let’s go step by step.
🚨 When It Is Clearly Illegal
1️⃣ If You’re Under a Court Order
If a judge has issued a protective order sealing an informant’s identity, revealing that information can lead to:
- Contempt of court
- Criminal charges
- Fines
- Jail time
Courts often seal informant identities to protect safety and ongoing investigations.
2️⃣ If You’re a Government Employee or Attorney
Police officers, prosecutors, court staff, and sometimes defense attorneys may be legally restricted from revealing a confidential informant’s identity.
If someone in one of those roles exposes a CI without authorization, they could face:
- Criminal charges
- Loss of job
- Professional discipline
- Disbarment (for attorneys)
3️⃣ If You’re Intimidating or Retaliating
If someone exposes a confidential informant in order to:
- Threaten them
- Harm them
- Intimidate them
- Interfere with testimony
That could lead to serious federal charges under laws like:
- 18 U.S. Code § 1512 (Witness Tampering)
- 18 U.S. Code § 1513
These laws make it illegal to:
- Intimidate a witness
- Harass someone cooperating with law enforcement
- Retaliate against someone for assisting an investigation
Penalties can include years in federal prison.
⚖️ What If the Information Is Public?
Here’s where it gets more complicated.
If the identity of the informant is:
- Already revealed in open court
- Published in public court records
- Legally reported by media
Then repeating that information may not be illegal.
However:
If you expose someone in a way that leads to threats or violence, you could still face other criminal charges.
📰 What About Freedom of Speech?
The First Amendment protects freedom of speech — but it does not protect:
- True threats
- Criminal harassment
- Inciting violence
- Obstruction of justice
Courts balance free speech rights against public safety and the integrity of criminal investigations.
Simply put:
Free speech is powerful — but it does not give you the right to endanger someone.
🔐 Why Informant Identities Are Protected
Courts recognize something called the “informant’s privilege.”
In a well-known Supreme Court case, Roviaro v. United States, the Court explained that the government can sometimes keep an informant’s identity secret to protect:
- Ongoing investigations
- The safety of the informant
- The public interest
However, if revealing the identity is necessary for a fair trial, a judge may require disclosure to the defense.
🧑⚖️ Can a Defendant Reveal the Informant?
If a defendant legally learns the identity during court proceedings, they must still follow court rules.
If a judge issues:
- A gag order
- A sealing order
- A protective order
Violating those can lead to criminal contempt.
Even outside of court orders, threatening or encouraging harm to an informant can result in new charges.
📱 What About Social Media?
Posting online that someone is a “snitch” or confidential informant can be extremely dangerous — and potentially illegal.
If it leads to:
- Threats
- Harassment
- Violence
- Witness intimidation
You could face state or federal charges.
Prosecutors take online retaliation seriously, especially when it interferes with active investigations.
🏛️ What Could the Penalties Be?
Depending on the situation, exposing a confidential informant could lead to:
- Witness tampering charges
- Obstruction of justice
- Retaliation against a witness
- Criminal contempt
- Civil lawsuits
Penalties may include:
- Fines
- Several years in prison
- Probation
- Criminal record
In federal cases, sentences can be especially severe.
🤔 What If You Didn’t Know They Were an Informant?
Intent matters.
If someone accidentally shares information without knowing the person is a protected informant, that may affect criminal liability.
However, once you know — continuing to expose them intentionally could create legal problems.
🛑 Why This Is Taken So Seriously
Exposing a confidential informant can:
- Put someone’s life at risk
- Destroy investigations
- Undermine court proceedings
- Discourage others from cooperating with law enforcement
Courts and prosecutors treat this as a public safety issue, not just a technical rule violation.
⚠️ Real-World Advice
If you:
- Learn someone is cooperating with law enforcement
- Are involved in a criminal case
- Feel angry about someone “snitching”
The safest legal move is simple:
Do not expose, threaten, or retaliate.
Doing so can turn someone else’s criminal case into your own.
🧭 Final Thoughts
So, is it illegal to expose a confidential informant?
In many situations — yes. Especially if it involves intimidation, retaliation, or violating court orders.
Even when it’s not automatically illegal, it can quickly cross the line into serious criminal territory.
The law protects informants not to reward them — but to protect investigations, court fairness, and human safety.
If you’re ever unsure about your rights in a specific situation, speak to a qualified criminal defense attorney before taking action.
When it comes to confidential informants, what you say — and how you say it — can carry serious consequences.
