How to Keep ChatGPT From Hallucinating

ChatGPT can produce confident-sounding errors. These steps reduce how often it invents facts, and they give you a process for catching and recording the ones that slip through.

Updated 4 min read

ChatGPT produces hallucinations—incorrect claims stated with confidence—because the model generates plausible-sounding text, not verified facts. You cannot eliminate this entirely, but you can reduce it significantly by grounding answers in source material you provide, asking the model to flag its own uncertainty, and checking any claim that matters before you rely on it. A tool like fenbs lets teams record verified facts and lessons from corrected mistakes, so the same error does not need to be caught twice.

The most important shift is in how you use the model. ChatGPT is reliable for reasoning about material you give it. It is less reliable for retrieving specific facts it learned during training, especially recent information, precise statistics, citations and details about specific people or organizations.

Understand when hallucinations are most likely

Hallucinations happen more often in certain types of requests:

  • Specific numbers and statistics: the model generates plausible figures rather than retrieving verified ones.
  • Citations and sources: it may produce convincing-looking references to papers, articles or cases that do not exist.
  • Recent events: the model's knowledge has a cutoff date; details about recent developments are unreliable.
  • Specific people and organizations: names, titles, dates and affiliations are frequently wrong in small details.
  • Technical specifics: exact version numbers, regulatory codes, legal citations and clinical details are high-risk.

Tasks that involve reasoning about material you provide—summarizing a document, comparing two positions, explaining a concept in plain language—are more reliable because the model is working with text in front of it rather than retrieving from training.

Ground answers in source material you provide

The single most effective step is to paste the relevant source material into the prompt and ask the model to work only from that. A question like "Summarize the key arguments in this article" is more reliable than "Summarize the arguments about X" without any source, because the model's answer is constrained to what you gave it.

Add an explicit instruction: "Only use information from the text I have provided. If the answer is not in that text, say so." This prompt addition does not guarantee compliance, but it shifts the behavior in the right direction and makes violations easier to catch.

Ask the model to flag its uncertainty

ChatGPT does not always volunteer uncertainty, but it will flag it if you ask. Add this to prompts where accuracy matters:

  • "Mark any claim you are uncertain about with [uncertain]."
  • "If you cannot find this information in the text I provided, say 'not in source' rather than providing an answer."
  • "For any statistic or date you include, note whether it comes from the text I pasted or from your training data."
  • "At the end of your response, list any claims that should be verified before this is used."

These instructions shift the conversation toward a working model where you review flagged claims rather than spot-checking everything.

Check what matters before you rely on it

No prompt instruction makes ChatGPT error-free. Any claim that will be used in a professional context—legal advice, medical information, financial figures, technical specifications, citations—should be verified against a primary source before it is passed on.

Decide in advance which claims require checking and which do not. A draft email summarizing a meeting you attended does not need source verification. A memo that includes regulatory requirements does. Make the verification expectation explicit in your team's workflow, not implicit.

How fenbs helps

Record verified facts and corrections where every session reads them

fenbs stores Lessons learned: what happened, what was wrong, and what to do differently next time. When ChatGPT produces an error that gets corrected, record it as a lesson so the next session reads it before similar work. Add verified facts to AI context notes so assistants have the correct version available before they draft an answer.

Create a free account

Free for one person · No credit card · Works with Claude, ChatGPT, Cursor and more

What to do when ChatGPT produces an error

When you catch an error, correct it directly: "The figure you stated is wrong. The correct figure is X according to [source]. Revise your response." The model will usually accept the correction in the same conversation.

The more important step is recording the correction so it is available in future sessions. A lesson note attached to the project says: "ChatGPT incorrectly stated the filing deadline as 90 days. The correct deadline under the relevant rule is 60 days. Check the rule text directly." That note helps the next person or the next AI session avoid the same error.

How to do this with fenbs

  1. Create a free account. Start with a project where ChatGPT hallucinations have already caused problems.
  2. Add verified facts as AI context notes on the project. The assistant reads these at the start of a session, before it drafts anything.
  3. Add standing rules to Decisions and rules: "Always flag uncertain claims. Never state a statistic without noting its source." Connected assistants read these rules first.
  4. When an error is corrected, add a Lesson learned: what the error was, the correct version, and where to find the authoritative source. Search lessons before similar work starts.
  5. Connect your AI app via Integrations and ask it to read the project context, including lessons, before starting any research or drafting task.

For a comparison of how different AI tools handle source grounding and web search, see Copilot vs ChatGPT and Claude vs ChatGPT. Different models have different strengths in citation and sourcing; testing more than one on high-stakes research tasks is worthwhile.

Questions people ask.

Can ChatGPT hallucinations be eliminated completely?

No. Grounding answers in provided source material significantly reduces them, but the model can still produce errors. Any claim in a professional or high-stakes context should be verified against a primary source regardless of how confident the response appears.

Does web search in ChatGPT fix the hallucination problem?

It reduces some types of errors, particularly for recent information. But a web-browsing model can still misread a source, cite a page incorrectly, or miss nuance. Treat web search as additional evidence, not as a replacement for verification.

Why does ChatGPT sound confident even when it is wrong?

The model is trained to produce fluent, helpful responses. Confidence is a stylistic feature of the training, not evidence that a claim is correct. A confident tone and accurate information are independent. Treat all factual claims as worth checking.

Does asking ChatGPT to check its work help?

Sometimes. Asking the model to verify its own claims can surface some errors, but the model may also confirm its own incorrect answer. The most reliable check is comparison against an authoritative source.

Are some tasks safer from hallucinations than others?

Yes. Tasks where you provide all the source material and ask the model to reason about it produce fewer errors than tasks where the model retrieves information from its training. Summarizing, comparing and explaining documents you provide is safer than asking for specific facts from memory.

More in Prompts and skills for AI work

All Prompts and skills for AI work articles

Start with one thing.

Free for one person · No credit card · Works with Claude, ChatGPT, Cursor and more

There is nothing to set up first. Write one line and you’ve started.