Introduction
In early 2023, a lawyer in New York submitted a legal brief to the court that cited six relevant cases as precedent. There was just one problem: none of those cases existed. The lawyer had used ChatGPT to research case law, and ChatGPT had invented cases that sounded completely real - complete with plausible case names, citations, and summaries - but were entirely fabricated.
This is a well-known example of a ChatGPT hallucination. And it's one of the most important things to understand about modern AI tools.
What hallucination actually means
An AI hallucination is when a language model generates output that sounds confident and plausible but is factually wrong, made up, or disconnected from reality.
The term "hallucination" comes from human psychology, where it describes perceiving something that isn't there. The idea is similar here: the model produces text that looks like it's based on real information, but isn't. It's not lying - it doesn't have beliefs or intentions. It's generating the most statistically probable next sequence of words, and sometimes that sequence happens to be nonsense dressed up as fact.
This can range from subtle to spectacular. It might be a wrong date in an otherwise accurate summary, a fabricated quote attributed to a real person, or even a completely invented scientific study with authors, a journal name, and detailed findings. These kinds of situations are typical examples of AI hallucinations - outputs that feel credible but aren't actually grounded in reality.
The common thread is that the output feels authoritative. It reads like it should be correct - and that's exactly what makes it dangerous.
Why AI models hallucinate
To understand why AI hallucinations happen, you need to understand how language models work at a basic level.
A large language model - often referred to when discussing LLM hallucination - doesn't "know" things the way a human does. It hasn't memorized a database of facts that it retrieves on demand. Instead, it has learned statistical patterns from vast amounts of text. When you ask it a question, it generates a response by predicting, one token at a time, what word is most likely to come next based on the patterns it learned during training.
This is a fundamentally different process than looking something up. The model isn't checking a source. It's constructing a plausible-sounding response based on patterns. Most of the time, those patterns produce accurate output because the training data contained accurate information. But when the model encounters a question where its training data is thin, conflicting, or absent, it doesn't say "I don't know." It does the only thing it can do: it keeps predicting the next most likely word.
And the next most likely word, strung together into sentences and paragraphs, can produce something that reads perfectly but is completely wrong.
Several specific factors make hallucinations more likely:
Gaps in training data. If the model wasn't trained on sufficient information about a topic, it fills in the gaps with plausible-sounding fabrication. This is especially common for niche topics, recent events (past the model's knowledge cutoff), and highly specific factual claims.
Ambiguous prompts. When a prompt is vague or could be interpreted multiple ways, the model may latch onto an interpretation that leads it down an inaccurate path. The more specific and well-structured your prompt, the less room for the model to wander.
Overconfidence in patterns. Language models are optimized to produce fluent, confident-sounding text. There's no built-in mechanism that makes the model express uncertainty proportional to how uncertain it actually is. It generates text with the same confident tone whether it's on solid ground or making things up entirely.
Training data bias and errors. If the training data itself contains errors, biases, or misinformation, the model can learn and reproduce those inaccuracies. The model has no way to distinguish between reliable and unreliable sources in its training data - it just learns patterns from all of it.
Types of hallucination
Not all hallucinations are the same, and recognizing the different types helps you know what to watch for.
Factual fabrication. The model invents facts, statistics, quotes, citations, or events that don't exist. This is the most well-known type and the easiest to spot - if you check.
Subtle inaccuracy. The model gets most of the details right but introduces small errors - a wrong date, a misattributed quote, an incorrect number. These are harder to catch because the surrounding context is accurate.
Confident nonsense. The model produces output that is grammatically perfect and sounds authoritative but is logically incoherent or meaningless. This often happens with highly technical or specialized topics.
Source hallucination. The model cites sources - books, papers, URLs, studies - that don't exist. This is particularly insidious because the format of a citation carries an implicit claim of verifiability, and many people trust the citation without checking it.
Inconsistency. The model contradicts itself within the same response or across responses. It might say one thing in paragraph two and the opposite in paragraph five, both with equal confidence.
These are common LLM hallucination examples, particularly in research-heavy outputs.
Why hallucinations are hard to fix
This is the part that surprises most people: an AI hallucination isn't a bug that can be patched. It's a fundamental consequence of how language models work.
Because these systems generate text through statistical prediction rather than fact retrieval, there will always be cases where the output doesn't match reality. You can reduce hallucinations through better training data, fine-tuning, retrieval-augmented generation (RAG), and improved prompting techniques. But you can't eliminate them entirely without fundamentally changing how the technology works.
This is why every responsible AI provider includes some version of the disclaimer: "AI can make mistakes. Check important information."
It's not a throwaway line. It's the most important thing to understand.
How to prevent AI hallucinations
If you use AI tools for anything that matters - work, research, or decision-making - understanding how to prevent AI hallucinations is essential:
Never trust factual claims without verification. Always check names, dates, statistics, and citations.
Be specific in your prompts. Vague, open-ended prompts give the model more room to fabricate. Clear and specific prompt structure reduces ambiguity.
Ask for sources, then verify them. You can ask the model to provide sources for its claims. But remember: AI can hallucinate sources as easily as facts.
Use AI for drafts, not final answers. The best mental model is to treat AI output as a starting point from a smart but unreliable assistant. Verification still matters because AI won't always make you faster if mistakes need correcting.
Recognize high-risk domains. Hallucinations are most dangerous in areas where accuracy is critical and errors have real consequences. Legal, medical, financial, and academic use cases require human validation.
Watch for overconfidence. The most dangerous hallucinations are often the ones that sound the most certain. The more authoritative the response feels, the more carefully you should verify it. Absolute certainty is often a signal that the model is on autopilot.
The honest trade-off
An AI hallucination is the trade-off for having systems that can generate fluent, creative, and useful text across almost any topic.
The same mechanism that allows a model to write, explain, and generate ideas is the mechanism that sometimes produces fabricated facts.
You can't have one without the other - at least not with current technology.
These tools are still enormously useful. But they're useful the way a brilliant but imperfect colleague is useful: someone whose ideas are valuable, but whose claims you should always verify.
AI doesn't hallucinate because it's broken. It hallucinates because generating plausible language and guaranteeing factual accuracy are fundamentally different tasks - and today's systems are optimized for the first, not the second.
Understanding that distinction is the difference between using AI effectively and being misled by it.
Mar 17, 2026 - 6 min read
