AI Hallucinations: Why Assistants Invent Facts and How to Check Them

An AI hallucination is a response that sounds confident but contains false or invented information, such as a made-up source, a wrong date or a feature that does not exist. It happens because these systems generate likely-sounding text rather than looking up verified facts. You cannot remove the risk, but you can reduce it and catch errors with a simple checking routine.
What a hallucination is
The assistant writes fluent, well-organized answers whether it is right or wrong. The tone does not change when it invents something. Typical examples include a scientific study with a believable title and authors that does not exist, a quote attributed to a real person who never said it, a legal case that was never decided and a software setting that is not in the menu. The errors are dangerous because they look the same as correct answers.
Why it happens
- Prediction, not knowledge. The model produces the most plausible next words based on patterns in its training data. Plausible is not the same as true.
- Gaps in the data. For rare topics, local details or recent events, there may be little to go on, so the model fills the gap with something that sounds right.
- Pressure to answer. Assistants are built to be helpful, which can lead to answering instead of saying "I do not know".
- Your prompt. A question that assumes something false can lead the assistant to accept the false premise.
- Long conversations. Details from earlier can be forgotten or mixed up.
Where it shows up most
- Citations, links, quotes, statistics and page numbers.
- Names, dates, prices and addresses of small or local businesses.
- Laws, regulations, tax rules and medical details, which vary by country and change.
- Recent events and the latest versions of software.
- Calculations and counting, especially long ones.
- Descriptions of images, if the assistant misreads the picture, see the alt text guide.
How to reduce hallucinations
- Give it the facts. Paste the source text and ask it to answer only from that text.
- Allow "I do not know". Tell it explicitly to say so when information is missing.
- Ask for sources, then verify them. Never trust a citation you have not opened.
- Use tools with search or document grounding when facts matter, see the guide to building an assistant from your own materials.
- Ask narrower questions instead of broad ones that invite filling gaps.
- Request reasoning steps for calculations and check the arithmetic yourself.
Better prompts help, see the prompts guide.
A checking routine
- Mark the claims. Highlight every fact, number, name, date and quote in the answer.
- Rank by risk. What would hurt if wrong: a published page, a client email, a legal or health matter?
- Verify with a primary source. Official websites, original documents, standards and reputable publications. A second AI answer is not a source.
- Open every link and reference. Check that it exists and says what the assistant claims.
- Check the date. Is the information still current?
- Rewrite what you cannot verify or remove it.
- Keep notes of the sources you checked, in case someone asks.
A worked example
A freelancer asks an assistant for statistics about remote work for a blog post. It gives three percentages and attributes them to a named survey. She searches for the survey: it exists, but two of the figures do not appear in it, and the third comes from a different year. She replaces the numbers with the ones from the original report, links to it and adds the year. The article is now accurate, and the assistant still saved her the time of finding the right survey name. This is a good use: let it suggest, then verify it.
When not to rely on AI at all
Do not use an assistant as the final authority for medical decisions, legal advice, tax filings, safety instructions or anything where an error could cause harm or serious cost. Use it to prepare questions for a professional, not to replace one. For published content, a human should be accountable for every claim, see the helpful content checklist.
Teaching your team
Agree on simple rules: all numbers and quotes get checked, all links are opened, and sensitive topics are reviewed by someone with expertise. Write them down, and keep an example of an error you caught to show the team why it matters. See also the privacy basics guide for what to avoid sharing.
Common mistakes
- Trusting confident tone as evidence.
- Checking an answer by asking the same assistant whether it is right.
- Publishing citations without opening them.
- Using AI answers for fast-changing facts.
- Skipping review because the deadline is close.
A second example: a software answer
A site owner asks how to enable a security header on her hosting plan. The assistant describes a menu called "Advanced Security" with a toggle, written with complete confidence. She cannot find it, because her host does not offer that menu at all. Searching the host's documentation shows the setting is done through a configuration file, with the exact lines listed on the help page. The assistant gave a reasonable idea of what such a feature might look like, but not facts about her specific host. The lesson is to check any step-by-step instruction against the official documentation of the exact product and version you use.
Signs an answer needs extra checking
- It includes very specific numbers or quotes without a source.
- It names a study, law or tool you have never heard of.
- It gives different answers when you ask the same question twice.
- It agrees with everything you say, including mistakes.
- It covers a recent event or a product version newer than you expect it to know.
FAQ
Can hallucinations be eliminated?
Not completely. They can be reduced with good prompts, grounding in sources and checking.
Do newer models hallucinate less?
Often fewer, but not zero. Keep checking important claims.
How do I check a source an assistant gave me?
Search for it independently, open it and read the relevant passage. If you cannot find it, treat it as invented.
Is it a bug or normal behavior?
It is a known limitation of how these systems work, so plan for it.
Is search-connected AI safer?
It can be better for current facts, but it can still misread or misquote pages, so check the links.
Your next step: take the last AI answer you used, highlight every fact and verify the three most important ones.