Six months after a big technical decision, someone asks why the team chose that database, framework or integration pattern. Often nobody remembers, the original authors have moved on, and the debate starts again from scratch. An architecture decision record (ADR), a format popularised by Michael Nygard in 2011, prevents this with a short note written at the time.
What goes in an ADR
- Title and date
- Context: the problem and the constraints at the time
- Decision: what was chosen
- Alternatives considered, and why they were rejected
- Consequences: what becomes easier, and what becomes harder
Keep them close to the code
Store ADRs as numbered Markdown files in the repository and review them in pull requests like code. When a decision is replaced, write a new ADR that supersedes the old one instead of editing history.
When to write one
Write an ADR for decisions that are expensive to reverse or affect several teams: choosing a database, adopting a messaging system, changing authentication or splitting a service. Small, easily reversible choices do not need one.
Our engineers and consultants write about what they see in real projects. Have a question about your own systems?






