Skip to main content

Postmortem

Updated 3 min read

Share this page

Send the link, quote the definition with a link back, or show it as a card on your own site.

https://softwaredictionary.org/terms/postmortem

In short

A postmortem is a written review after an incident that explains what happened, why it happened, and what the team will change so it doesn't happen again.

What is a postmortem in software engineering?

A postmortem, also called an incident review, is a document and meeting that analyzes a failure after it has been resolved, such as an outage, a data loss, or a security breach. It records the timeline of events, the impact on users, the root causes and contributing factors, and a list of action items with owners. The goal is to learn from the incident, not to assign blame.

Most teams follow a blameless approach: the review assumes that people acted reasonably with the information they had, and it asks why the system made the mistake easy rather than who made it. A typical postmortem is written within a few days, while memories are fresh, using chat history, dashboards, and alerts to rebuild a precise timeline. Techniques such as asking why repeatedly, often called the five whys, help dig past the first obvious cause, like a bad configuration change, to deeper ones, like the lack of automated checks before that change went live.

The practice is borrowed from medicine and aviation, where investigators study every accident to improve safety for everyone, not to punish the pilot. In software, postmortems are a core part of site reliability engineering and incident management, and many companies publish them so customers can see what went wrong. Their value depends on the follow-up: action items such as adding an alert, a test, or a safer deployment step must actually be tracked and completed.

A postmortem is often confused with a retrospective. A retrospective is a routine meeting at the end of every sprint about how the team works in general, while a postmortem is triggered by a specific incident and focuses on the technical and organizational causes of that failure. Both aim at improvement, but a postmortem produces a detailed written record of one event.

Key takeaways

  • A postmortem analyzes an incident after it is resolved and records the lessons learned.
  • It includes a timeline, impact, root causes, contributing factors, and action items.
  • Blameless postmortems focus on system and process failures, not on individuals.
  • Action items need owners and tracking, or the same incident tends to repeat.
  • A retrospective reviews regular work; a postmortem reviews one specific incident.

Example

A minimal postmortem templatemarkdown
# Postmortem: checkout errors on 2026-09-12

## Summary
From 14:02 to 14:49 UTC, 38% of checkout requests failed.

## Impact
About 5,200 orders failed. No payment data was lost.

## Timeline (UTC)
- 14:02 Config change deployed; error alert fires at 14:06
- 14:31 Change identified as the cause and rolled back

## Root causes and contributing factors
## What went well, what went poorly
## Action items (owner, due date)

Readers ask

What does blameless postmortem mean?

A blameless postmortem looks for weaknesses in systems and processes instead of blaming the person who made the final mistake. People are more honest about what happened when they are not afraid of punishment, which leads to better fixes.

When should a team write a postmortem?

Most teams write one for any incident that affected users beyond a set threshold, caused data loss, needed on-call engineers to step in, or took longer than expected to resolve. Near misses are also worth reviewing, because they reveal problems before they cause real damage.

What is the difference between a postmortem and a retrospective?

A retrospective is a regular meeting, usually at the end of each sprint, about how the team works. A postmortem is written after one specific incident and digs into its causes, impact, and the fixes needed to prevent it from happening again.

See also

Spotted a mistake or something missing on this page?Suggest an edit

Read a random page
Open today's review
Switch to the dark theme
Read this page in Türkçe

More

Settings