Architecture Decision Record (ADR)

What is Architecture Decision Record (ADR)?

An architecture decision record (ADR) is a short document that captures one significant architecture decision, including its context, the options considered, the decision made and its consequences.

Updated November 2026 · 2 min read


An architecture decision record (ADR) is a short document that captures one important architecture decision: what was decided, why, what alternatives were considered and what the consequences are. Teams keep ADRs together, often in the same code repository as the system they describe, so that anyone joining later can understand why the system is built the way it is. Without them, the reasons behind decisions live only in people's memories, and teams repeat old debates or undo good decisions without knowing why they were made.

The format was popularized by Michael Nygard in a 2011 article and has since been widely adopted by software and architecture teams.

What goes in an ADR: A simple template

  • Title: a short description, such as "Use PostgreSQL for the orders service."
  • Status: proposed, accepted, deprecated or superseded.
  • Context: the problem and the forces at play, such as requirements, constraints and team skills.
  • Decision: what was decided.
  • Consequences: what becomes easier or harder as a result, including trade-offs.

Many teams add options considered and the reasons each was rejected. ADRs are usually one or two pages.

ADR best practices

  • One decision per record.
  • Write it when the decision is made, not months later.
  • Never edit accepted ADRs. If a decision changes, write a new ADR that supersedes the old one, so the history is preserved.
  • Keep them close to the work, such as in the code repository, where they are easy to find.
  • Record significant decisions only: those that affect structure, quality attributes, dependencies or are expensive to reverse.

Architecture decision record example

Consider a hypothetical team that chose, two years ago, to use event-driven messaging between its order and inventory services rather than direct API calls. A new engineering lead proposes switching to direct calls to simplify the system. The team's ADR from the original decision explains the context: during peak sales, the inventory service was often slow, and synchronous calls had caused order failures. Messaging let orders succeed even when inventory was temporarily slow. The lead reads it, agrees the reasoning still applies and drops the proposal. The ADR saves weeks of debate and possibly a repeat of the original outages.

Common pitfalls

  • Writing ADRs for trivial decisions.
  • Writing them after the fact, when the context is forgotten.
  • Storing them where nobody looks.
  • Recording the decision but not the alternatives and trade-offs.

ADRs are often produced through an architecture review board and document how architecture principles were applied.

Frequently asked questions

What should an architecture decision record template include?

A basic ADR has five parts: a short title, such as Use PostgreSQL for the orders service; a status of proposed, accepted, deprecated or superseded; the context and forces at play; the decision itself; and its consequences, including trade-offs. Many teams also list the options considered and why each was rejected. Most ADRs run one or two pages.

Can you change an architecture decision record after it is accepted?

No. An accepted ADR is not edited. If the decision changes, the team writes a new ADR that supersedes the old one and marks the original as superseded. This keeps the history of reasoning intact, so people can see what was decided at each point and why, rather than only the latest answer.

Where should architecture decision records be stored?

Keep ADRs close to the work, often in the same code repository as the system they describe, so anyone joining later can find them easily. Storing them where nobody looks is a common pitfall. Some organizations also produce ADRs through their architecture review board, which records each decision and the reasons behind it.