Practical guide

AI hallucinations explained: why AI invents facts

AI assistants sometimes state things that are simply false, with the same confidence as everything else they say. Here is what these hallucinations are, why language models produce them, real cases where they caused damage, and a simple checklist to keep them out of your work.

Updated · 8 min read · NotHuman

Key points

  • An AI hallucination is an answer that sounds confident and plausible but is false, such as an invented fact, source, quote or figure.
  • Language models predict likely text rather than look up facts, so they can produce a fluent answer even when they don’t know.
  • Hallucinations can be reduced but not eliminated, even in the latest models.
  • Giving the AI your own sources, asking for exact quotes and checking every citation are the most effective everyday safeguards.
  • The higher the stakes (legal, medical, financial or customer-facing), the more a human must check before anything is used or sent.

Ask an AI assistant for the case law on a question, and it may give you three court decisions with names, dates and reference numbers. They look perfect. One of them may not exist.

This is called a hallucination. It is not a rare bug that will disappear with the next update: it comes from the way language models work. This guide explains what hallucinations are, why they happen, what they have already cost real people and businesses, and how to keep them out of your work.

What is an AI hallucination?

An AI hallucination is an answer that sounds confident and plausible but is false. The AI doesn’t flag it as a guess: it presents it in the same fluent, assured tone as everything else.

Typical forms:

  • Invented facts. A company’s founding year, a product feature, a historical date, stated wrongly.
  • Invented sources. Court decisions, scientific studies, book titles or web addresses that don’t exist, often with realistic authors and reference numbers.
  • Invented quotes. A sentence attributed to a real person, who never said it.
  • Wrong numbers. Statistics, prices, percentages or calculations that look precise and are not.
  • Distorted summaries. A summary of a real document that adds a point the document never makes, or reverses what it says.

The US National Institute of Standards and Technology (NIST) prefers the term “confabulation” and lists it among the main risks of generative AI in its 2024 profile on the subject. The word fits: like a person filling a memory gap with a convincing story, the model fills a gap in its knowledge with convincing text.

Why language models hallucinate

To understand why, you need one idea about how tools such as ChatGPT, Claude or Gemini work. They are built on large language models, which are explained in our guide What is a large language model?.

They predict plausible text, they don’t look up facts

A language model has learned, from a huge amount of text, which words are likely to follow others. When you ask a question, it produces an answer word by word, each time choosing a likely continuation. It doesn’t consult a database of verified facts.

Most of the time, the likely answer is also the correct one, because correct information appears often in the training data. But when the model doesn’t “know”, it can still produce a likely-sounding answer. A court decision has a typical shape (two party names, a court, a year, a number), so the model can produce something with exactly that shape.

Gaps in the training data

Some information appears rarely, or not at all, in the text a model learned from: the details of a small Swiss company, a recent change in the law, a niche technical standard, your own internal procedures. OpenAI researchers point out that facts which appear rarely and follow no pattern, such as a person’s birthday, are especially hard for a model to get right. Models also have a training cut-off date, so anything more recent is unknown to them unless they can search the web.

No built-in fact check

A basic language model has no internal step that asks “is this true?” before it answers. Some recent tools add web search or step-by-step reasoning, which reduces errors, but the underlying mechanism remains a prediction.

Training rewards guessing

In a paper published in September 2025, OpenAI researchers argue that hallucinations persist partly because of how models are trained and evaluated. Most tests score an answer as right or wrong. A model that guesses sometimes gets it right; a model that says “I don’t know” always scores zero. Over time, this rewards confident guessing. The researchers propose scoring methods that penalise confident errors more than honest uncertainty. They also state clearly that hallucinations still occur in their latest models.

Real cases: when hallucinations caused damage

These cases are public and documented by courts.

Invented court decisions in a New York lawsuit

In Mata v. Avianca, a passenger sued an airline in a US federal court in New York. In 2023, his lawyers filed a brief citing several court decisions that turned out not to exist: they had been generated by ChatGPT. When the opposing side and the judge could not find them, the lawyers did not come clean straight away.

On 22 June 2023, Judge P. Kevin Castel imposed a USD 5,000 penalty on two lawyers and their firm and required them to write to each judge falsely named as the author of an invented decision. The judge wrote that using a reliable AI tool for assistance is not improper in itself; the failure was in not checking.

A growing list of cases worldwide

This was not an isolated incident. Damien Charlotin, a French lawyer and researcher, keeps a public database of court decisions dealing with hallucinated content in filings. By 2026 it listed well over a thousand cases, mostly in the United States, but also in Canada, Australia, the United Kingdom and several European countries. Lawyers, experts and people representing themselves all appear in it.

A customer-facing chatbot in Canada

In February 2024, the Civil Resolution Tribunal of British Columbia ruled on a dispute between a passenger and Air Canada. The airline’s website chatbot had told him he could apply for a reduced bereavement fare after travelling; the airline’s actual policy did not allow this. Air Canada argued that the chatbot was responsible for its own statements. The tribunal rejected that argument, held the airline responsible for all information on its website, and ordered it to pay the difference plus costs, about CAD 800 in total. The decision does not say what technology the chatbot used, but the lesson applies directly to AI assistants that talk to customers.

