What is AI hallucination, and why does AI make things up?
What is AI hallucination? It's when an AI model such as a chatbot gives an answer that sounds plausible and confident but is false or made up, like a fake quote, an invented study or a court case that never existed. It happens because these models generate likely-sounding text rather than look up verified facts.

The short version
- IBM defines AI hallucinations as outputs “that sound plausible but are factually wrong, irrelevant or entirely fabricated.”
- NIST calls the same problem “confabulation” and says it is “a natural result of the way generative models are designed.”
- A 2025 paper by researchers at OpenAI and Georgia Tech argues that models hallucinate partly because training and evaluation reward guessing over admitting uncertainty.
- Hallucinations can be reduced, with techniques like grounding answers in documents and letting the model say “I don't know,” but IBM and Anthropic both say they can't be eliminated.
- The practical rule: check any fact, quote, link or citation from an AI tool before you rely on it.
What is AI hallucination in simple terms?
An AI hallucination is a confident mistake. You ask a chatbot a question, and instead of saying it doesn't know, it produces an answer that reads like a fact but isn't one. IBM says this can include “fake facts, invented studies, nonexistent URLs or incorrect details about real entities.”
The problem affects generative AI in general, not one product. Google's Gemini help pages say plainly that “Gemini can hallucinate and present inaccurate information as factual,” and Anthropic's documentation says even the most advanced models, including its own Claude, “can sometimes generate text that is factually incorrect or inconsistent with the given context.”
The term is a metaphor. The authors of a 2025 paper on the subject note that this error mode “differs fundamentally from the human perceptual experience.” The US National Institute of Standards and Technology (NIST) prefers the word confabulation, which it defines as “the production of confidently stated but erroneous or false content (known colloquially as ‘hallucinations’ or ‘fabrications’) by which users may be misled or deceived.”
Why does AI hallucinate?
It predicts plausible text, not verified facts
A large language model writes by predicting the next token, a word or symbol, based on patterns in its training data. IBM says a generative AI “does not ‘know’ what is true or false. It only ‘knows’ what fits the pattern.” NIST makes the same point, saying statistical prediction can produce accurate output but can also produce output that is “factually inaccurate or internally inconsistent.”
Rare facts are hard to learn
“Why Language Models Hallucinate,” a September 2025 paper by researchers at OpenAI and Georgia Tech, argues that some facts have no learnable pattern. A famous person's birthday appears many times in training data, but many other people's birthdays appear only once, or not at all. According to the paper's analysis, if 20 percent of birthday facts appear exactly once in the training data, a base model can be expected to get at least 20 percent of birthday questions wrong.
Training and tests reward guessing
The same paper compares models to students on a multiple-choice exam. If a right answer earns 1 point and “I don't know” earns nothing, guessing scores better on average than admitting uncertainty. The authors say most AI benchmarks are graded this way, so “language models are optimized to be good test-takers,” and bluffing survives later training stages meant to reduce it.
Bad data, gaps and tricks
IBM lists further causes. Training data can be flawed or insufficient. A model can overfit, latching onto spurious patterns in its data. And adversarial inputs such as prompt injection, where an attacker hides instructions in the input, can push the model into a false or harmful answer. Google Cloud adds a lack of grounding, meaning the model struggles to connect its output to real-world facts. Google Cloud says this problem can “even extend to fabricating links to web pages that never existed.”
AI hallucination examples
- Invented court cases. IBM describes how a US lawyer used ChatGPT in 2023 to find case law for court filings. It returned cases with names, docket numbers and quotations, and several turned out to be entirely fictitious.
- A wrong birthday, 3 ways. The paper's authors asked an open-source model for one author's birthday and told it to answer only if it knew. On 3 attempts it gave 3 different wrong dates.
- A made-up dissertation. Asked for the title of the same author's PhD dissertation, ChatGPT (GPT-4o), DeepSeek and Llama each gave a different confident answer. According to the paper, none got the title or the year right.
- Glue on pizza. IBM notes that Google's AI Overview once suggested adding nontoxic glue to pizza sauce to make cheese stick, an answer it says came from a 2013 Reddit joke.
- Wrong answers about itself. Google warns that Gemini can misrepresent how it works, including how it was trained or how it cites sources.
Types of AI hallucinations
IBM describes 3 types of hallucination:
| Type | What happens | Example from IBM |
|---|---|---|
| Factual | The model states something false about the world, such as invented events, people or statistics | Claiming Marie Curie won the 1911 Nobel Prize in Physics for discovering gravity waves |
| Contextual | The model ignores the document or data it was given, or blends facts from different sources | Merging the biographies of 2 people into 1 imaginary person |
| Consistency | The model contradicts itself in the same conversation | Saying a medication isn't approved, then later calling it “widely approved and safe” |
NIST's definition also covers output that diverges from the prompt and “confabulated logic or citations” that make a wrong answer look justified. It notes that a model may show logical-looking steps for how it reached an answer even when the answer is wrong.
Why AI hallucinations are a problem
The danger is that hallucinations sound right. NIST says the risk arises when people believe false content, “often due to the confident nature of the response,” and act on it. Its example is a confabulated summary of patient records that could lead doctors to a wrong diagnosis.
IBM warns that AI agents can make things worse. When several agents work in a chain, a false claim from one can become a starting assumption for the next, and the final answer can look polished and consistent even though its premise was wrong.
How to reduce AI hallucinations
If you use AI chatbots
- Verify facts, quotes and citations. Google's Gemini help pages tell users to double-check responses about people and not to rely on Gemini for medical, legal, financial or other professional advice.
- Check the sources it shows. Google says Gemini can display a Sources button with related links when sources are available, but not every response includes them. Open the links and confirm they say what the answer claims.
- Give it permission not to know. Anthropic's first recommended technique is to explicitly allow the model to say “I don't know,” which it says “can drastically reduce false information.”
- Supply the material yourself. Paste in the document you're asking about and tell the model to use only that text. Anthropic calls this external knowledge restriction.
- Ask again and compare. Anthropic suggests running the same prompt several times. If the answers disagree, that can indicate a hallucination.
- Report it. Google asks Gemini users to click the thumbs down button and give feedback when they see a hallucination.
If you build with AI
- Ground answers in trusted data. IBM recommends retrieval-augmented generation (RAG), which has the model answer from a curated knowledge base, often with citations.
- Ask for quotes and citations. For long documents, Anthropic recommends having the model extract word-for-word quotes before doing its task, then cite a supporting quote for each claim and retract any claim it can't support.
- Write clearer prompts. IBM says vague prompts invite the model to guess, and recommends structured prompts with rules like “if unsure, say you do not know.” Our guide to prompt engineering covers the techniques.
- Keep a human in the loop and measure. IBM recommends human review for high-stakes output, such as legal advice or regulatory filings, plus ongoing monitoring against test sets with verified answers.
Can AI hallucinations be fixed?
Not completely, according to IBM and Anthropic. IBM writes that hallucinations “can be reduced but not fully eliminated,” and Anthropic says its techniques “significantly reduce hallucinations” but “don't eliminate them entirely.” NIST describes confabulation as a natural result of how generative models are designed.
The paper's authors focus on reducing the problem. They argue the field should change how its main benchmarks are scored so that wrong answers cost more than honest uncertainty, for example by telling the model to answer only above a stated confidence level. They also note that their analysis applies to reasoning models and models that use search, not only to basic chatbots.
Frequently asked questions
What does AI hallucination mean?
It means an AI model has produced false or fabricated information and presented it as fact. NIST uses the term confabulation for the same thing and notes that “hallucinations” and “fabrications” are colloquial names for it.
Why does AI hallucinate instead of saying it doesn't know?
According to the 2025 paper by OpenAI and Georgia Tech researchers, most benchmarks give no credit for “I don't know,” so a confident guess scores better on average. Models learn to bluff the way students guess on exams that don't penalize wrong answers.
How do you stop AI hallucinations?
You can't stop them entirely, but you can cut them down. Give the model the source material, tell it to use only that and to say when it doesn't know, ask for quotes or citations and verify anything important yourself.
Is every AI mistake a hallucination?
No. IBM treats mistakes as the broader category, including outdated facts, mislabeled images and biased or generic answers. A hallucination is the specific case where the model confidently generates false or fabricated information, which IBM says can make it harder to spot.
Does RAG stop AI hallucinations?
It helps. IBM says RAG makes a model source its answers from trusted information instead of free-associating, and lists it as a way to reduce hallucinations. But IBM also says hallucinations can't be fully eliminated, so check the citations. Our RAG guide explains the limits.
More in AI
- What is a context window in AI, and why does it matter?
- What is a large language model (LLM), and how does it work?
- What is an AI agent, and how does it work?
- What is generative AI, and how does it work?
- What is machine learning, and how does it work?