An Architecture Decision Record is a short, versioned document that captures one significant architectural decision, the context that made it necessary, the alternatives that were considered, and the consequences of choosing it. It is not a full design document and not a substitute for code comments or wiki pages. An ADR is a focused record of why a system is built a certain way, written so that people who arrive later—new teammates, auditors, or your own future self—can understand the reasoning without reconstructing it from memory or reverse-engineering the source code.

The term and the practice come from the software architecture community, but the underlying idea is older than any specific label: write down the decisions that matter before they fade. What distinguishes an ADR from ordinary documentation is its scope (one decision per record), its format (structured but deliberately lightweight), and its lifecycle (records are immutable once accepted; later decisions supersede earlier ones rather than rewriting them).

Why ADRs exist in the first place

Most software teams have no trouble remembering what they built. The code says what it does. The harder problem is recovering why: why the team chose a monolith instead of microservices, why the primary datastore is PostgreSQL instead of MongoDB, why authentication was outsourced to a third-party provider, why a seemingly obsolete interface is still maintained.

Without records, that reasoning survives only in the heads of whoever was involved. When those people leave, the reasoning leaves with them, and the remaining team is left to infer intent from artifacts. This has a familiar failure mode: a future engineer looks at a design, cannot determine whether it was deliberate or accidental, and either treats it as sacred and immovable or treats it as arbitrary and changes it, sometimes reintroducing a problem the original team had already considered and rejected for good reasons.

ADRs address this failure directly. They preserve the alternatives that were discarded and the constraints that drove the decision, which are precisely the pieces of information absent from the code. A well-written ADR prevents relitigating settled questions and makes it possible to revisit them deliberately when the context changes.

The Anatomy of an ADR

A typical ADR is one to two pages. Conventions vary, but most formats include a handful of standard sections. The widely used Nygard-style template—named for Michael Nygard, who popularized the practice in a 2011 post on documenting architecture decisions—organizes a record around the following elements:

Title: a short, specific phrase naming the decision, often numbered (for example, "ADR-004: Use PostgreSQL as the primary datastore"). Numbering aids cross-referencing. Status: where the record stands in its lifecycle, such as proposed, accepted, deprecated, superseded, or rejected. Context: the forces at play. This section describes the technical, organizational, and business situation that made a decision necessary, including constraints, competing requirements, and known risks. It does not advocate; it explains the problem space. Decision: the choice itself, stated in a few direct sentences, with enough specificity to be unambiguous. This is the section that says "We will…". Consequences: what follows from the decision, positive and negative. Good records are candid about trade-offs: what becomes easier, what becomes harder, what obligations the team takes on, and what future flexibility is sacrificed. Alternatives considered (often folded into context or the decision section, depending on the template): the other options weighed and the reasons they were not selected.

Some teams add metadata such as the decision owner, the date, participants, or links to related records. The essential property is that the format stays small enough that writing one is a realistic thing to do. An ADR template with twenty heavyweight sections is unlikely to be filled out honestly at the moment a real decision is being made.

What separates an ADR from other documents

The boundaries matter, because the most common confusion around ADRs is treating them as interchangeable with other types of documentation.

A design document describes how a system will be built or how a component works, often at length. It may embed or reference multiple decisions but is primarily an implementation artifact. An ADR records a decision and its rationale, and may be much shorter than the design it accompanies.

A request for comments (RFC) or technical proposal is written before a decision is made, in order to debate and settle it. An ADR can be drafted as a proposal, circulate for comment, and then be accepted once decided, but its enduring purpose is to record the outcome and its reasoning, not to serve as the ongoing discussion forum.

A wiki page or code comment may contain related information, but it generally lacks the ADR's combination of one-decision focus, explicit status, and deliberate interlinking with other decisions. The strength of ADRs comes partly from this discipline: one topic, one record, a clear trail.

There is also a distinction between architectural and merely significant decisions. Teams often widen the definition in practice. A truly architectural decision is one that is hard to reverse, affects multiple components or teams, constrains future choices, or sets a direction people will follow. Choices such as the deployment model, the integration style between services, the top-level data partitioning strategy, a framework selection with long-term consequences, or a security and compliance approach are typical candidates. Small local design choices that can be changed cheaply inside one module usually do not warrant an ADR; they belong in ordinary code review and design discussions. Many teams adopt an explicit test—what would it cost to undo this, and how many other decisions does it constrain?—to decide whether a record is warranted.

The lifecycle: proposed, accepted, superseded

A central, and occasionally misunderstood, principle is that accepted ADRs should not be rewritten to reflect new thinking. The reasoning behind the original decision was valid in its original context; erasing it destroys the very information that makes the log valuable.

