Free tech learning for everyone, from basics to pro

Photo: kuu akura on Unsplash

AI & TechnologyBeginner

Why AI chatbots make things up (AI hallucinations explained)

In short: An AI hallucination is when a chatbot gives an answer that sounds confident but is false, such as an invented fact, quote, link or reference. It happens because language models predict likely-sounding words rather than looking up verified facts. You can reduce the risk by asking for sources, checking important facts yourself, and giving the AI the documents it should use.

Animation: the main idea at a glance. It plays on a loop with no sound.

What is an AI hallucination?

An AI hallucination is when a chatbot such as ChatGPT, Gemini, Copilot or Claude gives an answer that sounds sure of itself but is wrong or invented. Common examples are:

  • a made-up statistic or date;
  • a quote that nobody actually said;
  • a book, court case or research paper that does not exist;
  • a web link that leads nowhere;
  • a command or setting that looks right but does not exist on that device.

The tricky part is that the wrong answer usually sounds just as confident as a correct one.

Why does it happen?

A chatbot is built on a large language model. It learned from huge amounts of text to predict which words are likely to come next (see How chatbots work). It is extremely good at producing fluent, sensible-sounding text.

But predicting likely words is not the same as checking facts. If the model has not seen enough reliable information about something, or the question is very specific, it may fill the gap with something that fits the pattern, like a student who guesses on an exam rather than leaving the answer blank. It does not "know" it is guessing.

Hallucinations are more likely when you ask about:

  • very recent events the model was not trained on;
  • exact numbers, names, dates and references;
  • niche topics with little information online;
  • questions that contain a false assumption ("Why did X happen?" when it did not).

How to catch a hallucination

Warning signWhat to do
Very precise numbers or quotes with no sourceAsk "Where does this come from?" and check the source yourself
A reference or linkOpen it. Make sure it exists and actually says what the AI claims
A technical commandCheck the vendor's official documentation before running it
Medical, legal or money adviceTreat it as a starting point, then ask a qualified person

How to get more reliable answers

  • Give it the facts. Paste in the document, policy or manual and ask it to answer only from that.
  • Ask it to say when it is unsure. For example: "If you do not know, say so."
  • Use tools with search turned on for recent events, and still check the sources they show.
  • Break big questions into small steps and check each one.
  • See our tips on writing good AI prompts.

The bottom line

AI chatbots are excellent for explaining ideas, drafting text and brainstorming. They are not a reliable source of facts on their own. Treat an AI answer like advice from a clever friend who sometimes misremembers: useful, but worth checking before you rely on it, especially at work.

Want to go deeper? Read Using AI tools safely and our note on using AI safely at work.

Key takeaways

  • An AI hallucination is a confident answer that is false or invented.
  • Chatbots predict likely words; they do not automatically check facts.
  • Hallucinations are most common with recent events, exact numbers, references and niche topics.
  • Check sources, give the AI your own documents and verify anything important.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

© 2026 FM TecHub. Original content written for FM TecHub. Share the link freely; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: