What is a postmortem?

In short
A postmortem is a written record of an incident. It describes what happened, how much damage it caused, what was done to fix it, the root cause, and the follow-up steps that stop it from happening again. Teams write postmortems to learn from failures rather than to assign blame.
What a postmortem contains
A postmortem is a document that a team writes after something goes wrong in a production system. An incident might be an outage, a slow service, or lost data. The document records the incident, its impact on users, the steps taken to reduce the damage or restore service, and the root cause. The root cause is the underlying reason the incident happened, not just the event that triggered it.
The most important part is the follow-up actions. These are concrete changes that make the same failure less likely or less harmful next time. Without them, a postmortem is only a history report.
Why teams write them
Large distributed systems change constantly. New features and new components are added all the time, so incidents are expected. If a team fixes the immediate problem and moves on, the same issue can come back. Worse, small problems can combine into a larger failure that overwhelms the system and its operators.
A postmortem forces the team to understand the causes well enough to prevent a repeat. It also keeps a written record that others can search later. The goal is for the whole organization to learn, not just the people who were on call.
When to write one
The best teams decide the triggers before an incident happens, so everyone knows when a postmortem is required. Common triggers include:
- Visible downtime or degraded service beyond a set threshold
- Any kind of data loss
- An on-call engineer having to step in, for example by rolling back a release or rerouting traffic
- Resolution taking longer than a set limit
- A monitoring failure, where the problem was found by a person instead of an alert
Any stakeholder can also ask for a postmortem about an event that does not meet these triggers. Writing one takes time, so teams choose carefully, but they should not skip useful lessons.
Blameless writing
A blameless postmortem looks at the systems and processes that led to an incident, not at the people involved. It assumes everyone acted with good intentions and used the information they had at the time. The question is why a person had incomplete or wrong information, and what would help them make a better choice next time.
This matters because fear of punishment hides problems. If engineers expect to be blamed, they will delay reporting issues, and risks pile up unseen. Blameless culture grew out of fields like healthcare and aviation, where mistakes can be fatal and every error is treated as a chance to strengthen the system.
Blameless does not mean vague. A good postmortem still names the specific weakness, such as a missing safeguard, an unclear runbook, or a deployment step that is too easy to get wrong. It then proposes a clear action item to fix that weakness. For more on running a reliable service, see the site's guides on incidents and on-call work if they are available to you.
A simple workflow
A typical postmortem goes through several stages:
- Draft the document during or soon after the incident, using a shared editor so several people can add data at once.
- Review the draft with senior engineers who check that the data is complete, the root cause is deep enough, and the action plan is realistic.
- Share the final version with the people who need it, often the wider engineering team or an internal mailing list.
- Store it in a searchable repository of past incidents.
Sensitive information about end users should never appear in these documents. Teams also need regular review sessions, because an unreviewed postmortem has little value.
Common mistakes
Teams often write postmortems that describe what happened but never explain why. Another frequent problem is vague action items such as "be more careful." Good action items are specific, have an owner, and have a priority.
Some teams also treat the postmortem as paperwork to finish and forget. Culture matters here. Management can encourage the practice, for example by rewarding good write-ups, but the best results come when engineers feel motivated to learn from failures themselves.
FAQ
Is a postmortem the same as a root cause analysis?
Not quite. Root cause analysis is the technique used to find the underlying reasons for an incident. A postmortem is the written record that includes those findings, along with impact, response steps, and follow-up actions.
Who should write the postmortem?
Usually the people who responded to the incident write the first draft, since they have the most context. Senior engineers then review it before it is shared more widely.
Does a blameless postmortem mean no one is accountable?
Blameless means the document does not punish individuals or teams for doing the wrong thing. It still clearly names weaknesses and assigns follow-up actions that someone must complete.
How soon should a postmortem be written?
Start collecting data during the incident, when details are fresh. Finish the draft and hold the review afterward, so the lessons are captured while people still remember what happened.
Sources
This page is based on the official documentation below. Read it for full detail.
Postmortem — official documentation ↗