Root cause analysis for IT problems: methods that work
Learn practical root cause analysis methods for IT problems, how to separate suspicion from evidence and what has to be true before you close a problem.
The same application has stopped three times this month. Each time, the team restarted it, and it worked again. Everyone has a theory: the server is too small, the latest update is to blame, the database is slow, or "it is always like this after the backup".
Theories are cheap. A root cause that you have *shown* to be the cause is worth much more. This article describes how to find the cause of an IT problem in a structured way, without turning it into a research project.
What is a root cause?
A root cause is the underlying reason why something goes wrong: the thing that, when you remove it, stops the incidents from coming back. It is not the same as a symptom (the application stops), a trigger (the backup started) or a workaround (restarting the application).
An example makes this concrete:
- Symptom: users are logged out every few minutes.
- Trigger: it happens after the identity service renews its tokens.
- Root cause: a configuration setting limits the lifetime of a token to five minutes, instead of the intended sixty.
- Workaround: log in again.
If you stop at the trigger, you will be back in a month.
When is root cause analysis worth the effort?
Not every incident needs it. It pays off when:
- the same type of incident keeps coming back
- a major incident has an unclear cause
- the impact is high, even if the incident is rare
- a workaround takes a lot of effort every time
For the rest, a short review is enough. The more important the service, the more you should invest.
How do you start?
Start with the facts, not with a theory.
- Collect the incidents. Gather all related incidents in one place.
- Describe the pattern. When does it happen? To whom? Which service and which components? What is the same every time, and what differs?
- Build a timeline. Put events in order: incidents, changes, restarts, deployments, alerts. A timeline often shows a change just before the first incident.
- Look for what changed. Recent changes are the cause of many problems. If you have linked records for your changes, this step is quick.
- Gather evidence. Logs, error codes, screenshots and monitoring data.
Which methods can you use?
You do not need a complicated technique. Three simple ones cover most cases.
The 5 Whys
Ask "why?" repeatedly, until you reach something you can act on. Using the logout example:
- Why are users logged out? *Their sessions expire.*
- Why do sessions expire so quickly? *The token lifetime is five minutes.*
- Why is it five minutes? *A configuration was changed during the last update.*
- Why was it changed? *The new default is lower than the old one.*
- Why did nobody notice? *The setting was not part of the update checklist.*
Five is a guide, not a rule. The method is simple, but it depends on evidence at every step. If an answer is a guess, write it down as a guess.
A cause-and-effect diagram
Also known as a fishbone or Ishikawa diagram. Draw the problem on the right and sort possible causes into categories on the left: for example people, process, technology, environment and suppliers. It is useful when several teams have different theories, because it makes all of them visible and lets you rule them out one by one.
Change and event analysis
Compare the situation when it worked with the situation when it stopped. What is different? A configuration, a version, a certificate, a volume of users? This is often the fastest method for IT problems.
How do you separate suspicion from proof?
This is where analysis often goes wrong. A shared component or a similar error code does not prove that incidents have the same cause. To call a cause confirmed, you should be able to say yes to at least one of these:
- You can reproduce it. You make the problem happen, and you can make it go away.
- You removed the cause and the problem stopped. Over a period that is long enough to be meaningful.
- Evidence points to it clearly, for instance a log that shows exactly the failing step.
Until then, keep the cause marked as suspected. Writing "confirmed" too early sends everyone in the wrong direction and makes a wrong fix look like a success.
Do you always need a root cause?
No. Sometimes finding the cause costs more than living with the problem, or the cause is outside your control, for example a defect in a supplier's product. In those cases, there are other honest outcomes:
- A workaround that is documented and available to everyone who needs it
- A decision to accept the risk, with a reason and the person who decided
- A request to the supplier, followed up with them
What is not acceptable is a problem that fades away because nobody looks at it any more.
How do you involve other teams?
Root causes often sit across team boundaries: the application, the database, the network and a supplier. Divide the investigation into tasks with a clear owner, a due date and a defined result, such as "collect the logs", "reproduce on the test environment" or "validate the workaround". Keep one person responsible for the whole investigation.
When can you close the problem?
A problem is done when the following is true:
- The cause is confirmed, or a risk acceptance is documented
- The fix has been implemented through a controlled change and verified, if you chose to fix it
- An available workaround is published, so people can use it as long as the cause remains
- The related incidents are linked, so the story can be followed afterwards
After closure, check the incident numbers over the following weeks. If the incidents continue, the cause you found was not the only one.
How does this work in Bourgos?
In Bourgos, you investigate in a problem record, which can be promoted from a problem candidate or created directly. The problem keeps the linked incidents, its service context, the investigation findings in work notes and a root-cause summary with a category and a code. Bourgos distinguishes suspected from confirmed: you update the root cause and its confirmation only when evidence supports it. In the configuration-connected CSM Full view, a primary CI is a component associated with the symptoms, while a root-cause CI is the component determined to be responsible after investigation. Recording a root-cause CI can assert that the root cause is confirmed, so use it only when you have the evidence.
You divide the work into problem tasks for specialist teams. A task has its own team, type, due date and result, and can be marked as mandatory for closure. The sequence field does not make tasks wait for each other, so coordinate dependent work with the teams.
Closing a problem requires three things together: every mandatory task is completed or cancelled, the root cause is confirmed or a risk acceptance reason is recorded, and any workaround marked as available is published. A published known error does not fix anything by itself, and a corrective change keeps its own approval route.
Start with the guides on investigating a problem and publishing a known error, working problem tasks and closing an investigation and creating and assigning a problem. If you work with configuration data, read how to model dependencies and interpret impact. The overview is on our problem management software page.
Frequently asked questions
What is the difference between a root cause and a workaround?
A root cause is the underlying reason for the problem. A workaround avoids or reduces the effect without removing that reason. Both are useful, but only removing the cause stops the problem coming back.
Is the 5 Whys method enough?
For many IT problems, yes, as long as every answer is backed by evidence. For complex problems with several contributing factors, combine it with a timeline or a cause-and-effect diagram.
Should I always look for one root cause?
No. Many problems have several contributing causes. Look for the ones you can act on, and be open about the ones you cannot.
Who does the root cause analysis?
A problem manager or coordinator is accountable for the investigation. The specialists in the teams that know the components do much of the work, including suppliers.
How long should an investigation take?
It depends on the impact. Set a time limit that fits the importance of the service, and agree what you do if you have not found the cause by then: for instance, document a workaround or record a risk acceptance.
