Find a course

Module 2: Finding Root CausesLesson 3 of 1111 min

The 5 Whys

Trace a problem from symptom to root cause by asking why repeatedly, verify each answer with evidence and avoid the classic traps of blame and guesswork.

Step 1 of 13Learn

The website that kept crashing

An online shop's website went down on a busy Saturday. The on-call engineer restarted the server, and the site came back. Problem solved? Two weeks later, it went down again. Restarted again. Then again, ten days after that.

Each restart fixed the symptom. None touched the cause. Finally, the team sat down and asked "why?" until they ran out of answers:

  1. Why did the site go down? The server ran out of disk space.
  2. Why did it run out of disk space? Log files grew to fill the disk.
  3. Why did the logs grow so fast? Detailed debug logging was switched on and never switched off.
  4. Why was it never switched off? It was turned on to investigate a bug during a software update, and nobody remembered to turn it off.
  5. Why did nobody remember? The update checklist has no step for resetting logging, and nothing alerts anyone when disk space runs low.

Now the team has something it can fix for good: add a checklist step, set logs to rotate automatically, and create a disk space alert. The site stopped crashing.

This technique, the 5 Whys, came out of manufacturing at Toyota, where it became a core part of how workers solved problems on the factory floor. It's simple enough to use in five minutes and powerful enough to change how a team thinks about problems.

Step 2 of 13Practice · Diagram

The crashing website: five whys

Tap the box that is a fixable root cause rather than a symptom.

Tap the shape that answers the question, then press Check.

The crashing website: five whysProcess diagram: Site went down → Disk full → Logs grew fast → Debug logging left on → No checklist step or alert.Site went downDisk fullLogs grew fastDebug logging left onNo checklist step oralert
Site went down

Why? The server ran out of disk space.

Disk full

Why? Log files grew to fill it.

Logs grew fast

Why? Debug logging was left on.

Debug logging left on

Why? It was enabled during an update and forgotten.

No checklist step or alert

Root cause: the process had no reset step and no disk-space alarm.

Step 3 of 13Practice · Choose one

In the website story, why did restarting the server not solve the problem?

Step 4 of 13Learn

How to run a 5 Whys

The method is simple, but doing it well takes discipline.

  1. Start with a clear problem statement, ideally the factual kind from the previous module: "The website was unavailable for 40 minutes on Saturday at 2 p.m."
  2. Ask why it happened, and write down the answer as a fact, not a guess.
  3. Check the answer. Is there evidence? Look at the logs, the data, the actual machine or document. If you can't confirm it, mark it as a hypothesis to test.
  4. Ask why again about that answer. Repeat.
  5. Stop when you reach a cause you can act on that would prevent recurrence if fixed, typically a process, system or design issue. "Five" is a rule of thumb; sometimes three whys are enough, sometimes seven are needed.
  6. Test the logic backward. Read the chain from the root cause up, using "therefore": "There's no checklist step, therefore logging stayed on, therefore logs grew, therefore the disk filled, therefore the site went down." If any link sounds weak, investigate it.

Do it with the people closest to the work. The engineer who restarted the server, the warehouse worker who packs the boxes or the nurse who handles the forms usually knows details that managers don't. Go and look at where the problem happens, rather than reasoning about it from a conference room.

Step 5 of 13Practice · Put in order

Put the steps of a 5 Whys analysis in order.

Drag the items, or use the arrow buttons, to put them in order.

  1. Check the answer against evidence
  2. Read the chain backward with "therefore" to test the logic
  3. Ask why it happened and record the answer
  4. Write a clear, factual problem statement
  5. Repeat until reaching an actionable cause that would prevent recurrence

Step 6 of 13Learn

Common 5 Whys traps

The 5 Whys is easy to do badly. Watch for these traps.

Stopping at a person. "Why was logging left on? Because Sam forgot." That's true, but it's a dead end. People forget; the question is why the system relied on memory. Asking "Why was it possible to forget?" leads to a fixable process gap. Blame-focused analysis also makes people hide problems in the future.

Guessing instead of checking. In a meeting, it's tempting to accept the first plausible answer to each why. But one unverified link sends the whole chain in the wrong direction. If you don't know, go find out.

Following only one chain. Real problems often have several contributing causes. The site crashed because logging was left on and because there was no disk alert. Either fix alone would have helped. When a "why" has more than one true answer, branch the chain and follow each.

Stopping too early. "Why did the delivery arrive late? Because the truck left late." That's still a symptom. Keep going until you reach something that, if fixed, would stop the problem from coming back.

Going too far. "Why does the company exist?" At some point causes leave your control. Stop at the deepest cause you can actually do something about.

Step 7 of 13Compare

Weak vs strong 5 Whys answers

AspectWeak answerStronger answer
Blames a person“Sam forgot.”“Nothing reminds anyone to reset logging.”
Vague“Bad communication.”“The handover note has no field for open issues.”
Guess“Probably the new software.”“Errors began the day version 2.3 shipped.”
Stops at a symptom“The server crashed.”“The disk filled because logs never rotate.”

Step 8 of 13Practice · Spot the mistake

A team ran this 5 Whys about a missed client deadline. Tap the two answers that show common traps.

Step 9 of 13Note

Step 10 of 13Learn

Fixes at three levels

Once you know the root cause, think about fixes at three levels, because they do different jobs.

Containment stops the bleeding right now. Restarting the server, recalling a faulty batch, giving an upset customer a refund. Containment is necessary, but it doesn't prevent recurrence.

Corrective action removes the cause of this specific problem. Turning off the debug logging and clearing the disk.

Preventive action changes the system so this problem, and similar ones, can't easily happen again. Adding a checklist step, setting logs to rotate automatically, creating a disk space alert.

Many organizations do a lot of containment, some correction and very little prevention, which is why the same problems keep returning in slightly different forms. A useful test for any fix: "If we do this, what stops the problem from happening again next month, with different people?" If the answer is "people will be more careful," you haven't reached prevention yet.

Prevention often includes error-proofing, designing things so mistakes are impossible or obvious. A plug that only fits one way, a form that won't submit with a missing field, and a car that beeps if you leave the lights on are all examples. They work far better than reminders, because they don't depend on anyone remembering.

Step 11 of 13Practice · Diagram

Three levels of fix

Which level would a disk-space alert belong to?

Tap the shape that answers the question, then press Check.

Three levels of fixLayer diagram: Containment: stop the bleeding, Correction: fix this cause, Prevention: stop it recurring.Containment: stop the bleedingCorrection: fix this causePrevention: stop it recurring
Containment: stop the bleeding

Restart the server, recall a batch. Fast but temporary.

Correction: fix this cause

Turn off debug logging, clean the disk.

Prevention: stop it recurring

Add the checklist step, log rotation and a disk alert.

Step 12 of 13Practice · Sort into groups

Classify each action taken after a hospital ward ran out of a key medication overnight.

Tap an item, then tap its group (or drag it there).

Step 13 of 13Practice · Choose one

A warehouse ships the wrong item when two products have nearly identical labels. Which fix is the strongest preventive action?