A production incident occurs at 2 a.m. The service is slow, a database query is misbehaving, and someone asks why the team chose this storage model in the first place. The engineer who made the call changed teams a year ago. The issue tracker contains a long discussion, but its conclusion is unclear.
Or imagine joining a project and finding three authentication libraries, two deployment paths, and a comment saying, “temporary workaround.” You can see what the system does. What you cannot see is the reasoning that made it seem sensible at the time.
Software changes, teams change, and constraints change. Without a durable record of significant decisions, organizations repeatedly spend time reconstructing old context—or worse, reverse an intentional choice because it looks arbitrary.
An Architecture Decision Record, usually called an ADR, is a small document designed to preserve that context. Done well, it makes decisions easier to revisit, challenge, implement, and learn from without turning architecture into paperwork.
🧭 What an Architecture Decision Record is
An ADR is a concise record of an important technical decision: the problem being addressed, the choice made, the alternatives considered, and the consequences expected. It is an architectural memory aid, not a comprehensive design document.
“Architecture” here does not only mean databases and distributed systems. A decision to standardize API versioning, use a monorepo, adopt a message queue, or require a particular logging format can all be architectural when it shapes many future changes.
🧠 The problem ADRs actually solve
Code captures the result of a decision, but rarely its rationale. A PostgreSQL table does not explain why the team rejected a document store; a retry loop does not explain the reliability assumptions behind it.
ADRs reduce the cost of recovering that reasoning. They help current maintainers distinguish deliberate trade-offs from accidental complexity, which is crucial before “cleaning up” unfamiliar code.
🕰️ Decisions outlive conversations
Chat threads, meetings, and pull-request comments are useful while a decision is fresh. They are poor long-term records: access changes, search is imperfect, and discussions often contain many proposals but no clear final outcome.
An ADR turns a scattered conversation into a durable conclusion. It should point readers toward relevant evidence when useful, but it should stand on its own enough to answer the basic question: why is the system this way?
🏗️ What counts as an architectural decision
Not every implementation choice deserves a permanent record. A local variable name or a one-off UI adjustment usually has limited reach and can be understood from the code.
Consider an ADR when a choice has broad impact, is hard or expensive to reverse, creates a lasting constraint, involves meaningful trade-offs, or is likely to be questioned later. The practical test is simple: would a future engineer reasonably need the rationale to change this safely?
🎯 Start with decisions, not documentation
A common failure mode is creating ADRs because a process says every project needs them. That produces documents with little decision content, such as “Use TypeScript” after TypeScript is already mandated across the company.
Instead, write an ADR when a real decision is pending or has just been made. The document should be the output of thinking, review, and agreement—not a ceremonial artifact produced afterward.
🧩 The minimum useful structure
A lightweight template prevents omissions while keeping the record readable. Many teams use a structure close to the following:
- Title: a specific decision, such as “Use asynchronous events for invoice notifications.”
- Status: proposed, accepted, deprecated, superseded, or rejected.
- Context: the problem, constraints, and forces at play.
- Decision: what the team will do.
- Consequences: benefits, costs, risks, and follow-up work.
Alternatives and decision drivers are often valuable additions. The goal is not to satisfy a fixed template; it is to preserve enough reasoning for a future reader to make an informed change.
📌 Write a title that states the choice
Titles should be searchable and decisive. “Caching” is vague; “Use Redis for short-lived rate-limit counters” tells readers what happened and where it applies.
A good title also limits scope. “Adopt event-driven architecture” may conceal several distinct decisions about event ownership, delivery guarantees, schemas, and consumers. Splitting those into separate ADRs makes each decision reviewable.
🌍 Describe context without writing a novel
Context explains the conditions that made a decision necessary. Include concrete facts such as expected traffic patterns, compliance obligations, team skills, delivery deadlines, existing platform capabilities, and integration constraints.
Do not retell the project’s entire history. A reader needs the forces that changed the decision space, not every meeting that led there. If a constraint is uncertain, say so; false certainty is more damaging than an acknowledged assumption.
⚖️ Make decision drivers explicit
Decision drivers are the criteria that matter most. For one system, operational simplicity may outweigh raw throughput. For another, auditability or data residency may be non-negotiable.
Writing drivers down exposes disagreements early. Two engineers can argue endlessly about tools while actually agreeing on the facts but prioritizing different outcomes.
- Failure recovery and data durability
- Latency, throughput, and predictable performance
- Security, privacy, and regulatory obligations
- Cost to operate and cost to change
- Developer experience and available expertise
✅ State the decision plainly
The decision section should be short enough to quote in a review. Prefer “The orders service will publish versioned domain events to the shared broker” over “We will move toward a more decoupled communication strategy.”
Include boundaries where they prevent ambiguity. For example, identify the owning service, the allowed use cases, or the migration date. Precise language makes implementation and later governance much easier.
🔍 Compare alternatives fairly
Alternatives demonstrate that the chosen option was considered rather than assumed. They also help a future reader understand which conditions would justify reconsidering the decision.
Do not create a straw-man list where every option except the favorite is dismissed in one sentence. Describe viable options honestly, including the strengths that made them plausible and the trade-offs that led the team elsewhere.
| Option | Useful when | Main trade-off |
|---|---|---|
| Synchronous HTTP call | The caller needs an immediate answer | Tighter runtime coupling |
| Asynchronous event | Consumers can process later | Eventual consistency and operational complexity |
| Shared database access | A short-lived migration may require it | Weak ownership boundaries and coupled schemas |
💰 Record consequences, including the unpleasant ones
The most valuable ADRs make costs visible. A managed platform may reduce maintenance but introduce vendor-specific interfaces. A strongly consistent workflow may improve correctness but reduce availability during a dependency outage.
Consequences should include work the team now owns: monitoring, training, migration, documentation, incident procedures, or retirement of old components. A decision is not complete merely because a tool has been selected.
🚦 Use status to tell the record’s life story
Status prevents old documents from being mistaken for current policy. A simple lifecycle is usually enough: proposed for review, accepted once adopted, deprecated when no longer recommended, superseded when replaced, and rejected when considered but not chosen.
Never rewrite an accepted ADR to make the past look cleaner. Keep its historical content and link it to the newer record. The old reasoning may be exactly what explains a migration or compatibility layer.
🔗 Supersede decisions instead of erasing them
Technology and constraints evolve. An accepted choice can become wrong when scale, regulation, product direction, or team capacity changes. That is not proof that the original decision was careless.
Create a new ADR that names the prior one, explains what changed, and records the replacement choice. This forms a navigable chain: readers can see both the original trade-off and why the balance later shifted.
🗂️ Keep ADRs close to the code
For many teams, a version-controlled directory such as docs/adr is the most practical home. It keeps decisions reviewable with code, preserves history, and makes records available to contributors without separate permissions.
A wiki can work when decisions span many repositories or include broad organizational policy. The key requirement is discoverability. A perfect ADR that nobody can find during development or an incident has limited value.
🔢 Choose stable identifiers and filenames
Sequential identifiers such as 0007-use-object-storage-for-exports make records easy to reference. Others use date-prefixed filenames. Either approach works if links remain stable and the convention is applied consistently.
Do not optimize this detail excessively. The identifier exists to support navigation and references, not to become an administrative burden. The descriptive title carries most of the human value.
🧪 Draft ADRs while uncertainty still exists
An ADR is most useful before implementation is irreversible. A proposed record gives reviewers something concrete to challenge: assumptions, alternatives, migration risks, and missing operational responsibilities.
Writing early does not mean pretending the answer is final. Mark it proposed, list open questions, and update it as evidence arrives. Once the decision is accepted, capture the final rationale rather than leaving readers with an obsolete draft.
👥 Make review proportional to impact
A decision affecting one service may need a short peer review. A choice that changes shared authentication, data retention, or an internal platform may require input from security, operations, product, or other service owners.
More reviewers do not automatically mean better decisions. Invite people who understand the affected constraints, set a decision deadline, and make clear who has authority to resolve disagreement. Endless consensus-seeking is also a risk.
🗣️ Separate discussion from the durable record
Discussion can be messy and exploratory; an ADR should be clear and settled. Keep the record focused on the decision and rationale rather than pasting every objection, chat message, or meeting transcript into it.
If an unresolved dissent matters, summarize it accurately. For example: “The platform team noted that cross-region failover remains untested; a resilience exercise is required before expanding usage.” That preserves the risk without burying the decision.
🧱 Use ADRs for boundaries and ownership
Service boundaries are particularly valuable to document because they become expensive to change. An ADR can state which service owns customer identity, which system is the source of truth for invoices, and how other components may access that data.
This is more than a diagramming exercise. Clear ownership reduces competing writes, undocumented dependencies, and arguments during incidents about who can safely change a schema or repair data.
🔄 Capture migrations as decisions, not just tasks
A migration plan explains steps; an ADR explains why the organization accepts the transition. For example, moving from a shared database to service-owned stores may improve autonomy, but it also requires data synchronization, new failure modes, and an eventual retirement plan.
Record the target state, compatibility period, rollback approach where applicable, and conditions for removing the old path. Otherwise “temporary” integrations can quietly become permanent architecture.
🛡️ Document security and reliability trade-offs
Some decisions affect risk in ways that are invisible in normal feature work. Examples include token lifetimes, encryption key management, audit-log retention, retry behavior, and whether a workflow fails open or fails closed.
An ADR should not expose secrets or replace a threat model. It can, however, record the security objective, responsible owners, assumptions, and operational consequences. This helps teams avoid treating security controls as unexplained obstacles later.
📈 Treat observability as a consequence
New architecture creates new questions during operation. If a workflow becomes asynchronous, how will support staff correlate a customer request with its events, retries, and final outcome? If a cache is introduced, how will the team detect stale data or harmful eviction patterns?
Include necessary telemetry in the consequence section: metrics, logs, traces, alerts, dashboards, and runbooks. Observability is often not optional follow-up work; it is part of making the choice safe to operate.
🧰 Keep templates lightweight and adaptable
A rigid template can discourage useful writing when every decision must answer irrelevant headings. Conversely, no structure often produces vague records. Start with a small standard and allow additions for decisions that need them.
Useful optional sections
- Assumptions: facts that need validation later.
- Scope: systems or teams affected by the decision.
- Implementation notes: constraints that must be honored in delivery.
- Validation: measures, tests, or review dates that will test the choice.
- Links: designs, tickets, or runbooks for deeper detail.
📝 An example: choosing an export workflow
Consider a hypothetical reporting product where users request large CSV exports. The team must choose whether the web request generates the file immediately or places a job on a queue.
The context might say that exports can take several minutes, the application has limited request timeouts, and users can return later to download completed files. The decision could be: “Generate exports asynchronously using a job queue and store completed files in object storage.”
Consequences should acknowledge both sides: web requests remain responsive and retries are possible, but users need status updates, jobs need idempotency, stored files need access controls and expiry, and operations need visibility into stuck jobs. That is enough context for a future maintainer to understand the design.
🚫 Avoid ADRs that merely announce a tool
“Use Kafka” is not a decision record unless it explains the problem and boundaries. Is the broker being used for audit events, asynchronous workflows, cross-team integration, or all of them? What delivery semantics are expected? Who owns schemas?
Tool-first ADRs often age poorly because they hide the problem the tool was intended to solve. Describe the capability and constraints first, then identify the chosen technology as part of the answer.
📚 Avoid turning ADRs into design specifications
An ADR should not duplicate every API field, class diagram, deployment command, or test case. Those details belong in code, interface specifications, runbooks, or dedicated design documents where they can evolve at the right pace.
Use the ADR to establish the enduring choice and its key constraints. Link or reference supporting material when needed. Keeping records short makes them more likely to be read before someone makes a consequential change.
🧹 Avoid recording trivia and missing the hard calls
Teams sometimes document minor choices because they are easy to write down while leaving major decisions implicit. This creates a noisy directory that obscures the architecture’s real turning points.
Review the ADR set occasionally. Ask whether it explains major dependencies, data ownership, integration patterns, security posture, deployment approach, and irreversible migrations. Gaps in these areas are usually more concerning than an undocumented formatter preference.
🔎 Make ADRs part of everyday engineering
The habit becomes sustainable when it fits existing work. Add a prompt to design reviews: “Does this create or change an architectural decision?” Include proposed ADRs in pull requests when the code implements them, and link accepted records from onboarding materials.
During incident reviews, ask whether missing or outdated decision context increased recovery time. During planning, identify decisions that need resolution before estimates become reliable. These small integration points are more effective than a quarterly documentation campaign.
📖 Use them to accelerate onboarding
New engineers need more than an architecture diagram. They need to know why a system favors consistency over availability in one workflow, why direct database access is prohibited, or why a legacy component still exists.
A curated reading path of foundational ADRs provides this context efficiently. It also signals that questioning prior decisions is welcome when conditions have changed—provided the team understands the original constraints first.
⏳ Review assumptions without creating ceremony
Some decisions include assumptions that may expire: a vendor capability, expected data volume, a temporary team boundary, or a planned retirement date. Add a review trigger when one materially affects the choice.
A trigger can be event-based rather than calendar-based: review when entering a new region, when a workload reaches a defined operational limit, or when the old platform contract ends. Avoid routine reviews for every ADR; stable decisions do not need constant attention.
🌱 Build a culture that can change its mind
ADRs work best in teams that treat decisions as accountable experiments under known constraints, not personal monuments. An accepted record means “this is our current best choice,” not “this may never be questioned.”
That culture requires intellectual honesty. Record uncertainty, acknowledge costs, and revise choices when evidence changes. Blaming people for reasonable past decisions encourages hidden reasoning and defensive documentation.
🧭 The core principle: preserve reasoning, not bureaucracy
The best ADR is small enough to write and read, yet specific enough to guide a future engineer facing a risky change. It captures a decision at the point where conversation would otherwise evaporate.
Use ADRs selectively for choices with lasting consequences. State the context, drivers, decision, alternatives, and consequences honestly; keep the record near the work; and supersede it when reality changes. The result is not perfect foresight, but better organizational memory.
Architecture Decision Records turn hidden technical judgment into shared, durable context that teams can use long after the original conversation ends. 📐🧠🛠️

