Home › Operations & Quality › Five Whys
Operations & Quality · Toyota Production System

Five Whys

Ask why, answer each time from evidence, and don't treat the fifth answer as the end.

◷ 4 min read▤ 3 true storiesWorks the same with AISee its neighbors on the map →

In management training it is often told as a five-whys triumph. A monument in Washington is crumbling, and asking why five times leads through cleaning, birds, spiders and midges to the floodlights. Turn them on an hour later and the problem goes away.

Most retellings get the details wrong. But at the Lincoln Memorial, in 1990, the fix really was tried. Delaying the lights by an hour cut the midges by about 85 percent, said the entomologist who worked on it. “But tourists who had driven hundreds of miles to have their photographs taken at the monuments were not happy. They complained every day, and the lights went back on.”

Five whys, one how

The method comes from Taiichi Ohno, who pioneered the Toyota Production System. “Having no problems is the biggest problem of all,” he liked to say. When one turned up, his advice was blunt: “Observe the production floor without preconceptions. Ask ‘why’ five times about every matter.”

Toyota retold his favourite example in 2006. A welding robot stops in the middle of its work. Why? A fuse blew because the circuit overloaded. Why? The bearings weren’t lubricated enough and locked up. Why? The oil pump isn’t circulating enough oil. Why? Its intake is clogged with metal shavings. Why? There’s no filter on the pump.

Replacing the fuse gets the robot moving again. A filter stops this kind of clog from stopping it next time. “By repeating why five times,” Ohno wrote, “the nature of the problem as well as its solution becomes clear.” Five whys, he said, equal one how.

The how comes from looking. “Data is, of course, important in manufacturing,” Ohno remarked, “but I place greatest emphasis on facts.”

As quick as a flash

Teruyuki Minoura learned the method from Ohno and later ran global purchasing at Toyota. In 2003 he said it often didn’t work as well as it should, because people “end up falling back on deduction.” Ask them why, and “they reel off five causes as quick as a flash.” Ask why again for each of those, and you get so many causes that “you end up totally confused as to which of them is important.” The only correct way to answer a why, he insisted, was to go and look.

Imagine a warehouse manager who wants to know why the delivery van leaves at 8:40 when it should leave at 8:00. At her desk the answers come fast: the driver is slow, traffic is bad, the new hire doesn’t know the routes. The next morning she stands on the loading dock instead. The driver is there at 7:50, waiting for the last pallet. The pallet is waiting for a shipping label. The labels don’t print until the overnight orders are processed, at 7:45. None of the guesses from her desk had mentioned a printer.

One path, one cause

Alan Card, a patient-safety researcher who traced the monument story’s real version in 2017, goes further. For investigating accidents in healthcare, he argues, five whys should be abandoned. It forces one path through a problem, aims at a single root cause, and assumes the last why is the best place to step in. Even the monument’s first why could have gone elsewhere, he points out: to rain, acid rain or freeze-thaw damage. Real accidents rarely have one cause. Used well, the method can branch into several chains, and the count of five is a habit, not a rule. When GitLab’s database was wiped in 2017, its public postmortem ran several chains of whys at once, from the deleted directory to backups nobody had tested.

The monument story shows the other gap. The chain was right as far as it went. It never asked who else needed the lights.

Deduction at machine speed

A language model can be the deduction Minoura warned about, at machine speed. Ask it why something broke and it can quickly produce explanations that sound plausible.

Meta’s approach is to feed it evidence first. At Meta, a system narrows thousands of recent code changes down to a few hundred using simple rules, then a Llama 2 model fine-tuned on past investigations ranks the most likely five. Tested on old investigations, using only what was known at the start of each one, the true cause was among the five 42% of the time. Meta’s engineers add that it “can potentially suggest wrong root causes and mislead engineers,” so the tool holds back answers it has low confidence in.

In 2024, researchers at HSBC and the Hong Kong University of Science and Technology described a five-whys agent built on GPT-4o and a map of their own systems’ history. In their preprint, not yet peer-reviewed, they report that about 70% of incidents previously blamed on management or outside vendors turned out to come from problems in their own code.

An agent can ask why all day. Its answers are still candidates. Before anyone acts on one, it has to be checked against the logs, the scene or a reproduction of the fault, the AI version of going to look.

Stories behind it

Play it

Sources

  1. Alan J. Card, The problem with '5 whys', BMJ Quality & Safety 26(8), 2017
  2. Joel Gross, 5 Whys Folklore: The Truth Behind a Monumental Mystery, The KaiZone, August 2014
  3. Toyota, Ask 'why' five times about every matter, Toyota Traditions, March 2006 (archived)
  4. Toyota, The "Thinking" Production System, on a talk by Teruyuki Minoura, June 18, 2003 (archived)
  5. Meta Engineering, Leveraging AI for efficient incident response, June 24, 2024
  6. Siyuan Jin, Zhendong Bei, Bichao Chen and Yong Xia, Breaking the Cycle of Recurring Failures: Applying Generative AI to Root Cause Analysis in Legacy Banking Systems, arXiv:2411.13017, 2024
  7. Alaska Science Forum, Unfortunately, ecological Abe
  8. GitLab, Postmortem of database outage of January 31, February 10, 2017
  9. GitLab, GitLab.com database incident, February 1, 2017
  10. Samsung Newsroom, [Statement] Samsung Will Replace Current Note7 with New One, September 2, 2016
  11. US Consumer Product Safety Commission, Samsung Recalls Galaxy Note7 Smartphones Due to Serious Fire and Burn Hazards, recall 16-266, September 15, 2016
  12. BBC News, 'Fixed Samsung Galaxy Note 7' catches fire on plane, October 5, 2016
  13. BBC News, Samsung permanently stops Galaxy Note 7 production, October 11, 2016
  14. US Consumer Product Safety Commission, Samsung Expands Recall of Galaxy Note7 Smartphones Based on Additional Incidents with Replacement Phones, recall 17-011, October 13, 2016
  15. Samsung Newsroom, Samsung Electronics Announces Cause of Galaxy Note7 Incidents in Press Conference, January 23, 2017
  16. Samsung Newsroom, [Infographic] Galaxy Note7, What We Discovered, January 23, 2017
  17. UL, Failure Analysis of Samsung Note 7, January 23, 2017
  18. Exponent, Samsung Recall Support, Note7 Investigation, Root Cause Analysis, January 23, 2017
  19. Samsung Newsroom, Samsung Announces New and Enhanced Quality Assurance Measures to Improve Product Safety, January 23, 2017
  20. The Guardian, Samsung blames two separate battery faults for Galaxy Note 7 fires, January 23, 2017
  21. BBC News, Samsung confirms battery faults as cause of Note 7 fires, January 23, 2017