The common thread: in each case, the person or business that relied on the tool was held responsible, not the tool.

How to reduce hallucinations

You can’t switch hallucinations off, but you can make them much rarer and much easier to catch. Anthropic’s own guidance for its Claude models lists several of the techniques below, and notes that they reduce hallucinations without eliminating them.

Give the AI your sources

The most effective step is to stop asking the model to answer from memory. Paste the relevant document, attach the file, or use a tool that searches your documents first and answers from them. This approach is called retrieval-augmented generation (RAG), explained in our guide AI with your own documents.

Then say it explicitly: “Answer only from the document provided. If the answer isn’t in it, say so.”

Allow “I don’t know”

Tell the assistant that “I don’t know” or “the document doesn’t say” is an acceptable answer. This simple instruction gives the model a way out other than guessing. Our guide How to write a prompt has more examples of clear instructions.

Ask for citations and exact quotes, then check them

Ask the AI to quote, word for word, the passage that supports each claim, and to say where it comes from. Then open the source and check that the passage exists and says what the AI claims. An invented citation is easy to spot when you actually look it up; it is only dangerous when nobody does.

Use AI where errors are cheap

Drafting, rephrasing, summarising a document you have in front of you, brainstorming or translating a text you can check: in these tasks, an error is easy to see and costs little. Asking for facts you can’t verify yourself is where the risk lies.

Keep a human review

Anything that leaves the company, commits it to something or informs an important decision should be read by a person who knows the subject. Make this a written rule, for example in an AI usage policy.

When hallucinations matter most

The same error can be harmless in a brainstorm and serious in a contract. Be especially careful in these areas:

  • Legal. Case law, statutory articles, deadlines and contract clauses. Check every reference in the official source (in Switzerland, for example, the federal law collection on Fedlex and court websites).
  • Medical and health. Dosages, interactions, diagnoses. An AI answer is never a substitute for a professional’s judgement.
  • Financial and tax. Rates, thresholds, calculations and figures in reports. Recalculate numbers yourself or with a spreadsheet.
  • Customer-facing. Chatbots, emails and quotes sent to clients. As the Air Canada case shows, what your tool says to a customer is treated as what your business says.
  • Published content. Articles, social media posts and reports that carry your name. An invented quote attributed to a real person can damage that person and your credibility.

A simple checklist before you use an AI answer

  1. Is it a fact, a figure, a name, a date or a source? If yes, it needs checking.
  2. Did the AI answer from a source you gave it, or from memory? Answers from memory deserve more suspicion.
  3. Can you open every cited source? Check that it exists and says what the AI claims.
  4. Do the numbers add up? Recalculate anything important.
  5. Would an error cause harm? If it could affect a client, a patient, a contract or money, have a knowledgeable person review it.
  6. Is it recent? Laws, prices and products change; the model may not know the latest version.
  7. Does it sound too neat? A perfect quote or a statistic that proves your point exactly is a reason to look twice.

For a broader view of how these tools work, start with What is AI? and What is ChatGPT?.

Frequently asked questions

What is an AI hallucination in simple terms?

It is an answer from an AI tool that sounds right but is wrong or made up: a court decision that doesn’t exist, a study nobody wrote, a quote nobody said, a wrong number. The tool presents it with the same confidence as correct information, which is what makes it risky.

Why doesn’t the AI just say “I don’t know”?

A language model is built to produce the most plausible continuation of a text, not to check facts. OpenAI researchers also argue that the way models are trained and tested rewards a confident guess over admitting uncertainty. Newer models say “I don’t know” more often, but not reliably.

Do newer AI models still hallucinate?

Yes. Providers report fewer hallucinations in recent models, especially when they reason step by step or search the web, but none claims to have eliminated them. Treat every factual claim as something to verify when it matters.

Does connecting the AI to the internet or to my documents solve the problem?

It helps a lot, because the model can answer from real text and show where it found it. It doesn’t solve the problem completely: the search can bring back the wrong passage, and the model can still misread or overstate what a source says. Check the cited passage itself.

Who is responsible if an AI tool gives a customer wrong information?

In the cases decided so far, the business or the professional who used the tool. A Canadian tribunal held Air Canada responsible for wrong information given by its website chatbot, and US courts have sanctioned lawyers who filed AI-invented case law. Using AI doesn’t transfer responsibility to the tool.

Sources

  1. Why language models hallucinate , OpenAI (2025-09-05)
  2. Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile (NIST AI 600-1) , National Institute of Standards and Technology (NIST) (2024-07)
  3. Reduce hallucinations , Anthropic
  4. Mata v. Avianca, Inc., No. 22-cv-1461 (PKC), opinion and order on sanctions , US District Court for the Southern District of New York (via Justia) (2023-06-22)
  5. Moffatt v. Air Canada, 2024 BCCRT 149 , Civil Resolution Tribunal of British Columbia (2024-02-14)
  6. AI Hallucination Cases database , Damien Charlotin

This guide gives general information and is not legal advice. Check providers’ current terms and, if in doubt, ask a specialist.

Contact

A question? A project?

A real person reads every message. No commitment.

We only use this information to reply to you. See our privacy policy.

A personal reply, usually within 2 working days.