Acceptance Criteria Examples You Can Copy for Real Projects
Acceptance Criteria Examples You Can Copy for Real Projects

Good acceptance criteria are short pass/fail statements that say what a feature must do before you accept it as finished. The fastest way to learn them is to read examples, so this article gives you working ones for a login, a checkout, a search, a data export, a patient portal and a system integration, in both Given/When/Then and checklist form. If you are paying a team to build software, these are the sentences that decide whether you get what you imagined.
TL;DR
- Acceptance criteria are pass/fail conditions: each one is either met or not met, never partly met.
- Use Given/When/Then for flows with a trigger and edge cases. Use a plain checklist for simple screens and fixed limits.
- Write what the user must be able to do, with numbers, not how the developers should build it.
- Cover the failure path in every story: wrong password, declined card, empty search, a system that is down.
- Agree the criteria with the people building the feature before work starts, not after the demo.
Table of Contents
- What acceptance criteria are, in plain words
- The two formats most teams use
- Acceptance criteria examples you can adapt
- Bad versus good: the yes-or-no test
- How to write acceptance criteria step by step
- Who writes them, and when
- Why this matters when you are buying software
- Where we come in
- Our point of view
- FAQ
- Sources
What acceptance criteria are, in plain words
A user story is a one-sentence description of what a person needs, written from their side: “As a customer, I want to search for products by name so I can find what I need quickly.” The story explains the why. Acceptance criteria explain the what. According to the Scrum Alliance, the story describes the customer’s need, the criteria describe what must be done to meet it, and the how is left to the developers during the sprint.
That split matters when you are a business owner hiring a developer. A story alone leaves room for two reasonable people to build two different things. Criteria remove the room. They also give whoever tests the feature a list to check against, so “is it done?” has an answer that does not depend on mood.
One caution from the source that popularized the idea: criteria are conditions of satisfaction, not unit tests. You describe what the business needs to see. Engineers decide how to test it in code.

