Definition of Done: Example, Template and How It Differs
The Definition of Done sets the quality bar that every piece of a team's work has to meet before anyone calls it done. This guide covers what the Scrum Guide requires, gives you an example to adapt and walks you through creating your team's own version.
The Definition of Done sets the shared standard for finished work
The Definition of Done (DoD) is a checklist of quality requirements that every piece of a team's work has to meet before it counts as done. It applies equally to all of the team's user stories, tasks and bug fixes, with items such as "code has been reviewed" or "all automated tests pass." Its purpose is a shared understanding of "done," so that half-finished work never gets reported as complete.
Without a Definition of Done, "done" means something different to everyone. A developer may consider a story done once the code runs. A tester expects the edge cases to be checked, and the product owner assumes customers can already use the feature. The DoD puts these expectations in writing and makes them binding.
What the 2020 Scrum Guide says
In the 2020 Scrum Guide by Ken Schwaber and Jeff Sutherland, the Definition of Done is the commitment attached to the Increment, the usable result a team produces in a sprint. The guide calls it "a formal description of the state of the Increment when it meets the quality measures required for the product." The moment a Product Backlog item meets the Definition of Done, an Increment is born.
The guide sets five rules you can apply directly:
- Work that doesn't meet the DoD can't be released or even presented at the Sprint Review. It goes back to the Product Backlog.
- If the organization has a Definition of Done as a standard, every Scrum Team must follow it as a minimum. Otherwise each Scrum Team creates a DoD that fits its product.
- The Developers, meaning everyone who builds the Increment, are required to conform to it.
- Several Scrum Teams working on one product must define and follow the same DoD.
- In the Sprint Retrospective, the team inspects its Definition of Done along with its processes and tools.
The term "Definition of Ready" doesn't appear in the Scrum Guide. The guide only says that Product Backlog items the team can get done within one sprint are "deemed ready for selection" in Sprint Planning.
Acceptance criteria vs. Definition of Done vs. Definition of Ready
Each of the three answers a different question. Acceptance criteria say what one story has to do. The Definition of Done says what quality every piece of work must reach. A Definition of Ready says when a story can go into planning.
| Acceptance criteria | Definition of Done | Definition of Ready | |
|---|---|---|---|
| Applies to | one story | all of the team's work | stories before planning |
| Describes | expected behavior | quality and completeness | clarity before starting |
| Set by | product owner with team | whole Scrum Team | team, optional |
| In the Scrum Guide | no | yes, as a commitment | no |
A story is done only when it meets its own acceptance criteria and the Definition of Done. Take a story about changing the delivery address in an online store. One acceptance criterion might read "An order that has shipped can't have its address changed." The DoD adds that the code has been reviewed, tested and deployed to staging. The same applies to tasks and bug fixes, which don't come with Given/When/Then criteria.
Mike Cohn advises most teams against a Definition of Ready (Mountain Goat Software, last updated 2023). If it demands that everything be settled before work starts, he argues, it turns into a stage-gate process much like waterfall. Teams that use one should keep it to a few flexible guidelines, such as "the story fits into one sprint."
How to create your team's Definition of Done
The whole team writes the first version together in one working session and keeps refining it from there. These steps help with the first version:
- Collect existing standards. Find out whether your organization already has requirements for security, privacy or accessibility. Those form your baseline.
- Map the path to the customer. List every step between "code written" and "customers can use it," such as review, testing, documentation and deployment.
- Decide what fits in a sprint. Every DoD item has to be achievable within the sprint. If the team can't yet do something, such as automated deployment to production, note it as a goal for later.
- Make every item checkable. Each item should be a statement you can answer with yes or no. "High quality" fails that test. "All automated tests pass" passes.
- Keep it short. Five to ten items can be checked on every story in practice. With a much longer list, nobody checks all of it by the end of the sprint.
- Make it visible. Put it on the board, in the wiki or as a template in every ticket, so it is at hand in planning and before closing a story.
The Developers also use the DoD in Sprint Planning. The Scrum Guide lists it among the things that help them forecast how much work fits into the sprint. A stricter DoD means more effort per story, and your estimates should reflect that.
A good Definition of Done example
A team builds the online store for a retailer. It works in two-week sprints and deploys to a staging environment. Here is its Definition of Done:
Definition of Done, Online Store Team (updated in the Sprint 14 retrospective)
- A second person has reviewed the code, and it is merged into the main branch.
- New business logic has automated tests, and every test in the pipeline passes.
- A second person has verified each acceptance criterion on staging.
- The feature works in current versions of Chrome, Firefox and Safari and on a smartphone.
- Every control can be reached by keyboard, and text meets WCAG 2.1 AA contrast.
- No open bugs with high or critical severity relate to this work.
- Interface text is available in English and Spanish.
- The customer help page is updated whenever visible behavior changes.
- The change is deployed to staging, where the product owner can try it.
You can answer every item with yes or no. The list covers code, tests, business behavior, accessibility, text and deployment, and it fits a store that sells in two languages. The note in the title shows that the team maintains the list in its retrospectives.
A weak example and what it lacks
Definition of Done
- Code complete
- Tested
- Good quality
- Product owner is happy
"Code complete" restates the question of when something is done. "Tested" leaves open who tests, where, and whether automated tests are part of it. Nobody can answer "good quality" with yes or no. "Product owner is happy" mixes up accepting one story with the quality standard for all work. Whether a story meets its goal belongs in its acceptance criteria. Deployment, documentation and the handling of open bugs are missing entirely.
How a Definition of Done evolves
A Definition of Done gets stricter over time as the team improves and automates more. The Scrum Guide makes the Sprint Retrospective the regular place to revisit it. Three situations call for a change:
- Bugs after release: when customers keep reporting the same kind of bug, the DoD usually lacks an item, such as testing on mobile devices.
- Recurring rework: when stories still need documentation or translation after the sprint, those steps belong in the DoD.
- New capabilities: once the team can deploy to production automatically, "deployed to production" replaces "deployed to staging."
Loosen the DoD only on purpose and as a team, for instance when an item no longer adds value. Skipping items under deadline pressure pushes work into later sprints. That deferred work is technical debt, and it grows more expensive each sprint because new code is built on top of unfinished code.
Common mistakes
- Vague items: "tested" or "documented" can't be checked unambiguously.
- Confusion with acceptance criteria: the DoD lists business requirements of a single story.
- Nobody checks it: the DoD lives in the wiki but isn't reviewed before a story is closed.
- Skipping under pressure: the team drops items when time runs short and still calls the story done.
- Items outside the team's control: for example, sign-off from another department that takes weeks.
- Different DoDs on one product: several teams build the same product to different standards, so their work doesn't fit together.
- Written once, never revisited: nobody has looked at it in months.
Checklist
Your Definition of Done is in good shape when all of these hold:
- The whole team created or adopted it together.
- Organizational standards are included as the baseline.
- Every item can be answered with yes or no.
- It has five to ten items.
- Every item can be completed within a sprint.
- It covers code, tests, verification of acceptance criteria and deployment.
- It is visible to everyone and checked before each story is closed.
- The team reviewed it in one of its recent retrospectives.
Write tickets with AI
The free tool on this site helps you write tickets. You describe what you need in your own words, and the AI asks follow-up questions when information is missing. For a user story it writes numbered acceptance criteria (AC 1, AC 2 and so on), and for a task it writes checkable "Done when" items. It then reviews the ticket, checking stories against the INVEST criteria, for example. Your team's Definition of Done still applies to every one of these tickets. Create a ticket with AI
Frequently asked questions
What is the Definition of Done in Scrum?
According to the 2020 Scrum Guide, the Definition of Done is a formal description of the state the Increment must reach to meet the quality measures required for the product. A Product Backlog item counts as done only once it meets the DoD. Only then can it be released or shown at the Sprint Review.
What is the difference between Definition of Done and acceptance criteria?
Acceptance criteria apply to a single story and describe its expected behavior. The Definition of Done applies to all of the team's work and describes the quality bar, such as review, testing and deployment. A story is done when it meets both.
Who creates the Definition of Done?
The Scrum Team creates it together when the organization has no standard. If there is a standard, the team adopts it as a minimum and may add stricter items. The Developers are required to follow it.
What happens if a story doesn't meet the Definition of Done?
It isn't done. Under the Scrum Guide it can't be released or presented at the Sprint Review and goes back to the Product Backlog. The team plans the remaining work into a later sprint.
Is the Definition of Ready part of Scrum?
No. The 2020 Scrum Guide only says that Product Backlog items are ready for selection when the team can get them done within one sprint. A Definition of Ready is an optional practice some teams add.
How many items should a Definition of Done have?
The Scrum Guide doesn't set a number. In practice, five to ten items are manageable to check on every story. What matters more is that each item has a clear yes or no answer.
Sources
- Ken Schwaber and Jeff Sutherland: The Scrum Guide (2020)
- Mike Cohn: The Dangers of a Definition of Ready (Mountain Goat Software)
Last updated: