ADR vs RFC vs Design Doc: Which to Write and When

Learn when to write an ADR, an RFC, or a design doc, and see one database change written all three ways so you can pick the right one.

TL;DR

  • An RFC (request for comments) asks for feedback before a decision is made, an ADR (architecture decision record) records the decision after it's made, and a design doc explains how you'll build it.
  • Write an RFC when a change affects people beyond your team, a design doc when the plan needs a second pair of eyes before you build, and an ADR when a decision would be costly to undo and someone will ask about it later.
  • A big change can need all three: an RFC to start the discussion, a design doc for the plan, and an ADR for each decision that comes out of it.
  • An accepted ADR is normally treated as fixed. But if the decision changes, you have to write a new ADR that replaces the old one.
  • Small changes that are easy to undo usually need none of these documents.

An RFC, an ADR, and a design doc all deal with a technical decision, but each answers a different question at a different point. An RFC comes before the decision, a design doc comes before the build, and an ADR comes after the decision is made. They are meant to work together: the RFC starts the discussion, the design doc plans the work, and the ADRs record the specific commitments made along the way. They also overlap. A design doc often covers the options the team considered, just as an RFC does.

That overlap is why a definition and a comparison table only get you part of the way. So this post takes one change, moving an online store's orders service onto its own database, and writes it up three times: as an RFC, as a design doc, and as an ADR. We'll compare them side by side, so you can see what each one covers and what it leaves out. That's the quickest way to tell which one your change needs.

By the end you'll know:

  • which document to write first for a given change
  • what goes in each one, shown on the same example
  • how the three link together without repeating each other
  • when to skip all three

ADR, RFC, and Design Doc Compared

Document

ADR

RFC

Design Doc

Question it answers

Why did we choose this?

Should we do this?

How will we build it?

When you write it

After the decision is made

Before the decision, to start the discussion

Before coding starts

Covers

One decision

One proposed change

One feature or system

After approval

Normally not edited. A new ADR replaces it.

Editable until it's accepted or rejected

Editable while the project is underway

The sections below go into detail about what each one looks like.

What Is an ADR, an RFC, and a Design Doc?

  • ADR: records one decision, which means one choice and the reason for it. For example, "The orders service gets its own database." A second choice would get its own ADR.
  • RFC: proposes a change and asks for feedback. For example, "Should the orders service get its own database?"
  • Design doc: explains how you'll build something. For example, the steps for moving the order data into the new database.

More in-depth explanation below.

ADR (Architecture Decision Record)

An ADR, short for architecture decision record, is a short document about one decision. Michael Nygard described the format in a 2011 post. His version has five parts: Title, Context, Decision, Status, and Consequences (what follows from the decision). He says the whole document should be one or two pages long.

Some teams write "architecture" and others write "architectural." The UK government's framework uses "architectural." But both mean the same thing.

Note that not every decision needs an ADR. So, record the ones that are costly to reverse and that shape the system's core concepts and how its data is organized. The UK framework defines an architecture decision as a choice that affects a system's structure, how well it works, or how it behaves.

RFC (Request for Comments)

An RFC, short for request for comments, is a proposal you share so people can discuss it before anything is decided. Use one when a change will affect many people.

The same three letters also name a long-running series of internet documents published by the RFC Editor. This post is about the internal kind that teams write.

Design Doc

A design doc is a plan for how you'll build something. It's a fairly informal document written before coding starts. It writes out the main design choices and the options the team considered, and a wider group reviews it.

For a full template and a worked example, see our guide on how to write a software design document.

Where RFCs and Design Docs Overlap

An RFC and a design doc can look a lot alike. A design doc gets circulated for review and covers the options the team considered. An RFC does the same through its "Options considered" section, where the author lists each option so reviewers can react to them. Some teams even let a short RFC use the ADR format.

This post keeps them apart so the example is easy to follow. An RFC asks "should we do this?" and a design doc answers "how do we do it?"

One Example: A Database Change Written as an RFC, a Design Doc, and an ADR

To help you understand better, we made up an online store and a change it needs to make. Every detail in the examples is invented, but the situation will probably look familiar.

The Change

  • Today: The store keeps its orders, catalog, billing, and reporting data in one shared database.
  • Reporting: The reporting team reads the orders tables directly.
  • The plan: Give the orders service its own database, and give reporting a copy to read from.
  • Why a quick fix won't do: Other teams depend on those tables, the data has to be moved, and once it has been moved it's hard to move back.

As an RFC: Should Orders Leave the Shared Database?

An RFC asks the question before anyone has the answer. So it focuses on the problem, the options, and who is affected.

RFC: Give the Orders Service Its Own Database
Author: Priya (Orders team)
Final decision: Marcus (Head of Platform)
Review closes: Friday (example date)

Summary
Move order data out of the shared database and into a database owned
by the orders service. Give reporting a copy it can read from.

