AI Prompt for a Five Whys Root Cause Analysis

Describe a defect or issue and get a Five Whys chain with the evidence behind each step, the root cause in the process, and corrective and preventive actions with owners.

Copy this prompt

Act as a quality engineer who facilitates root cause analysis. Run a Five Whys analysis with me on the problem below. Focus on process and system causes, not on blaming a person.

Problem: [what happened, stated as a fact, with where and when]
Impact: [effect on scope, schedule, cost, quality, or the customer]
What we know: [timeline, facts, and evidence so far]
What we already did to contain it: [immediate fixes]
Who was involved: [roles only]

Work this way:
1. Restate the problem in one specific, measurable sentence.
2. Build the chain. For each why, give the most likely answer based only on what I told you, and label it "supported by evidence" or "assumption to verify". If a why has more than one plausible answer, show each as a separate branch.
3. Stop when you reach a cause in a process, standard, or decision that we control. That may take fewer or more than five whys.
4. Test the chain by reading it backward with "therefore" between each step. Tell me if any link does not hold.
5. State the root cause, and any contributing causes, in one sentence each.
6. Recommend actions in a table: action, type (corrective for this instance, or preventive to stop it recurring), owner role, and how we will know it worked.
7. List the facts I need to gather to confirm each assumption.

If my description is too thin to answer a why, ask me a question and do not guess. Never give "human error" as a root cause. Ask why the process allowed the error.

Why this prompt is useful

A Five Whys run from memory tends to end at the first convenient answer or at a person. This prompt labels each step as evidence or assumption, allows branches where one cause is not enough, tests the chain backward, and refuses human error as an endpoint so the fix lands on the process.

Use it when: a defect, missed deadline, or failed handoff has been contained and you need to find the cause before it happens again.

How this prompt works

When something goes wrong on a project, the pressure is to fix the symptom and move on. Root cause analysis is how you stop paying for the same failure twice, and Five Whys is its simplest form.

The role line and the "roles only" input set the tone. An analysis that ends at "Sam forgot" produces one action, "tell Sam to be more careful", and changes nothing. The last rule in the prompt bars human error as a root cause and asks why the process allowed it.

Step 1 sharpens the problem statement. "Testing was late" leads nowhere. "System testing started 9 days after the planned date because the test environment was not available" gives the first why something to grip.

Step 2 is where this prompt differs from a basic Five Whys. The AI was not there. Any answer it gives to "why?" is a hypothesis based on your description. Labeling each step as evidence or assumption shows you which links are solid and which you must verify. Allowing branches fixes the method's known weakness: real problems often have more than one cause, and a single chain hides that.

Step 4, the "therefore" test, is a classic check. Read the chain from root cause to problem. If "therefore" does not make sense between two steps, the logic has a gap.

Step 6 separates corrective from preventive actions and asks how you will know each one worked. An action with no measure of effect is a hope.

How to adapt it

  • Live facilitation: add "Ask me one why at a time and wait for my answer before continuing." The AI then acts as the facilitator and you supply the facts.
  • Recurring problems: paste several incidents and ask what causes they share.
  • Complex failures: ask for a fishbone layout first, with causes grouped under people, process, tools, materials, and environment, then run Five Whys on the strongest branch.

What to do with the output

Verify every assumption before you act. Check logs, dates, and documents, and ask the people involved what happened. Assign named owners to the actions, and check back after a few weeks to see whether the measure moved. Many project-level causes follow familiar patterns, which the Why Projects Fail course describes.

Frequently Asked Questions

Can AI find the root cause of a project problem?

It can structure the analysis and propose likely causes from your description. It has no access to the facts, so its chain is a set of hypotheses. You confirm the cause with evidence.

Do I always need exactly five whys?

No. Five is a rule of thumb. Stop when you reach a cause in a process or decision that you can change, whether that takes three whys or seven.

What is the difference between corrective and preventive action?

A corrective action fixes the problem that occurred and its direct cause. A preventive action changes the process so the same kind of problem does not happen again, here or elsewhere. A good analysis produces both.