Incident Postmortem — a Blameless Guide with the 5 Whys
An incident postmortem is a written, blameless review held after an outage or service degradation to understand what happened, why the system allowed it, and what will change to prevent it or reduce its impact next time. The 5 Whys is the most common technique inside a postmortem for moving from the trigger (a bad deploy, an expired certificate) to the conditions that let it become an incident.
What "blameless" really means
Blameless postmortems became mainstream in web operations in the early 2010s and were popularised further by Google's Site Reliability Engineering book, which dedicates a chapter to postmortem culture. The idea is simple: engineers acted reasonably with the information, tools and time they had. If a single command could take production down, the problem is that the system allowed that command — not that someone typed it.
Blameless does not mean "no accountability". It means people are accountable for telling the full story and for completing follow-up actions, rather than being punished for an honest mistake. In practice:
- Refer to roles ("the on-call engineer"), not names, in the analysis.
- Ask "what made this action look right at the time?" instead of "why did you do that?".
- Treat human error as a starting point of the investigation, never as its conclusion.
- Make it safe to say "I don't know" or "I made a mistake".
When to write a postmortem
Most teams define clear triggers so postmortems are not optional or political:
- User-visible downtime or degradation beyond an agreed threshold
- Any data loss or data exposure
- A significant breach of a service level objective (SLO) or error budget
- An on-call intervention such as a rollback, traffic reroute or manual failover
- A near miss that could have caused a major outage
- A stakeholder or customer explicitly requests one
A practical postmortem structure
| Section | What to include |
|---|---|
| Summary | Two or three sentences — what broke, for how long, who was affected |
| Impact | Users, requests or revenue affected, SLOs breached, support tickets |
| Timeline | Timestamped events from first signal to full resolution (detection, escalation, mitigation) |
| Trigger | The immediate event that started the incident |
| Root causes and contributing factors | The 5 Whys analysis, including detection and response gaps |
| What went well | Things that limited the impact and should be kept |
| What went wrong / where we got lucky | Weak points exposed by the incident |
| Action items | Each with an owner, priority, due date and ticket link |
| Lessons learned | What other teams should know |
Two questions are easy to forget: why did it happen, and also why did it take so long to detect and fix? Run the whys on both. Time to detection and time to mitigation are often where the cheapest improvements live.
Worked example — an expired TLS certificate
Incident: For 47 minutes, mobile app users received connection errors when calling the public API. Web users were not affected.
| Level | Why? | Answer |
|---|---|---|
| 1 | Why did API calls fail? | The TLS certificate on the mobile API gateway had expired. |
| 2 | Why had it expired? | It was renewed manually once a year, and nobody renewed it this time. |
| 3 | Why was renewal manual? | This gateway was set up before the team adopted automated certificate management and was never migrated. |
| 4 | Why was it never migrated? | It was not in the certificate inventory used for the migration project. |
| 5 | Why was it missing from the inventory? | The inventory is a hand-maintained spreadsheet with no owner, not generated from the actual infrastructure. |
Detection branch: Why did it take 47 minutes to mitigate? There was no alert on certificate expiry, and the error-rate alert only covered the web endpoint, so the first signal was a spike in app-store reviews and support tickets.
Root causes: No automated discovery and renewal for all certificates; monitoring did not cover the mobile API endpoint.
Action items:
- Move the mobile gateway to automated certificate renewal (owner: platform team, P1, 1 week).
- Generate the certificate inventory automatically from load balancers and gateways (owner: platform team, P2, 1 month).
- Alert 30, 14 and 3 days before any certificate expires (owner: SRE, P1, 2 weeks).
- Extend error-rate SLO alerts to every public endpoint (owner: SRE, P1, 2 weeks).
The trigger — "nobody renewed it" — would have been a blame-shaped conclusion. The useful findings sit at levels 3 to 5 and in the detection branch. More cases like this are collected in our 5 Whys examples.
How to run a blameless postmortem in 7 steps
- Assign a postmortem owner as soon as the incident is resolved, ideally someone who was not the incident commander.
- Collect evidence while it is fresh — chat logs, dashboards, alerts, deploy history and the incident timeline.
- Draft the timeline and impact before the meeting, so the session focuses on analysis.
- Hold a 45–60 minute review with responders and owners of the affected systems, and set the blameless ground rules at the start.
- Run the 5 Whys on the trigger and on the detection and response gaps, branching when a level has more than one real cause.
- Agree a small number of concrete action items, each with an owner and a due date tracked in your normal backlog.
- Publish the postmortem widely and review overdue action items regularly until they are closed.
If you facilitate these sessions often, our guide on how to run a 5 Whys session covers question technique and common traps.
Limits of the 5 Whys in complex systems
Distributed systems rarely fail for one reason. A strictly linear chain of five questions can hide parallel contributing factors — a config change, a missing alert and a capacity limit all at once. Use the 5 Whys as a tree, not a line: let each level branch when the evidence shows more than one cause, and stop a branch when you reach something actionable and within your control (the 5 Whys methodology article lists the signs of a good root cause). Complement it with the timeline, which often reveals coordination and tooling issues that a pure causal chain misses.
Doing it in D5WAI
D5WAI builds the 5 Whys as a branching tree on an infinite canvas, so the trigger branch and the detection branch can live side by side. Its AI copilot can suggest causes for a node or generate a full first-draft tree that the team then validates against the evidence, and each root cause can carry an action with owner, due date and status — the same follow-up a corrective action plan needs. You can also export the analysis as JSON to attach to the postmortem record.
Frequently asked questions
What is a blameless postmortem?
It is a post-incident review that focuses on how the system, tools and processes allowed the incident, assuming everyone acted in good faith. It encourages honest reporting, which leads to better fixes than punishing individuals.
What is the difference between a postmortem and an RCA?
Root cause analysis is the investigation technique; the postmortem is the document and process around it. A postmortem also includes impact, timeline, what went well and action items, with the RCA at its centre.
Should every incident have a postmortem?
No. Teams usually define triggers based on user impact, data loss, SLO breaches or manual intervention. Smaller incidents can be handled with a short note or grouped into a periodic review.
How soon after an incident should the postmortem happen?
Ideally within a few working days, while memories and logs are fresh. Many teams draft the timeline within 24–48 hours and hold the review meeting within a week.
Is the 5 Whys good enough for software incidents?
It works well if you treat it as a branching tree and back each answer with evidence. For very complex incidents, combine it with a detailed timeline and look explicitly at detection and response, not just the trigger.
Who should attend the postmortem meeting?
The responders, the owners of the affected services, and someone to facilitate who keeps the discussion blameless and on time. Product or support representatives are useful when customer impact was significant.