tezvyn:

Five Whys: Find the Root Cause, Not Just the Symptom

AI-drafted, machine-checkedSource: Wikipedia: Five whysbeginner

Five Whys is a tool for digging past surface-level problems. By repeatedly asking "Why?", you trace a chain of causality back to the true root cause. It's used in post-mortems to find systemic issues, not just patch symptoms. The footgun is stopping too soon.

WHY IT EXISTS Problems often present with obvious, immediate symptoms. Fixing only the symptom means the underlying issue remains and will cause problems again. The Five Whys technique was developed to force a deeper investigation into the chain of cause and effect, ensuring the true, foundational problem is addressed before it can recur.

THE MENTAL MODEL Think of it like a detective tracing clues. The initial problem is just the first clue. Each "Why?" is a question that uncovers the next clue, leading you deeper. You're not done when you find the first suspect (the symptom); you're done when you find the mastermind (the root cause). The goal is to move from "the server is down" to "our deployment process lacks automated checks for this specific configuration error."

HOW IT WORKS Start with a clear problem statement. Ask "Why did this happen?". Take the answer to that question and ask "Why did that happen?". Repeat this process, with each answer forming the basis of the next question. The number "five" is a guideline, not a strict rule. You stop when asking "Why?" no longer yields a useful, actionable answer and you've identified a foundational process or system flaw.

WHEN TO USE IT Use this for any non-trivial problem where you want to prevent recurrence. It's a staple of incident post-mortems, quality control, and debugging complex software bugs. It is most effective for problems that likely have a single, linear causal chain that can be traced backward.

WHEN NOT TO USE IT The technique is less effective for complex problems with multiple, interacting causes, where a single "why" chain can be misleading. It also fails if the culture promotes blame, as people will be reluctant to point out process flaws. If the participants don't know the answer to a "why", the process stalls or goes in the wrong direction.

ONE CANONICAL EXAMPLE Problem: The e-commerce checkout page failed. Why? The payment service API call timed out. Why? The service was overloaded with requests. Why? A new marketing campaign drove unexpected traffic, and the service didn't scale up. Why? The auto-scaling policy was configured with too high a CPU threshold to trigger a scale-up event in time. Why? The default infrastructure template we use for new services has a non-performant default scaling policy. The root cause is a faulty template, not just a single overloaded service.

Read the original → en.wikipedia.org

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.