AI root cause analysis connects rejection data with machines, shifts, operators, material batches, tools and settings, and spots patterns people miss. It speeds up 5 Why, fishbone and 8D analysis with evidence, and tracks whether corrective actions actually stop the problem from returning. Your quality team still confirms the cause and decides the fix.
Why do the same defects keep coming back?
Defects keep coming back because the action taken fixed the symptom, not the cause, or because nobody checked whether the fix worked. Six patterns show up in most factories:
- Containment treated as the fix: the bad lot is sorted and the matter is closed.
- "Operator error" as the root cause: it rarely explains why the error was possible in the first place.
- Missing data: rejections are counted, but not recorded by machine, shift, batch or reason.
- No effectiveness check: the CAPA is closed on paper without confirming the defect rate dropped.
- Lost knowledge: a similar problem was solved two years ago, but nobody can find the report.
- More than one cause: fixing one cause reduces the defect but does not remove it.
What is root cause analysis in manufacturing?
Root cause analysis is a structured way to find the underlying reason a problem happened, so it can be fixed permanently rather than patched. ISO 9001 and IATF 16949 both expect it as part of corrective action.
The common tools, several of which are among the seven basic quality tools, are:
- 5 Why: asking "why" repeatedly until you reach a cause you can act on.
- Fishbone (Ishikawa) diagram: grouping possible causes under headings such as man, machine, method, material, measurement and environment.
- Pareto chart: ranking defects or causes by frequency, to focus on the few that matter most.
- 8D report: an eight-step method, common with automotive customers, that includes containment, root cause, corrective action and prevention.
How does AI help with root cause analysis?
AI helps by pulling scattered data together, finding patterns across it and keeping track of actions, which are the slow parts of root cause analysis.
- Connecting data: rejections from the quality register, output from production logs, material heat or batch numbers, tool changes, maintenance records and shift details.
- Finding patterns: for example, burrs rising after a certain number of pieces since the last tool change, or cracks concentrated in one supplier's heat.
- Automatic Pareto: the top defects by part, machine and customer every week, without anyone building a chart.
- Searching past reports: "Have we seen this defect on this part before?" answered from old 8Ds and CAPAs.
- Drafting the analysis: a first draft of the 5 Why or fishbone, filled with the evidence found, for your team to review.
- Tracking effectiveness: watching the defect rate after the corrective action and raising an alert if it returns.
What does AI root cause analysis look like in practice?
AI root cause analysis starts by comparing the defect rate across every factor you record, then points your team to the factor that stands out. Here is an illustrative example.
Example: A pressed bracket shows cracks after pressing. Over one month, 103 of 7,500 parts were rejected. The team suspects the night shift. AI compares the rejection rate by shift and by material heat.
Factor | Parts | Rejected | Rejection rate |
|---|---|---|---|
Shift A | 2,500 | 33 | 1.3% |
Shift B | 2,500 | 35 | 1.4% |
Night shift | 2,500 | 35 | 1.4% |
Heat H-221 | 3,000 | 21 | 0.7% |
Heat H-235 | 2,000 | 62 | 3.1% |
Heat H-240 | 2,500 | 20 | 0.8% |
The shifts look almost the same. Heat H-235 has about four times the rejection rate of the other heats. The team now runs a 5 Why with evidence:
- Why did the brackets crack? The material in heat H-235 was harder than specified.
- Why was it harder? The supplier's heat treatment for that batch was out of range.
- Why did we not catch it? Incoming inspection checked the test certificate but did not test hardness.
- Why was hardness not tested? The incoming inspection plan had no hardness check for this new supplier.
- Root cause: the incoming inspection plan did not include a hardness check for new supplier heats.
The corrective actions are a hardness check on every new heat and a corrective action request to the supplier. Without the data, the night shift might have been retrained, and the cracks would have continued.
The pattern pointed to the right place, but the team still confirmed it by testing retained samples from heat H-235. That step matters: data shows where to look, not what is true.
What data do you need for AI root cause analysis?
You need rejection records that carry enough detail to compare. Most factories have some of this, but not linked together.
- Rejection reason codes, not just totals
- Part number, machine and shift for each rejection
- Material heat or batch numbers on job cards
- Tool change and setup times
- Maintenance and breakdown records
- Customer complaints linked to part and date
The quickest way to start is to record rejections with reasons as they happen. With production and rejection tracking on WhatsApp, supervisors send a short message and the data is logged by machine, shift and part automatically. To catch visible defects consistently on high-volume lines, see our guide to AI visual inspection.
What can AI not do in root cause analysis?
AI cannot prove a cause, inspect a machine or replace the people who know the process. It finds patterns in the data it has, and patterns can mislead.
- Correlation is not cause. Two things rising together may both be driven by a third factor.
- Missing data hides causes. If you do not record tool changes, AI cannot link defects to them.
- Physical checks are still needed. Measuring the part, testing the material and watching the process confirm what the data suggests.
- Team knowledge matters. Operators often know why a machine behaves differently on hot afternoons.
How do you make corrective actions stick?
Corrective actions stick when every action has an owner, a due date and a measured check that the defect has stayed gone. This is where many factories fall short, and where auditors look closely. ISO 9001 requires organisations to review the effectiveness of corrective action taken, as the ISO 9001 standard sets out.
- Define the success measure when you open the CAPA, such as "crack rejections below 0.5% for 60 days".
- Set reminders for the owner before each due date.
- Monitor the data for 30, 60 and 90 days after the action.
- Reopen automatically if the defect returns.
- Keep the record of analysis, actions and evidence in one place for audits.
Osvik's quality documentation and audit readiness solution tracks every open CAPA and 8D, reminds owners before they become overdue and keeps the evidence ready for customer and certification audits. Once a process is stable, capability indices show whether it can stay within specification; our guide to SPC, Cp and Cpk explains how.
Start with one recurring defect
Pick the defect that has come back most often this year. List every factor you record for it and check which ones you can compare by rate. That exercise alone often points to the cause, and shows which data you need to start recording.
If you want help setting up that data and tracking corrective actions, book a free call. If a task repeats in your factory, tell us about it.
Frequently asked questions
What is root cause analysis in manufacturing?
Root cause analysis is a structured method to find the underlying reason a defect or failure happened, so it can be fixed permanently. Common tools include 5 Why, fishbone diagrams, Pareto charts and the 8D method. It is a core part of corrective action under ISO 9001 and IATF 16949.
Can AI find the root cause of defects?
AI can find patterns that point to likely causes, such as a material batch, machine, tool or shift with a higher defect rate. It cannot prove the cause on its own. Your quality team should confirm it with physical checks or a trial before choosing corrective actions.
What is the difference between 5 Why and fishbone analysis?
A fishbone diagram lists many possible causes under categories like machine, method and material, which helps a team see the full picture. 5 Why follows one cause chain deeply, asking why repeatedly until reaching an actionable root cause. Teams often use fishbone first, then 5 Why.
What is the difference between correction, corrective action and preventive action?
Correction fixes the immediate problem, such as sorting a bad lot. Corrective action removes the cause so the problem does not happen again. Preventive action removes the cause of a potential problem before it occurs, often by applying a lesson to similar parts or processes.
Why do corrective actions fail?
They usually fail because they address a symptom rather than the root cause, because the cause was assumed without evidence, or because nobody checked whether the defect rate actually dropped. Setting a clear success measure and monitoring it after the action prevents most failures.
What data is needed for AI root cause analysis?
Useful data includes rejection reasons by part, machine and shift, material heat or batch numbers, tool change and setup records, maintenance history and customer complaints. The more consistently these are recorded and linked, the more reliable the patterns AI can find.
Want this for your factory?
A free 30-minute call. Bring one real enquiry, sheet or report.



