Architecture Decision Records: A Template and Guide for Founders
The code shows what was built. An architecture decision record keeps why: the choice, what it was weighed against and what it will cost later, written down while the people who made it are still in the room.
An architecture decision record, or ADR, is a short document that captures one significant technical decision: the situation the team was in, what it decided, and what that decision will cost or make possible later. Each record is numbered, dated and kept alongside the code. Together they form a decision log that anyone joining the product can read to learn why it is built the way it is.
The format comes from Michael Nygard's 2011 post Documenting Architecture Decisions, which proposed a handful of sections, a page or two each, written "as if it is a conversation with a future developer." The community site adr.github.io collects the templates and tools that have grown up around it since.
For a founder, ADRs matter for a reason that has little to do with architecture. The reasoning behind a product usually lives in the heads of whoever built it: a freelancer, an agency, a first engineer, or an AI tool nobody questioned. When those people move on, the code stays and the reasons go. A decision log is the cheapest way to keep them.
Why a founder should care about a document engineers write
Nygard describes what happens when a new person meets a past decision they don't understand: they can either blindly accept it or blindly change it. Both are expensive. Accept too many decisions without understanding them and the team becomes afraid to change anything. Reverse one without knowing why it was made and you can break something that was there for a reason.
At an early-stage company that choice comes up at predictable moments:
- A handoff. A contractor or agency finishes and someone else takes over. The files transfer; the reasoning usually does not.
- A departure. The one engineer who knows the system leaves, which is the bus factor turning from a risk into an event.
- Due diligence. An investor's technical reviewer asks why the stack, the hosting or the data model look the way they do. See technical due diligence for seed and Series A.
- A rewrite-or-refactor call. Whether to keep a first-generation codebase depends on which of its choices were deliberate and which were accidents. See who owns that decision.
In each of these, a folder of short records answers questions that would otherwise take weeks of archaeology, or never get answered at all. It also tells you which corners were cut on purpose: an ADR is where a prudent, deliberate shortcut gets written down with its repayment trigger, instead of drifting into reckless debt when everyone who remembered it has left.
The ADR template
Nygard's original format has five parts. Most templates in use today are variations on it.
- Title. A short noun phrase with a number: "ADR 7: Use a managed Postgres database."
- Status. Proposed, accepted, deprecated, or superseded (with a link to the record that replaced it).
- Context. The forces at play: the problem, the constraints, the deadline, what the team knew at the time. Written as plain facts, without arguing for the outcome.
- Decision. What the team will do, in full sentences, in the active voice: "We will…"
- Consequences. What becomes easier and what becomes harder as a result. All of them, not just the good ones.
Many teams add two sections that make the records more useful to someone who wasn't there: the options considered and why each was rejected, and who decided and when. Both are included below. Copy it into a new file for each decision.
# ADR 0001: <Short title of the decision>
- Status: Proposed | Accepted | Deprecated | Superseded by ADR 00XX
- Date: YYYY-MM-DD
- Decided by: <names or roles>
## Context
What problem are we solving, and why now? What constraints apply
(deadline, budget, team skills, customer commitments, existing systems)?
What did we know at the time, and what didn't we know?
## Options considered
1. <Option A>: what it is, its main advantage, its main drawback.
2. <Option B>: ...
3. Do nothing / keep what we have: ...
## Decision
We will <the decision, in one or two plain sentences>.
## Consequences
- What gets easier.
- What gets harder, slower or more expensive.
- What we are committing to maintain.
- When to revisit this (a customer count, a contract, a date, a cost).
If you want a more structured format, MADR (Markdown Architectural Decision Records) is a widely used template that adds fields such as decision drivers and the pros and cons of each option. Use whichever your team will actually fill in; a short record that exists beats a thorough one that doesn't.
A worked example
The record below shows the level of detail to aim for. It is an illustration of the format, not a recommendation for your product.
# ADR 0004: Use a hosted authentication provider instead of building our own log-in
- Status: Accepted
- Date: 2026-03-02
- Decided by: CTO (contract), CEO
## Context
We need sign-up, log-in, password reset and two-factor authentication
before the first paying customers arrive in six weeks. Nobody on the
current team has built authentication before. Two prospective enterprise
customers have asked about single sign-on in sales calls.
## Options considered
1. Build it ourselves on the web framework's defaults: no monthly fee,
but the most effort and the most room for security mistakes.
2. Hosted authentication provider: fastest to ship and handles two-factor
and single sign-on, but adds a monthly cost that grows with users and
a dependency on one vendor.
3. Open-source identity server we host ourselves: no per-user fee, but
we would have to run, patch and monitor it.
## Decision
We will use a hosted authentication provider for all log-in flows.
## Consequences
- We can ship authentication in days rather than weeks, and offer
single sign-on when an enterprise customer needs it.
- Cost rises with active users; check the provider's current pricing
page before each annual budget.
- Moving away later means migrating every user account. We accept this
lock-in for now.
- Revisit if the authentication bill becomes a material share of
hosting costs, or if a customer requires us to self-host.
Notice what it does not say. It does not name a vendor as the best one, quote prices, or claim the choice was obviously right. It records what the team knew, what it gave up, and when to look again. That last line is what turns a lock-in decision into one someone will remember to revisit; see vendor lock-in risk in early-stage SaaS stacks.
Which decisions deserve an ADR
Nygard's test was decisions that affect "the structure, non-functional characteristics, dependencies, interfaces, or construction techniques" of the product. In practice, write one when a decision is expensive to reverse or will surprise the next person. For an early-stage product that usually means:
- The language, framework, database or hosting platform.
- Building something versus buying a service or wiring together no-code tools.
- A third-party service the product cannot run without: payments, authentication, email, an AI model.
- How data is structured, especially when it assumes one kind of customer.
- How the product is split up: one application or several, which parts talk to which.
- Security and data-handling choices: where personal data lives, who can reach production.
- A shortcut taken on purpose to hit a date, with the trigger for coming back to it.
- A decision not to do something yet: no staging environment, no automated tests on a throwaway feature, no second region.
What doesn't need one: choices that are easy to undo, routine library upgrades, styling, and anything already covered by the team's coding conventions.
Where to keep them
The common practice, and Nygard's original suggestion, is a folder in the code repository, with one numbered Markdown file per decision: docs/adr/0001-short-title.md, docs/adr/0002-..., and so on. Keeping them next to the code means they are versioned with it, reviewed in the same pull requests, and transferred automatically when the repository changes hands. Command-line helpers such as adr-tools create and number the files for you, though a copied template works just as well.
Two things matter more than the location:
- The company owns it. If the records live in a contractor's wiki or an agency's project tool, they leave with the contract. Ownership of the repository and its documentation belongs on the same list as ownership of the cloud accounts and the domain; see the production readiness checklist.
- Non-engineers can read it. Code hosts render Markdown as readable pages, so a founder with read access to the repository can follow the log without touching code. Share the link.
The rules that keep a decision log useful
- One decision per record. A record that covers three decisions can't be superseded cleanly when one of them changes.
- Never rewrite an accepted record. When a decision changes, write a new ADR and mark the old one "Superseded by ADR 00XX." The history of what you used to believe is part of the value.
- Write it when the decision is made. A record reconstructed months later records what someone remembers, not what was known. Writing it at the time is what makes it trustworthy.
- Keep it short. Nygard suggested one or two pages. If it takes longer to write than the decision took to make, it won't get written.
- Put it through review. Adding the ADR in the same pull request as the change it describes gives a second person the chance to ask "what else did we consider?"
- Record the consequences honestly. A record that lists only benefits is a sales document, and the next team will learn to ignore it.
How a non-technical founder can introduce ADRs
You don't have to write them. You do have to make sure they exist.
- Ask for the first five. Have your engineer or partner write records for the five decisions that would be hardest to reverse today: usually the stack, hosting, database, authentication and the most important third-party service. Back-filled records are less reliable than ones written at the time, so mark them as reconstructed, but five is enough to start.
- Make it part of how work is accepted. A significant change without its record is not done. Put that in the definition of done, or in the statement of work if an outside team builds the product.
- Read them. Pick one a month and ask the engineer to walk you through it. If you can't follow the context section, it isn't written for the next person either.
- Use them in reviews. When you rank technical debt findings or decide whether to rewrite or refactor, start from the decisions that produced the code.
- Ask partners for them before you hire. When you evaluate an engineering studio or contractor, ask to see a redacted decision log from a past engagement, and whether they write records as they go or reconstruct the story at handoff. The documentation debt piece explains why that difference matters.
Common mistakes
- Treating ADRs as approval paperwork. They record decisions; they don't make them. A team that has to write a document before it is allowed to decide anything will stop deciding, or stop writing.
- Writing them all at handoff. A polished batch of records produced in the last week of a contract tells you what the builder chose to remember. Ask for them throughout.
- Recording only what was chosen. The options rejected, and why, are what stop the next team from re-running the same debate.
- Letting them go stale. A record marked "accepted" for a system that was replaced last year is worse than none. Superseding is a one-line change; make it part of the change that replaces the system.
- Documenting everything. Before product-market fit, many decisions will be reversed within weeks. Write records for the expensive, surprising ones and let the rest go.
Frequently asked questions
What is an architecture decision record (ADR)?
A short document that captures one significant technical decision: its context, the decision itself, and its consequences, with a number, a date and a status. A project's ADRs together form a decision log that explains why the system is built the way it is.
Who came up with architecture decision records?
Michael Nygard popularised the format in a 2011 post titled "Documenting Architecture Decisions" on the Cognitect blog. It proposed short, numbered records with a title, context, decision, status and consequences, kept in the project repository.
What should an ADR template include?
At minimum a title, status, context, decision and consequences. Many teams also record the options considered, who made the decision and when, and the trigger for revisiting it.
Where should ADRs be stored?
Most teams keep them as numbered Markdown files in a folder in the code repository, such as docs/adr. That keeps them versioned with the code and makes sure they transfer with it. What matters most is that the company, not a contractor, owns wherever they live.
Can you change an ADR after it is accepted?
Not its substance. When a decision changes, write a new record and mark the old one as superseded, with a link to the new one. Fixing typos or adding a link is fine.
Does an early-stage startup need ADRs?
It needs them for the few decisions that are expensive to reverse or would surprise the next person: the stack, hosting, data model, key third-party services and deliberate shortcuts. Those are the decisions most likely to be lost when a contractor or first engineer leaves.



