Architecture Decision Records (ADRs): How and Why to Write Them

Write Architecture Decision Records: what an ADR is, templates (Nygard, MADR), statuses, storage, examples and tooling.

Published November 27, 2026

Six months after a big technical decision, someone always asks: why did we do it this way? Without a record, the answer is lost with whoever was in the meeting, and the team either repeats the debate or reverses a good decision for bad reasons. An Architecture Decision Record (ADR) is a short document that captures one significant decision, its context and its consequences. It is the cheapest high-value documentation practice in software.

The concept

Michael Nygard proposed ADRs in 2011 with a deliberately lightweight format: a title, a status, the context (the forces at play), the decision, and its consequences, good and bad. Each ADR covers one decision, is numbered, and is stored in the code repository next to the code it affects. ADRs are immutable once accepted; when a decision changes, a new ADR supersedes the old one, preserving history.

The value is not the document itself but the thinking it forces: naming the alternatives, stating the trade-offs, and connecting the choice to requirements. Reviewing ADRs in pull requests also spreads architectural knowledge across the team, making decisions more inclusive and better informed.

Lifecycle

  1. Proposed: written and opened as a pull request
  2. Discussed: comments, alternatives, spikes if needed
  3. Accepted (or Rejected): merged with the final status
  4. Superseded: a later ADR replaces it; both stay in the log
The ADR lifecycle.

What goes in an ADR

SectionWhat to writeLength
TitleShort imperative: "Use PostgreSQL for orders"One line
StatusProposed / Accepted / Rejected / Superseded by ADR-NOne line
ContextProblem, requirements, constraints, forces1-3 paragraphs
Options consideredTwo or three alternatives with pros and consBullets
DecisionWhat we chose, stated plainly1 paragraph
ConsequencesWhat becomes easier, harder, and what to watchBullets

Decisions as a linked history

drivessuperseded byimplemented inRequirementNFR-03 consistencyADR-0007PostgreSQLADR-0019supersedes: CockroachDBCodedb config, migrations
ADRs link requirements to code and to each other over time.

When to write one

Write an ADR when a decision is hard to reverse, affects more than one team or module, introduces a new technology or pattern, or is likely to be questioned later. Do not write one for every small choice; a team typically produces a few per month. If you are debating something for more than a meeting, that is a strong signal to capture it as an ADR.

Practical examples

A complete ADR (MADR-style)

Short, specific and honest about the downsides.

# 0012. Use a modular monolith instead of microservices

Status: Accepted · 2026-11-18 · Deciders: platform + product leads

## Context
Six engineers, launch in five months. Need independent evolution of billing, catalogue
and accounts, but no budget for Kubernetes and distributed tracing yet.

## Options
1. Microservices per domain: autonomy, but high ops cost for our size
2. Unstructured monolith: fastest start, risk of tangling
3. Modular monolith with enforced boundaries: one deploy, clear modules

## Decision
Option 3. Modules communicate via public interfaces and in-process events only;
each module owns its tables. Boundaries enforced with architecture tests in CI.

## Consequences
+ Single deployment and database, simple ops
+ Modules can be extracted later if needed
- Discipline needed to keep boundaries; CI rule failures will block merges
- Shared database: must avoid cross-module joins

Folder layout

Numbered files in the repository.

docs/adr/
  0001-record-architecture-decisions.md
  0007-use-postgresql-for-orders.md
  0012-modular-monolith.md
  0019-move-orders-to-cockroachdb.md   (supersedes 0007)
  README.md                            (index with statuses)

Tooling

adr-tools for the Nygard format; Log4brains renders a searchable site.

brew install adr-tools
adr init docs/adr
adr new "Use a modular monolith"
npx log4brains preview

Common mistakes

  • Writing ADRs after the fact with the alternatives and trade-offs missing.
  • Editing accepted ADRs instead of superseding them, erasing history.
  • Storing ADRs in a wiki nobody connects to the code.
  • Writing ADRs for trivial choices until nobody reads them.
  • Only listing benefits in Consequences; honest downsides are what future readers need.

Key takeaways

  • An ADR captures one significant decision with context, options, decision and consequences.
  • Keep ADRs short, numbered, immutable and in the repository.
  • Review them in pull requests to share knowledge and improve decisions.
  • Supersede rather than edit when decisions change.

FAQ

How long should an ADR be?

Usually one to two pages. If it is much longer, the decision may need splitting, or supporting analysis can live in a linked design doc.

Who writes ADRs?

Whoever drives the decision, usually an engineer on the affected team. Architects and leads review rather than author everything.

Should rejected options get ADRs?

Yes, recording a rejected proposal with reasons prevents the same idea being re-proposed without new information.

More Architecture articles