Why AI makes things up

What hallucinations are, why they happen, when they are most likely, how to catch them, and the prompting and checking habits that cut them down.

Beginner8 min readUpdated November 29, 2026

What a hallucination is

A hallucination is when an AI states something false as if it were true. It might be a quote nobody said, a book that does not exist, a court case with a real-sounding name and no reality behind it, a wrong date, a statistic with no source or a web link that leads nowhere. The reply usually reads just as smoothly as a correct one, which is what makes it a problem.

The word is a little misleading. The model is not seeing things, and it is not lying in the sense of knowing the truth and hiding it. It is producing text that fits the patterns of a good answer without anything checking that the specific details are real.

Why it happens

A language model writes the most fitting continuation of the text so far, one small piece at a time. When you ask a question, the most fitting continuation is something that looks like an answer. For common, well-documented facts, the patterns it learned in training point strongly at the right answer, so it is usually right.

For rare facts, the patterns are weak. The model still has to write something, and the shape of a good answer is easy to produce: a name in the right format, a plausible year, a confident sentence. So it fills in the shape with details that sound right. Nothing in that process checks the details against a source.

A few other causes add to this:

  • Training cutoff. A model's built-in knowledge stops at some point. Asked about something newer without a search tool, it may answer from older or invented information.
  • Pressure to be helpful. Assistants are trained to give useful answers. Despite efforts to teach them to say "I don't know", they sometimes prefer a confident guess.
  • Leading questions. If you ask "Why did the city ban scooters in 2019?", the model may explain a ban that never happened, because the question assumes it did.
  • Missing material. If the answer depends on a document that is not in the conversation, the model can only guess what it says.

The knowledge cutoff

Every model's built-in knowledge comes from text collected up to a certain point, often called its knowledge or training cutoff. After that date, it knows nothing unless a tool tells it. That causes a specific kind of mistake.

  • Stale facts stated as current. Ask who runs a company, what a product costs or what the latest version of something is, and a model without search may give an answer that was true when it was trained and is not true now.
  • Invented recent events. Asked about something after its cutoff, a model may fill the gap with what seems likely to have happened.
  • Confusion about today's date. Models do not have a clock. Many apps tell the model the current date in the background, but if a reply treats an old year as the present, that is a hint it is working from old information.

The fix is simple: for anything that changes over time, such as prices, people in roles, laws, product features or news, use a tool with web search and check the date on the sources it shows. Model makers usually publish a model's cutoff in their documentation if you need to know it.

When to be most careful

Hallucinations are not spread evenly. They cluster in predictable places.

  • Exact numbers, dates and statistics, especially specific figures like percentages and amounts.
  • Quotes and attributions. Who said what, word for word.
  • Citations. Paper titles, book titles, authors, page numbers, case names and links.
  • Niche topics. Small companies, local businesses, minor historical figures, specialised technical details.
  • Recent events, beyond the model's training cutoff.
  • Details about people, especially those who are not famous. Invented details about real people can be harmful as well as wrong.
  • Anything you asked for in a leading way.

If your question falls into one of these, treat the reply as a draft to check, not an answer.

How to catch them

  • Click the links. If a reply includes links, open them. Check that the page exists and says what the reply claims.
  • Search for the specific detail. Paste a quote or a paper title into a search engine. Real ones show up. Invented ones usually do not.
  • Ask for the source of a claim. "Where does that figure come from?" A good answer points to something checkable. A vague answer is a warning sign, though not proof either way.
  • Ask the same question in a fresh chat. If two runs give different specific details, at least one is probably invented.
  • Watch for oddly perfect fits. A quote that says exactly what you hoped, or a statistic that neatly proves your point, deserves extra checking.
  • Check against something you know. Ask a question in your area of expertise and notice how fluent wrong answers can look. It recalibrates your trust.

How to reduce them

You cannot switch hallucinations off, but you can make them much rarer.

  • Give it the source. Paste the document, report or page and say "answer only from this text". The model then reads instead of recalls.
  • Ask for quotes. "Quote the sentence that supports each point." You can then check that each quote exists in your text.
  • Allow "I don't know". Tell it plainly: "If you're not sure, say so. Don't guess." This works better than you might expect.
  • Use search with sources. For current or specific facts, use a tool that searches the web and shows its sources, and open them.
  • Avoid leading questions. Ask "Was there a scooter ban in the city, and if so when?" rather than assuming one.
  • Ask for less. Five well-supported points are better than twenty with three invented ones mixed in.
  • Separate drafting from facts. Let the model draft the structure and wording, and fill in the critical facts yourself from reliable sources.

Worked example: the reading list

Risky prompt
Give me ten academic papers on how remote work affects productivity, with authors and years.

This prompt asks for exactly the kind of detail models invent: specific titles, authors and years in a field with many similar-sounding papers. Some may be real. Some may be mixtures of real authors and invented titles. You cannot tell from the reply.

Safer prompt
I'm starting to research how remote work affects productivity. Suggest search terms and the kinds of sources I should look for. If you name any specific papers, only list ones you are confident exist, and mark each one so I know to verify it.

Better still, use a tool with search that returns links, or a library database, and use the AI to help you read and compare papers you have actually found.

Worked example: facts from your own document

Grounded prompt
Using only the policy document below, answer: how many days do I have to return an item bought online? Quote the sentence you used. If the document doesn't say, reply "Not stated in the document". <policy> [paste policy] </policy>

Three things work together here: the source is in the conversation, the quote makes checking instant, and the fallback answer gives the model an honest option. This pattern is one of the most effective ways to get reliable facts from AI.

What tools change, and what they do not

Assistants with web search, file reading or code tools hallucinate less on the tasks those tools cover, because they can look things up or calculate instead of guessing. But tools add their own failure points: the search may find a poor source, the model may misread a page, or it may summarize a source in a way the source does not support. A link is a reason to check, not a guarantee.

Hallucinations are not limited to text, either. Image tools can invent text on signs, extra fingers or details that look right at a glance. The same habit applies: look closely before you rely on it.

Match your checking to the stakes

You do not need to verify every word of every reply. Match your effort to what is at stake.

  • Low stakes. Brainstorming names, rewording a casual message, getting ideas for dinner. A quick read is enough.
  • Medium stakes. A work email with facts in it, a summary you will share, a plan you will follow. Check the key facts and figures.
  • High stakes. Health, legal, money, safety, anything published under your name, anything about a real person. Check every specific claim against a reliable source, and for real decisions, involve a qualified person.

Try it

  1. Ask an assistant without web search for three books on a narrow topic you know well, with authors and years. Look each one up.
  2. Ask again in a new chat, adding "only list books you are confident exist, and say if you are unsure". Compare.
  3. Paste a short article and ask a question about it with the "only from this text, quote the sentence" pattern. Check the quote.

Questions people ask

Will newer models stop hallucinating?

Model makers report steady improvement, and tools like search help a lot. But the basic way these models produce text means some made-up details remain possible. Plan to check important facts for the foreseeable future.

If it sounds confident, is it more likely to be right?

No. Confidence in the wording tells you little about accuracy. Some models are better at signalling doubt, but a confident tone is not evidence.

Is it my fault if I use a made-up fact?

If you publish or act on it, you are responsible for it, just as with any source. That is why checking matters most when your name, money or someone's safety is involved.