In United States v. Heppner (S.D.N.Y. 2026), a federal court ruled AI-generated documents were not privileged. Here is what the ruling means — and how to use AI without waiving attorney-client privilege.
Founder, The Legal Prompts | Legal AI & GEO Specialist
TL;DR — Executive Summary
On February 10, 2026, a federal judge in Manhattan ruled — for the first time in the United States — that documents a criminal defendant created by typing prompts into a consumer AI chatbot were neither privileged nor protected work product, and could be turned over to prosecutors. The case is United States v. Heppner, No. 25-cr-00503-JSR, decided by U.S. District Judge Jed S. Rakoff of the Southern District of New York, with a written opinion issued February 17, 2026. For every lawyer who has ever pasted case facts into ChatGPT or Claude, this ruling is a wake-up call — and a roadmap.
Here is the reassuring part, stated plainly before we get into the law: the court did not hold that lawyers cannot use AI. It held that this defendant, using AI this way, forfeited protection. Change the facts — attorney direction, the right tool configuration, no raw client data — and the analysis changes too. This article walks through exactly what happened, why the court ruled the way it did, and the concrete steps that keep your AI work inside the privilege.
The underlying case is a white-collar prosecution. Heppner was charged with securities fraud and wire fraud. The indictment came down on October 28, 2025; he was arrested on November 4, 2025, the same day a search warrant was executed. The privilege fight that made the case famous came later: on February 6, 2026, the government filed a motion challenging Heppner's claim of privilege over a set of AI-generated documents. Judge Rakoff granted that motion in an oral ruling from the bench on February 10, 2026, and followed with a written opinion on February 17, 2026.
What were the documents? Acting on his own, without the direction of his attorney, Heppner had submitted prompts to a consumer (non-enterprise) version of Claude, Anthropic's AI assistant, to "organize and synthesize information" relevant to his defense. Those prompts included details he had learned during discussions with his lawyer. Over the course of this work he generated 31 documents intended, in his words, to "consolidate his thoughts and facilitate future communications with counsel." He then shared those documents with his attorneys.
When the government sought the documents, the defense asserted that they were protected by the attorney-client privilege and the work product doctrine. The court disagreed on both counts. Because no court had squarely addressed whether AI-generated materials of this kind are privileged, Judge Rakoff described the issue as a "question of first impression nationwide."
The pivotal fact in Heppner is not that AI was involved. It is that the defendant used the AI unilaterally — without his lawyer directing the work — on a consumer platform whose terms permitted data collection and disclosure. Those two facts, more than the technology itself, drove the outcome.
The attorney-client privilege protects confidential communications between a client and a lawyer made for the purpose of obtaining legal advice. Judge Rakoff found that the AI-generated documents failed that test on three independent grounds. Any one of them would have been enough; all three were present here.
The privilege protects communications with an attorney. The AI, the court reasoned, "was not a lawyer and could not establish an attorney-client relationship." Privilege requires "a trusting human relationship" with "a licensed professional." A chatbot, however capable, is neither human nor licensed. When Heppner typed his thoughts into the tool, he was not communicating with his lawyer — he was communicating with a software product owned by a third party. That communication simply does not fit the legal definition the privilege is built around.
Privilege also requires that the communication be confidential. The court looked at the platform's privacy policy and found that it defeated any reasonable expectation of confidentiality. According to the opinion, the policy disclosed that the platform "collects users' inputs and outputs, uses that data to train its model," and "reserves the right to disclose such data to multiple categories of third parties, including the government."
In plain terms: you cannot expect a conversation to stay secret when the service you are using tells you, in its own terms, that it may read your inputs, train on them, and hand them to the government. Confidentiality is the bedrock of the privilege, and the terms of service knocked that bedrock out.
Finally, the privilege protects communications made to obtain legal advice. But the tool's terms "expressly disclaimed that it is not a lawyer and cannot provide formal legal advice." The court noted that when the tool was asked directly, it confirmed it could not give legal advice. You cannot seek legal advice from something that tells you, repeatedly, that it does not give legal advice. So the third element of the privilege failed too.
There is one more principle worth pulling out, because it is the trap that catches most people: documents that are "not privileged at the time they are made do not acquire protection merely because they were transferred to counsel." Heppner shared his 31 documents with his lawyers, but handing an unprivileged document to your attorney does not retroactively wrap it in privilege. The protection has to exist at the moment of creation. It did not.
The safest prompts are the ones that never contain client identifiers in the first place. The Legal Prompts library gives you structured, attorney-directed templates built to keep names, numbers, and identifying facts out of your inputs.
Explore the Prompt Library →The defense had a backup argument. Even if the documents were not privileged, they might still be protected as work product — materials prepared in anticipation of litigation. The court rejected this too, and the reasoning is important for understanding how to do it right.
The court found the materials were "prepared by the defendant on his own volition," not at the direction of his attorney. That is the crux. The work product doctrine exists to protect a lawyer's strategic thinking and mental impressions from disclosure to an adversary. While Heppner's documents "may have influenced counsel's thinking going forward," they did not "embody or memorialize counsel's strategic analysis when they were generated." In other words: they captured the client's thoughts, generated unilaterally, before any lawyer had shaped them into strategy. That is not work product.
Read the privilege ruling and the work product ruling together and a single theme jumps out: attorney direction is the dividing line. The court expressly observed that attorney-directed use "may have" produced a different result. That is the door the ruling leaves open — and it is exactly the door this article is about.
It is easy to read a headline about Heppner and conclude that AI and the attorney-client privilege are fundamentally incompatible. That is the wrong lesson. Heppner is not a holding that "AI waives privilege." It is a holding that a specific pattern of use waives privilege: a client, acting alone, without counsel's direction, on a consumer tool whose terms permit data collection and third-party disclosure, with no expectation of confidentiality and no genuine purpose of obtaining legal advice.
Almost every one of those facts is something a careful lawyer controls. You decide whether the AI is used at your direction. You decide which tool, and on what data terms. You decide whether raw client identifiers ever touch a prompt. The court itself signaled that attorney-directed use "may have" changed the outcome — an explicit invitation to do it correctly.
It is worth noting that the ruling is not without its critics. Commentators writing in venues such as Lawfare and the Harvard Law Review have questioned whether a platform's privacy policy should be treated as dispositive on the confidentiality question, and have argued against a rigid legal distinction between "consumer" and "enterprise" AI when reasonable safeguards are in place. They point to the framework in ABA Formal Opinion 477R, which already addresses confidential information transmitted over the internet and the cloud, requiring lawyers to take reasonable steps and exercise due diligence over vendors rather than apply categorical bans. Separately, ABA Formal Opinion 512 requires lawyers to advise clients about the security risks of AI use. These are live debates — present them as commentary and professional guidance, not as the holding of the court. The holding is narrow; the best practices below are how you stay on the right side of it.
This is the part that matters for your practice. Drawing on the reasoning in Heppner and on guidance from firms that advise on legal technology (including published analysis from Gibson Dunn), here is how to keep AI-assisted work inside the privilege and the work product doctrine. Treat it as a checklist, not a buffet — the protection is strongest when these steps stack.
Notice that none of these steps require you to abandon AI. They require you to use it like a professional handling confidential information — the same way you already handle email, cloud storage, and outside vendors. For the broader picture of how to choose tools that support this discipline, see our guide to the best AI tools for lawyers in 2026.
The heart of the Heppner confidentiality analysis was the consumer tool's privacy policy. So it is worth being precise about what separates a consumer AI product from an enterprise one — and why the distinction is contested.
| Factor | Consumer AI (the Heppner pattern) | Enterprise / Closed Deployment |
|---|---|---|
| Training on your inputs | Often permitted by default | Typically prohibited (no-training agreement) |
| Data retention | Inputs/outputs collected and stored | Zero-data-retention options available |
| Third-party disclosure | Reserved right to disclose, including to government | Contractually restricted |
| Expectation of confidentiality | Weak — terms defeat it | Stronger — supported by contract terms |
| Suitable for client data? | No — anonymize first, at minimum | Suitable with proper diligence and settings |
A fair caveat: as the critics noted above, some commentators argue there should be no rigid legal line between consumer and enterprise AI when reasonable safeguards exist — that the real question is whether the lawyer took reasonable steps, not which product label the tool carries. That debate will play out in future cases and bar opinions. But until it does, the practical lesson from Heppner is unambiguous: the tool you choose, and the data terms attached to it, materially affect whether your work stays confidential. When in doubt, treat consumer chatbots as you would a postcard, and reserve sensitive matters for properly configured environments. Your obligations here also intersect with your broader duties — see our overview of AI legal ethics and bar association guidelines.
United States v. Heppner is the first nationwide ruling to confront whether AI-generated documents are privileged, and its answer was no — on the specific facts before the court. But the facts are the whole point. A client used a consumer tool, alone, without his lawyer's direction, on terms that permitted data collection and government disclosure, with no real expectation of confidentiality and no genuine pursuit of legal advice. Strip away those facts and the ruling does not condemn AI in legal practice. It condemns careless AI use.
The disciplined alternative is straightforward: direct the work yourself, choose tools with the right data terms, turn on no-training settings, document attorney direction, and never let raw client identifiers touch a prompt. Do that, and you capture the genuine productivity of AI while keeping your work where it belongs — inside the privilege. The lawyers who get sanctioned and the lawyers who get an edge will, increasingly, be separated by exactly these habits. (For the related risk of AI-fabricated citations, see our analysis of AI hallucinations in legal work and how to avoid sanctions.)
Use structured, attorney-directed prompt templates designed to keep client identifiers out of your prompts — a disciplined complement to a properly configured AI tool. The Legal Prompts does not make your communications privileged, but it helps you prompt without exposing client data.
See Plans & the Prompt Library →No. A general-purpose AI chatbot like ChatGPT is not a lawyer and cannot form an attorney-client relationship, so conversations with it are not protected by the attorney-client privilege on their own. United States v. Heppner (S.D.N.Y. 2026) reached this conclusion regarding a consumer AI tool: the privilege requires a trusting human relationship with a licensed professional, which a chatbot cannot provide. Using AI at your attorney's direction, on a tool with appropriate data terms, is a different scenario — but the chatbot conversation itself is not inherently privileged.
It depends entirely on which version you use and its terms. In Heppner, the court found that a consumer version of Claude's privacy policy disclosed that it collected user inputs and outputs, used that data to train its model, and reserved the right to disclose data to third parties including the government — which defeated any reasonable expectation of confidentiality. Enterprise deployments with zero-data-retention and no-training agreements offer materially stronger confidentiality. Always check the specific terms and enable available no-training settings before entering anything sensitive.
If the chats are not protected by privilege or the work product doctrine, they are generally discoverable like any other unprotected document — and that is exactly what happened in Heppner, where the government obtained the defendant's 31 AI-generated documents. The protection has to exist at the time the document is created; you cannot make an unprivileged document privileged after the fact by forwarding it to your lawyer. This is why attorney direction, proper tool selection, and anonymization matter from the very first prompt.
The defendant in Heppner was a client using AI unilaterally, without his attorney's direction, and that was central to the ruling. The decision's clearest warning is about clients freelancing with AI on their own cases. But the principles apply to lawyers too: a lawyer who uses a consumer AI tool with poor data terms, or who pastes raw client identifiers into a public chatbot, faces the same confidentiality and waiver risks. The protective factor the court highlighted — attorney direction — is precisely what lawyers control.
Follow a layered approach: (1) use AI only at the attorney's direction, never letting clients work unilaterally; (2) for sensitive matters, use enterprise or closed-environment deployments with zero-data-retention and no-training agreements; (3) review the vendor's terms on data access, retention, and secondary use; (4) enable all opt-out and no-training settings; (5) never paste raw client-identifying data — anonymize and abstract first; and (6) document that the AI was used at counsel's direction and reflects counsel's mental impressions. The Heppner court itself noted that attorney-directed use "may have" produced a different result.
No — and any tool that claims otherwise should be treated with suspicion. No software can unilaterally create attorney-client privilege; privilege is a legal status that depends on facts like attorney direction, confidentiality, and the purpose of seeking legal advice. The Legal Prompts is a library of structured, attorney-directed prompt templates plus an anonymize-before-you-prompt method that helps you avoid pasting client identifiers into AI tools. It is a complement to a properly configured AI deployment, not a substitute for the legal discipline described in this article.
Two ABA Formal Opinions are most relevant. Formal Opinion 477R addresses confidential client information transmitted over the internet and the cloud, requiring lawyers to take reasonable steps and conduct due diligence on vendors rather than apply blanket bans. Formal Opinion 512 requires lawyers to advise clients about the security risks associated with AI use. Some commentators argue these reasonable-steps frameworks should govern AI privilege questions instead of treating a privacy policy as automatically dispositive — a debate that remains unsettled after Heppner.
Generate Pro-Client, Balanced, and Pro-Provider documents across 8+ jurisdictions.

Founder, The Legal Prompts | Legal AI & GEO Specialist
Jonathan is the founder of TheLegalPrompts.com — an AI-powered legal document generator that produces 208+ document variations across 3 perspectives, 8+ jurisdictions, and 6 industry presets. He built the platform's Interest Toggle (Pro-Client/Balanced/Pro-Provider) and Reasoning & Traceability engine, which provides clause-level legal sourcing and risk ratings.