The two formats most teams use
Given/When/Then (scenario format)
This format splits each criterion into a starting condition, an action and an observable result. A 2022 academic paper describes it as preconditions (Given), behavior (When) and expected postconditions (Then), and recommends keeping each sentence simple and splitting large criteria into smaller ones.
The template:
- Given the starting context
- When the user does something
- Then the visible result
- And any further result
The UK Government Digital Service adopted it because it removes ambiguity and reads in plain English from the user’s perspective, so technical and non-technical people expect the same thing. Use it where order and conditions matter: logins, payments, approvals, anything with branches.
Rules checklist
For simple screens and fixed limits, a bulleted list of testable rules is quicker to write and easier to read. The business analysis association IIBA has a contributor who notes that a simple “Done when” list may be easier to read than scenarios. Use it for forms, settings pages, reports and exports.
Many teams mix both in one story. That is fine. Pick the format per criterion, not per project.
Acceptance criteria examples you can adapt
The examples below are written as samples. The numbers (minutes, limits, counts) are placeholders: replace them with your own business rules.
Example 1: Login with lockout (Given/When/Then)
Story: As a registered user, I want to log in with my email and password so I can see my account.
- Given I am on the login page with a valid account, when I enter the correct email and password, then I land on my dashboard.
- Given I am on the login page, when I enter a wrong password, then I see a message that the email or password is incorrect, and the message does not say which one was wrong.
- Given I have entered a wrong password five times within ten minutes, when I try a sixth time, then the login is blocked for 15 minutes and I receive an email telling me why.
- Given I am blocked, when the 15 minutes pass, then I can try again normally.
Notice the last two. The lockout is the part teams forget, and it is the part that produces support tickets later.
Example 2: Online checkout (Given/When/Then)
Story: As a customer, I want to pay for the items in my cart so I can receive my order.
- Given a cart with in-stock items and valid payment details, when I submit the order and payment succeeds, then I see an order confirmation with an order reference, and I receive the same reference by email.
- Given a cart and a card that is declined, when I submit the order, then I see that the order was not placed and I am advised to try another payment method.
- Given one item in my cart has sold out, when I open checkout, then that item is marked unavailable, excluded from the total, and I cannot place the order until I remove it.
The first two follow the same pattern as an observable-outcome example that makes both the success and the declined payment checkable, so a reviewer looks at evidence, not opinion.
Example 3: Product search (checklist)
Story: As a customer, I want to search for products by name so I can quickly find what I am looking for.
- Exact name matches are returned first.
- Partial matches are returned once at least three characters are entered.
- Each result shows product name, image and price.
- Results are paginated at a maximum of 20 per page.
- When nothing matches, the page shows “No results found” with suggested next steps.
This mirrors a widely used product-search example. Every line can be answered yes or no by someone who has never seen the code.
Example 4: Data export (checklist)
Story: As an administrator, I want to export my user list as a CSV file so I can use it in other tools.
- The file contains all active users.
- Columns are name, email, signup date and last login.
- The file is encoded in UTF-8.
- The download starts in under five seconds for up to 10,000 users.
- If the export fails, I see an error and can retry.
The performance line is what turns “it should be fast” into something a tester can time. A Azure DevOps guide makes the same point by contrasting “the app should load quickly” with a dashboard that loads in one second on a regular connection.
Example 5: Patient portal appointment request (healthcare)
Story: As a patient, I want to request an appointment online so I do not have to call the office.
- Given I am logged in, when I choose a provider, a date range and a reason for visit and submit, then I see a confirmation that the request was received and the office is notified.
- Given I am logged in, when I leave the page idle for the configured timeout, then I am signed out and my information is no longer visible on screen.
- Given I am not logged in, when I try to open an appointment page by its address, then I am sent to the login page and no patient data is shown.
- Given a staff member without scheduling permission, when they open the request queue, then they cannot see or change requests.
For healthcare software, security and access rules belong in the criteria themselves, not in a separate document nobody reads. Your privacy or compliance officer, or your attorney, sets the exact timeout and access rules that apply to your organization. Our HIPAA-compliant patient portal case study shows what that kind of project looks like in practice.
Example 6: System integration (rules checklist)
Story: As an operations manager, I want new orders from our online store to appear in our accounting system so nobody retypes them.
- Each new paid order creates exactly one invoice in the accounting system within five minutes.
- The invoice carries the customer name, line items, tax and the store’s order number.
- If the accounting system is unavailable, the order is queued and retried, and nothing is lost.
- If an order cannot be matched after three retries, an email goes to the named finance contact with the order number.
- A refund in the store creates a matching credit note.
Integration stories are where vague criteria cost the most, because the failure happens between two systems and each vendor points at the other. Writing down the retry and alert behavior up front gives everyone the same definition of working.
Bad versus good: the yes-or-no test
If a criterion cannot be answered with yes or no, rewrite it. Salesforce’s training material says criteria should be clear, simple, unambiguous and independently testable with a true or false result. The same page contrasts a solution-focused criterion (click an Approve or Disapprove button) with an intent-focused one (the user can approve or disapprove a discounted price).
| Weak | Why it fails | Stronger |
|---|---|---|
| The page should load quickly | No one can fail it | The dashboard loads in under two seconds on a standard broadband connection |
| Show an appropriate error message | “Appropriate” is an opinion | When the card is declined, the page states the order was not placed and suggests another payment method |
| Use a dropdown for the state field | Prescribes the how | The user can select any of the 50 states |
| The system is secure | Too broad to test | Users without the admin role cannot open the billing page and see an access-denied message |
| Works on mobile | Which phones, which tasks? | The checkout can be completed on the two most recent major iOS and Android versions |
The rule behind the table: state the outcome, give a number or an observable result, and leave the design to the builders.
How to write acceptance criteria step by step
- Start from the story. Write who needs what and why in one sentence. If you cannot, the feature is not understood yet.
- List what the user must be able to do. Draft one-line statements from the end user’s side. Cover the normal path, the exceptions and the non-functional needs such as speed, file size or access.
- Add the negative flows. An IIBA contributor recommends including alternate or negative flows: wrong input, missing data, a failed payment.
- Apply the yes-or-no test. Rewrite anything vague, as in the table above.
- Strip out the how. Remove button types, database choices and layout instructions unless they are a real business constraint.
- Split oversized stories. A long list of criteria often means the story is really two or three stories. The same IIBA guidance says criteria should be achievable to build and test within a sprint, a short fixed work cycle, usually one to four weeks.
- Agree them with the team. Walk through each criterion with the people who will build and test it, and mark the story ready only when everyone reads it the same way.
A published product owner guide follows a similar seven-step path and adds a useful point: the person who accepts the story should write the criteria, but agreeing them is a team activity.
Who writes them, and when
The product owner, the person who speaks for the business and decides what is accepted, usually drafts them. In a small company that person is often you. The Agile Alliance states that the product owner defines acceptance criteria before the sprint begins, may start alone, and that the whole team must agree to them by the end of sprint planning, when the team commits to the work for the cycle.
Two terms get mixed up here. Acceptance criteria belong to one story. A definition of done is a shared quality checklist that applies to every story, such as “tested” and “reviewed”. You need both, and they do different jobs.
Also note that criteria are a quality tool teams choose to use, not a requirement of the Scrum framework itself, as the Scrum Alliance points out. For any project where you are paying per milestone, they are the cheapest insurance you can write.
Why this matters when you are buying software
For a small business, the cost of vague criteria is rework you pay for. For a growing team, it is a system that works in the demo and breaks when volume rises. For a healthcare provider, it is a feature that does not enforce the access rules you assumed. For an enterprise, it is an integration that silently drops records.

