What is the definition of done (DoD)?

The definition of done (DoD) is a team's shared, written list of quality conditions that every piece of work must meet before it counts as finished. In Scrum, work that doesn't meet it can't be released or shown at the Sprint Review.

Also called DoD, definition of done in agile, definition of done in ScrumUpdated

"Done" means different things to different people. A developer may mean "the code works on my machine". A tester may mean "it passed QA". A product owner may mean "customers can use it". The definition of done (DoD) removes the guesswork. It is one written list of conditions, agreed by the whole team, that applies to every backlog item.

What the Scrum Guide says

The 2020 Scrum Guide makes the definition of done the commitment attached to the Increment. It describes the DoD as a formal description of the state of the Increment when it meets the quality measures the product needs. The key rules:

  • 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 organisation has a standard DoD, every Scrum team must follow it as a minimum.
  • Several teams working on one product must share the same DoD.
  • The Developers must conform to it, and the team reviews it in the Sprint Retrospective.

Example: a definition of done for a web product

A team building a B2B web app might agree this list:

A backlog item is done when:
[ ] Code is merged to main through a reviewed pull request
[ ] Unit and integration tests are written and pass in CI
[ ] Test coverage on changed code is not lower than before
[ ] No new high or critical findings from the security scanner
[ ] Deployed to staging and checked by someone other than the author
[ ] Meets WCAG 2.2 AA on any new or changed screen
[ ] Logs, metrics and alerts added for new endpoints
[ ] API docs and the changelog updated
[ ] Product owner has accepted it against its acceptance criteria

Every item on it is binary and checkable. In Jira, teams often enforce parts of it with workflow conditions, such as blocking the "Done" status until a linked pull request is merged, and add the rest as a checklist on the ticket template.

Definition of done vs acceptance criteria

Definition of done Acceptance criteria
Applies to Every item One user story
Describes Quality and completeness Behaviour the story must have
Example "Tests pass in CI" "A user can reset a password by email"

A story is finished only when it meets both.

Definition of done vs definition of ready

The definition of ready is a checklist for the other end of the process: what a backlog item needs before the team takes it into a sprint, such as a clear description, acceptance criteria and a size estimate. Many teams use one, but unlike the DoD it is not part of the Scrum Guide. Applied too strictly, it turns into a gate that delays work.

Common mistakes

  • Vague items like "code is good quality" that nobody can check.
  • A DoD so long the team quietly skips parts, which hides technical debt.
  • Leaving testing or deployment out, so "done" items pile up in an untested queue.
  • A different DoD for the outsourced team than for the in-house team on the same product.

When you work with an outside team, write the DoD into the working agreement next to delivery measures. See KPIs and SLAs for outsourced development.

Any idea in mind? Let's make it real.

Tell us what you're building. You'll hear back from an engineer, not a sales team, usually within one working day.

Book a 30-min call