Instead, decisions evolve through new records. A team revisits an earlier decision, drafts a new ADR explaining the changed context and the revised approach, marks the new record as accepted, and updates the older record's status to "superseded" with a link to the replacement. The historical chain remains intact, and a reader can follow the evolution of a design over months or years.

This makes an ADR collection something like a decision log or ledger. A rejected proposal is also worth keeping—marking a record as rejected documents that a path was seriously considered and explains the reasons it was not taken, which saves future teams from repeating the evaluation. In this way a repository of ADRs becomes searchable organizational memory.

Where ADRs fit in a development workflow

In practice, ADRs integrate with a few recurring activities:

During architectural discussion: when the team faces a consequential choice, drafting the record is useful even before the decision is settled. Writing the context and alternatives forces a precision that discussion alone often lacks, and circulating the draft speeds review.

During code review and onboarding: an ADR can be referenced from relevant code or a README, so a new developer reads the reasoning behind a non-obvious structure. Onboarding is one of the most cited benefits of maintaining a decision log.

During planned change: when revisiting a settled question, the first step is locating the ADR that covers it. The record tells you what constraints applied then, so you can judge whether they still apply now. This is how an organization avoids either blindly preserving a decision whose rationale has expired or repeating a mistake that was already ruled out.

ADRs are also compatible with agile development rather than opposed to it. They do not require a big upfront design phase; they are written when significant decisions arise, which in agile work happens continuously. The record is small and can be created in a pull request alongside the change that implements the decision.

Common formats and tooling in brief

The Nygard template remains the reference point. Other templates keep the same essentials with stylistic variations: the "MADR" template (Markdown Any Decision Records) includes explicit "Decision Drivers" and "Pros and Cons of the Options" sections, which can help when there are many alternatives; the Y-Statement format condenses a decision into a single structured sentence—in the context of X, facing concern Y, we decided Z to achieve A, accepting B. The choice usually matters less than consistency: pick one template, apply it uniformly across the collection, and make the format easy for the team to fill in.

Storage is simple. Most teams keep ADRs as Markdown files in the same version-controlled repository as the code or the architecture documentation, one file per record with a numerical prefix in the filename. That version control provides free history, review workflow through pull requests, and discoverability. Tools exist for searching and publishing ADR collections, including static-site generators layered over the Markdown files, but no specialized tooling is required for the practice to work.

Objections and common misunderstandings

A recurring misconception is that ADRs must be written by architects or senior engineers. In practice, whichever engineers make the decision should record it, and the review process—usually discussion or a pull request—serves as the quality control. Requiring an official architecture owner to write every record slows the practice and often produces fewer of them.

Another concern is that ADRs become stale. They do age, but the mitigation is discipline, not deletion: when a decision is replaced, supersede it with a new record. An ADR that has never been revisited is not necessarily stale—it may be a decision that still holds.

Some people worry ADRs will be used as blame artifacts ("who decided this?"). The format works against blame when the context section is written honestly and the consequences section names trade-offs rather than pretending a decision was perfect. A decision log that records risks and downsides openly is harder to use as a weapon and more useful as an explanation.

A subtler issue is over-recording. If every minor choice gets a record, the collection becomes noise and the important decisions are harder to find. The governing rule is significance, tied to reversibility and scope. Teams that struggle with this usually find that a brief review of candidates—does this constrain other teams or persist beyond a sprint?—is enough to separate real ADR material from ordinary design chatter.

What a good ADR actually looks like in substance

The quality of an ADR is not measured by length or formality but by whether it lets a reader reconstruct the reasoning. A useful test: if someone who was not in the room reads the record a year later, can they explain why the decision was made, what would have to change for them to reconsider it, and what costs the team accepted? If the answer is yes, the record has done its job, even if it is one page.

That test points to the two sections that do the real work. The context must capture the actual constraints—not just "we needed a database," but the workload, consistency requirements, operational capacity, budget, and any organizational pressures. The consequences must be candid, including the costs. A record that lists only benefits is a sales pitch, not an architecture decision record, and future readers will rightly distrust it.

Where the practice stands

ADRs are an established, stable practice in software engineering, with a widely understood vocabulary and a small number of common templates. The core proposition—record one decision, its context, its alternatives, and its consequences, and treat records as an immutable log—has not changed and does not depend on particular tooling or frameworks. What changes is the specific content of any team's records as its systems and constraints evolve. For anyone asking what an ADR is, the practical answer is straightforward: it is the lightweight, durable artifact that turns architectural reasoning from a private, perishable thing into shared, searchable organizational knowledge. Adopting the practice costs a template and a few paragraphs per significant decision; not adopting it means each generation of engineers rediscovers the same reasoning, or repeats the same mistakes.