How to write acceptance criteria: turn a user story into verifiable conditions
Acceptance criteria are observable, verifiable conditions that show whether a specific user story or feature delivers its intended outcome. Agree on what users should see or be able to do, rather than prescribing implementation; then check the result against those conditions.
How to write acceptance criteria: turn a user story into verifiable conditions
Acceptance criteria are observable, verifiable conditions that show whether a specific user story or feature delivers its intended outcome. Instead of prescribing how to build a filter, for example, agree on what users should see in relevant situations. Acceptance criteria are the conditions to judge; a review or test gathers evidence that those conditions were met, and the check does not have to be automated.
What question do acceptance criteria answer?
A user story describes whose need the work serves and why. Acceptance criteria make the expected result concrete enough for the team to agree on whether that need was met. They usually apply to one story or feature. They serve a different purpose from a quality threshold shared across many items or a team conversation about whether work is ready to start.
| Item | Question it answers | Example |
|---|---|---|
| User story | Whose goal or value are we trying to support? | “As a buyer, I want to filter orders by date so I can find a past purchase.” |
| Acceptance criteria | What would show that this story’s result meets the need? | Selecting a start and end date shows only orders in the specified range, with the date boundaries defined. |
| Definition of Done (DoD) | Does the team’s work meet the shared quality bar for inclusion in a product increment? | Check the team’s agreed review, documentation, and quality requirements. |
| Definition of Ready (DoR) | Has the team understood enough to start this item? | Depending on team agreement, check that the goal, scope, key questions, and people needed for discussion are clear. |
The 2020 Scrum Guide treats the Definition of Done as a formal description of the quality state an Increment must meet; work that does not meet it is not part of that Increment. The guide’s listed Scrum artifacts and commitments do not define acceptance criteria as a separate formal item. So story-specific acceptance criteria are a practice teams use, not a mandatory Scrum artifact prescribed for every team. In practice, avoid copying the same shared quality checks into every story; keep the conditions unique to that story in its acceptance criteria. See Scrum and its artifacts.
Acceptance testing, manual review, exploratory testing, and automated tests can all help check whether criteria were met. Criteria state the conditions for a pass; a test is one way to gather evidence. Completion criteria for meeting action items covers general execution work from meetings. This article focuses on user-visible product or feature outcomes.
What makes a criterion easy to verify?
Good criteria are clear enough that teammates and stakeholders imagine the same result, observable enough that someone can judge pass or fail, and narrow enough that one item does not hide several different outcomes. Describe the required behavior and boundaries without deciding how the product must implement them.
| Vague or implementation-focused wording | A more verifiable direction | Evidence to check |
|---|---|---|
| “Search should be fast.” | Define the data volume and environment, then agree on how long results may take. If there is no basis for a threshold, agree on one with the product stakeholders instead of inventing a number. | The measurement conditions, start time, and display time are recorded. |
| “Handle invalid dates.” | Specify which input is invalid and what the user sees. For example, if the end date precedes the start date, prevent applying the filter and explain why. | The two dates and the error message are visible. |
| “Store results in Redis.” | Unless a particular technology is part of the contract, specify the user-visible result instead. | Check the behavior and any required operational quality, not a particular storage choice. |
| “Users can see orders.” | State whose orders are visible and under what conditions. If accounts differ, include the access boundary and empty state. | Confirm other users’ orders are not shown and what appears when there are no results. |
If you need words such as “reasonable,” “easy,” “normal,” or “without errors,” add an observable screen, message, result, or threshold that makes the meaning testable. If a policy or threshold has not been decided, do not fill it in yourself; record the open question and who will decide it.
How do you write criteria for one story in five steps?
Narrow the user and goal. State whose problem the item solves. If several user goals or distinct features are mixed together, consider splitting the story.
Turn the intended outcome into observable language. Describe what the user will see, do, or receive. Do not add internal data structures or code design unless they are part of an explicit requirement.
Choose the normal path and meaningful boundaries. Consider important cases in proportion to their likelihood and impact: missing input, boundary values, no results, or insufficient access. You do not need to list every possible exception.
Check that each condition can be judged independently. Split sentences that combine distinct results. Include the actor, state, condition, and expected outcome. If you also decide how to test it, keep implementation details from obscuring the user result.
Align understanding before implementation and record changes. Confirm with product, development, and test roles that they interpret the examples the same way. If learning changes scope, update the original item and decision, then tell the team what changed in its planned checks.
Use the following coverage questions to see whether the story is scoped enough.
| Case to consider | Question | When to include it |
|---|---|---|
| Typical success | What can the user observe when the main goal is achieved? | Include outcomes essential to the story’s value. |
| Boundary condition | Could a boundary such as a start or end date change the result? | State boundaries where different interpretations are plausible. |
| Invalid input | What happens if the user submits an invalid combination? | Include a safe message or correction when the product must promise one. |
| No result or failure | What should appear when nothing matches or an external action fails? | Specify enough state for the user to choose what to do next. |
| Access or sensitive data | Who can see the result? | Include access boundaries when they matter to this feature. Keep shared security requirements in the DoD without duplicating them. |
This is not a request to list every edge case. Prioritize cases with likely use or meaningful consequences, and decide whether lower-priority concerns belong in shared quality rules or separate technical requirements.
What do criteria look like for a date-filter story?
The following is a fictional example of filtering an order list by date. It does not describe a real product or user research. It assumes the order date is a calendar date as displayed in the product. If the system stores timestamps, first decide which time zone defines the start and end of the selected dates.
User story: “As a buyer, I want to filter orders by date range so I can find a purchase I am looking for.”
| Situation | Given: starting state | When: action | Then: observable result |
|---|---|---|---|
| Orders inside a date range | A signed-in buyer has orders on the start date, the end date, and outside the selected range. | The buyer applies a filter with both dates selected. | Only that buyer’s orders within the range, including both boundary dates, appear. Other buyers’ orders do not appear. |
| No matching order | The signed-in buyer has no order in the selected range. | The buyer applies that range. | The page shows an empty-result message rather than an error, and offers a way to change or clear the dates. |
| Invalid date order | The start date is later than the end date. | The buyer tries to apply the filter. | The filter is not applied and an explanation of the invalid order is shown. |
| Clear the filter | A date range is active and only some orders are shown. | The buyer selects the clear action. | The date condition is removed and the buyer’s orders return under the list’s normal rules. |
Given, When, and Then stand for the starting context, action, and expected result. Cucumber’s Gherkin documentation presents this as one format for executable examples and recommends making Then outcomes observable to users or external systems rather than internal implementation details. Using the format does not automatically create an automated test. Gherkin is optional; plain-language criteria or a checklist can work too. To execute Gherkin examples with a tool, a team must also implement step definitions and run the checks. See the Cucumber Gherkin Reference.
The choices to include the date boundaries, exclude other buyers’ orders, and show an empty state are requirements for this fictional example, not universal rules for every date filter. For a real feature, agree on only the additional details users need, such as time zone, date format, whether filters persist, or what happens on another page.
What if criteria are unclear or change during implementation?
Do not immediately label a mismatch as an implementation defect. First compare the observed result with what the team actually agreed to, then distinguish a misunderstanding from a new request. Reproduce the result, decide whether the requirement changed, and update the source record.
| Symptom | What to check | Next step |
|---|---|---|
| “It should feel intuitive” is hard to pass or fail | Can you name an observable action, result, or comparison example? | Agree on the smallest verifiable expectation with the product owner. Do not invent a metric without a basis. |
| Teammates interpret the criterion differently | Compare a concrete input and the resulting screen or output to locate the difference. | Bring the relevant people and decision-maker together, rewrite the criterion, and do not treat a guess as an agreed requirement. |
| The criteria pass but shared quality checks do not | Review the story-specific behavior and the Definition of Done separately. | Record which condition was missed and complete the shared quality bar before marking the item done. In Scrum, work that misses the DoD is not part of an Increment. |
| A new requirement or constraint emerges during implementation | Check what changes in scope, existing checks, cost, and user impact. | Record the new decision on the original item and realign priority and timing. Do not silently change a criterion to retroactively judge previous results. |
| Automation is difficult or expensive | Is the result still objectively verifiable, perhaps through manual review or other evidence? | State the check method, owner, and evidence needed. If the criterion itself is vague, clarify it first. |
Good acceptance criteria do not try to decide every technical detail in advance. They help a team understand the user’s expected outcome in the same way and check it against evidence. Write them with the story, consider how each will be verified, and make changes transparently through team agreement and an updated record.
References
Ken Schwaber and Jeff Sutherland, [The Scrum Guide, November 2020](https://scrumguides.org/docs/scrumguide/v2020/2020-Scrum-Guide-US.pdf) — Scrum artifacts, commitments, and the Definition of Done.
Cucumber, [Gherkin Reference](https://cucumber.io/docs/gherkin/reference/) — the Given/When/Then structure and observable outcomes in example scenarios.
Atlassian, [What is Acceptance Criteria?](https://www.atlassian.com/work-management/project-management/acceptance-criteria/) — story-level conditions, clarity, testability, and comparison with the Definition of Done.
Atlassian, [User Stories With Examples and a Template](https://www.atlassian.com/agile/project-management/user-stories/) — the purpose of user stories and how acceptance criteria confirm outcomes.