Why now
Every change to the order tables needs sign-off from each team that
shares the database, and heavy reporting queries slow down checkout.

Proposal
Create a separate database for orders. Reporting reads from a copy
that updates on a schedule.

Options considered
1. Stay on the shared database and speed up the slow queries.
2. Split orders into its own database (proposed).

Who this affects
Reporting: queries change.
Billing: reads order totals.
Catalog: no change.

Open questions
- How will reporting read the data, and how fresh does it need to be?
- Does billing need the same move?

What this one doesn't cover: the steps for moving the data, the plan for undoing each step, and the final choice. None of those exist yet, and that's the point of an RFC.

As a Design Doc: How the Move Works

Once the RFC gets a yes, the design doc answers "how." And it has enough detail that someone else can check the plan.

Design Doc: Moving Orders to Its Own Database
Owners: Orders team
Background: RFC: Give the Orders Service Its Own Database

Goals
- Orders owns its data and the layout of its tables.
- Reporting keeps working throughout.

Non-goals
- Changing what an order looks like.
- Moving billing or catalog data.
C
urrent state
Order tables are stored in the shared database. Reporting queries them directly.

Steps to move the data
1. Copy existing orders to the new database.
2. Write new orders to both databases for a period and compare results.
3. Switch reads to the new database.
4. Stop writing to the old order tables.

Rollback (how to undo each step)

After step 2: stop writing to the new database. The shared database
is still current.

After step 3: switch reads back to the shared database. Both copies
are current.

After step 4: restore writes to the old tables from the new database.
This is slower and needs a pause in order writes.

Trigger at every step: order counts or totals differ between the two
databases.

Testing
Compare order counts and totals between both databases before each switch.

What this one doesn't cover: the debate over whether to move at all. It just names the decision and points back to the RFC.

As an ADR: Give the Orders Service Its Own Database

An ADR is what's left once the debate ends: the decision, the reason, and what follows from it. This one uses Nygard's five parts, plus a Links section. The UK framework asks for links to supporting documents too.

ADR-0007: Give the Orders Service Its Own Database
Status: Accepted

Context
Orders shared a database with catalog, billing, and reporting. Every
change to the order tables needed sign-off from the other teams, and
reporting queries competed with checkout.

Decision
Orders gets its own database. Reporting reads from a copy.

Consequences
Easier: the orders team can change its tables without waiting on
other teams.
Harder: reporting now depends on a copy that can lag behind current
orders, and the team has one more database to look after.

Links
RFC: Give the Orders Service Its Own Database
Design Doc: Moving Orders to Its Own Database

What this one doesn't cover: the steps for moving the data, the schedule, and the review discussion. It also links to the RFC and the design doc instead of copying them.

What Each Document Answers and What It Doesn't

This table lists questions someone might ask later and shows which of the three examples above answers each one.

Question

RFC

Design Doc

ADR

Why move at all?

Yes, under "Why now"

Only as goals

Yes, under Context

Who is affected?

Yes

No

No

Which options were considered?

Yes

No

No

How does the move work, step by step?

No

Yes

No

What's the plan for undoing each step?

No

Yes

No

What gets harder because of the choice?

No

No

Yes, under Consequences

Can the document change after approval?

Yes, until accepted or rejected

Yes, while the project is underway

Normally no. A new ADR replaces it

Each document covers different questions, so start with the one that fits the question you're stuck on. For the orders change, the team first had to decide whether to do it at all, so the RFC came first.

Which One Should You Write?

Ask these questions about your change, in this order.

A Four-Question Test

  1. Is the change small and easy to undo? If yes, skip all three. A ticket or a short note on the code change is enough.
  2. Does the change affect many people or teams? If yes, write an RFC. Changes that are strategic, affect several teams at once, or are hard to undo are good candidates.
  3. Is the problem or the solution unclear enough that others should check your plan first? If yes, write a design doc. But if both are clear, you can skip it.
  4. Is the decision costly to reverse, and will someone ask why you made it? If yes, write an ADR. Without written reasons, newcomers can't tell why things were built a certain way.

A change can say yes to several of the other questions. That's normal.

When One Change Needs All Three

The three documents work together. By the way, the outcome of an RFC can be recorded as an ADR.

The orders change would end up with all three:

  • The RFC agrees to split the database.
  • The design doc plans the move.
  • The ADR records the split.

If the design doc also settled how reporting reads its copy, that would be a second decision, and each ADR records a single decision.

When to Write None of Them

Not every choice needs a record. A common mistake is writing an ADR for every minor choice, which buries the important ones and makes teams give up on ADRs. Skip an ADR for small choices, such as:

  • Code style choices, like how code is formatted.
  • Library version updates (updating a code package your project uses), unless the upgrade changes how the system is built.
  • Tools that only you use.
  • Changes you can try cheaply and switch back if they don't work.

