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
- Proposed: written and opened as a pull request
- Discussed: comments, alternatives, spikes if needed
- Accepted (or Rejected): merged with the final status
- Superseded: a later ADR replaces it; both stay in the log
What goes in an ADR
| Section | What to write | Length |
|---|---|---|
| Title | Short imperative: "Use PostgreSQL for orders" | One line |
| Status | Proposed / Accepted / Rejected / Superseded by ADR-N | One line |
| Context | Problem, requirements, constraints, forces | 1-3 paragraphs |
| Options considered | Two or three alternatives with pros and cons | Bullets |
| Decision | What we chose, stated plainly | 1 paragraph |
| Consequences | What becomes easier, harder, and what to watch | Bullets |
Decisions as a linked history
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 joinsFolder 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 previewCommon 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.