The pattern is the same in each case: the requirement lived in someone’s head, not on the page. Criteria written before the build make scope visible, so you can see what is included and decide what is not, instead of finding out at invoice time. Our guide on what custom software costs lists the project sizes we build, from an MVP at $10,000 to $50,000 to a mid-complexity platform at $50,000 to $150,000, and the more precisely a project is described, the easier it is to place in one of those ranges.
Where we come in
If you have a feature idea but no criteria yet, the place to begin is a Discovery Audit. It costs $999 one-off, and it is credited toward a build contract. Our process centers on deep discovery, which is exactly where stories and their acceptance criteria get written and agreed, so you know what is being built before the build begins. Start with the Discovery Audit, or read how we approach HIPAA-compliant software if you are in healthcare.

If what you need is a smaller automation, our one-time build you own starts from $2,500 one-off, and managed agents start from $1,500 per month. Both are described on the same page.
Our point of view
Most project disputes we hear about are not about quality. They are about two people picturing different things and never writing it down.
We treat acceptance criteria as the contract between the business and the build. Our engineers come from big tech environments, and we bring that rigor to small projects too: every story gets a failure path, every number gets a unit, and nothing is “done” because someone says so.
That is why we put discovery first. A transparent audit gives you the stories and the criteria in your own words, and you keep them whether the build goes ahead or not. For regulated work like healthcare, we write security and access rules into the criteria, so compliance is something you can check on the screen, not something you take on faith.
Write the criteria before the code. Everything after that gets cheaper.
Cameron
FAQ
What is a good example of acceptance criteria?
A good example is specific and checkable. For a search story: partial matches appear after three characters, results show name, image and price, a page holds at most 20 results, and an empty search shows a “No results found” message with next steps. Anyone can test each line and answer yes or no.
How many acceptance criteria should a user story have?
At least one, according to Salesforce’s training material, and in practice enough to cover the normal path and the main failure paths. If the list grows long, the story is probably too big. Split it so each piece can be built and tested within one work cycle.
Do I have to use Given/When/Then?
No. It is the best fit for flows with conditions and edge cases, and a 2022 paper recommends it as a consistent pattern. A simple checklist works better for fixed limits and simple screens. Choose whichever format makes each criterion unambiguous.
What is the difference between acceptance criteria and a user story?
The story states the need from the user’s side, the why. The criteria state what must be true for the need to be met, the what. They complement each other, and the criteria are not a separate piece of work.
Can acceptance criteria change during a project?
Yes, but change them deliberately. Agree the revision with the same people who agreed the original, before work on that story continues, so scope and cost stay visible to everyone.
Sources
- Acceptance Criteria: Everything You Need to Know, Scrum Alliance
- A User Story Primer, Scaled Agile Framework
- Towards the Art of Writing Agile Requirements with User Stories, SciTePress (2022)
- Creating better acceptance criteria for user stories, UK Government Digital Service (2015)
- Tips for writing user stories, IIBA (2022)
- Definition of Done, Agile Alliance (2018)
- User Story Creation Tips and Techniques, Salesforce Trailhead
- What is Acceptance Criteria? Atlassian
- Testable Requirements for Acceptance Based on Observable User Outcomes, ONES (2026)
- How to Write Acceptance Criteria in Azure DevOps, Copilot4DevOps (2026)
- Acceptance Criteria for User Stories: Product Owner Guide