Most changes don't need an RFC either. A normal code review is enough.

  • Link instead of copying: Keep the ADR short. Point it to the RFC and the design doc instead of pasting their contents in.
  • Replace instead of editing: When a later ADR reverses a decision, keep the old one and mark it superseded, which means replaced. Because ADRs normally aren't edited, they stay accurate after the design doc goes out of date.
  • Keep a summary list: A decision log is a table, often a Markdown file (a simple text file), that gives a short summary of each ADR with details like status, so people can scan it in one place.

The UK government's framework takes a different approach to changing a decision. It tells teams to review and update ADRs when the context or the effects of the decision change, so check which approach your team follows.

ADRs and RFCs also have a status. An ADR is "proposed" while people haven't agreed and "accepted" once they do. An old record that a newer one replaces is marked "superseded," and some teams add "rejected." For RFCs, one public example uses Draft, Proposed, Last Call, then Accepted or Rejected, with Abandoned as an exit along the way. Use whatever words your team will keep up to date.

Give Every RFC an Owner and an End Date

An RFC with no named decision maker and no deadline turns into a long email thread. A common cause of delays in RFCs is that no particular person is responsible for deciding. Someone has to make the final call.

A deadline also helps. It tells reviewers when their input stops mattering, so they send better feedback sooner. It lets the decision maker go ahead without everyone agreeing, since full agreement rarely happens. Choosing the wrong reviewers is another common reason RFCs get stuck, so ask specific people instead of everyone.

The example RFC above shows the setup: a named person makes the final decision, and the review closes on a set date. Add those two lines to your own RFC template.

Where to Keep Your ADRs, RFCs, and Design Docs

Next to the Code or in a Wiki?

Many teams keep ADRs in a folder next to the code, such as doc/adr, and review new ones the same way they review code changes. That works well for developers. But if some of your readers don't work in the code, they need a place they can open in a browser. And if your ADRs are already stored with the code and that works for you, keep them there and link to them from your wiki.

Keeping All Three in One Docmost Space

In Docmost, a space groups documents, permissions, and collaborators by project, team, or purpose, and pages can nest inside each other in the sidebar.

That gives you a simple way to hold all three document types in one place:

Engineering Decisions (space)
├── RFCs
├── Design Docs
└── ADRs

Each part of the setup does a different job:

  • Pages: Each document gets its own page under the matching heading. The RFC, design doc, and ADR from the example would be on three different pages that link to each other. Our guide to linking wiki pages together covers how to keep those links tidy.
  • Templates: Page templates are available in the paid edition. Save an RFC, a design doc, and an ADR template once, and start every new document with the right layout. If you're not on the paid edition, keep three simple pages in the space, one per template, and copy them when you start something new.
  • Inline comments: Reviewers can respond to a selected piece of text on any Docmost page.
  • Page history: You can view and restore earlier versions, so you can look back at how an RFC changed during review.

For setup details, see the Docmost docs. If you're still choosing a tool for engineering documentation, see our list of the best documentation tools for engineering teams.

Frequently Asked Questions

  1. Is an RFC the Same as a Design Doc?

Not always. An RFC is a proposal for team review, and a design doc is the plan for the work. The two are often used together, and they can look alike because both get circulated for feedback. Decide how your team uses each term and write it down.

  1. Can You Use an ADR and an RFC for the Same Decision?

Yes. The RFC gathers input before the decision, and the ADR records the outcome. Some teams treat the ADR as the formal outcome of the RFC.

  1. Is There an ADR Standard?

There's no single official template, but several exist. Nygard's original post has five parts: Title, Context, Decision, Status, and Consequences. MADR (Markdown Architectural Decision Records) is a ready-made template written in Markdown, a simple text format. The UK government's framework requires a title, date, status, context, decision, consequences, the people consulted, and links to supporting documents.

  1. What Is an ADR Log?

It's the running list of a team's ADRs, usually with a short summary of each one so people can scan everything in one place.

  1. Do Agile Teams Need ADRs?

They help. Agile teams often make decisions as they go, and the reasoning tends to stay in the head of the developer who made them, so the "why" rarely gets written down. One team that used ADRs reviewed them the way they review code. They talked decisions through at a whiteboard first and wrote the ADR once a decision was made. Writing one at that point was quick, though early ADRs took more effort while the team learned to keep them focused.

  1. Can AI Write ADRs?

AI can help with a first pass. It's good at research and formatting, and it can write up an ADR and compare options. A person still decides what matters most, makes the final call, and is still responsible for the decision. Read and correct any AI draft before you record it.

Write the Right Document at the Right Time and Keep All Three in One Place

Picking between an ADR, an RFC, and a design doc gets easier once the three are kept in one place. In Docmost, you can keep all of them in one space, with the RFC, the design doc, and the ADR for a change linked to each other.

Inline comments let reviewers respond right on the text, and page history lets you look back at how a page changed. Templates are available in the paid edition, so every new document starts with the right layout.

Get a free trial license and set up your engineering decisions space today. Or read our Docmost docs first to see how spaces and pages work.