Writing user stories

Last reviewed November 8, 2026

A user story is a short description of something a person wants to do with the product, written from that person's point of view. It is not a specification. It is a reminder to have a conversation, and a promise that the conversation will happen before the work starts. A good story names who wants something, what they want and why, in words a customer would recognize.

Scrum doesn't require user stories. The Scrum Guide only talks about Product Backlog items, and a backlog item can be a story, a bug, an experiment or a piece of technical work. Stories are simply the most common way to write the items that add something for users.

The card, the conversation and the confirmation

Ron Jeffries described a story as three parts:

  • The card. A sentence or two, short enough to fit on an index card. It is a placeholder, not the whole story.
  • The conversation. The discussion between the Developers, the Product Owner and, where possible, the people who will use the result. This is where the details come from.
  • The confirmation. The acceptance criteria that tell everyone when the story is finished. See Acceptance criteria.

Most problems with stories come from treating the card as the whole thing. A team that writes long cards and skips the conversation has a requirements document with a different shape.

The common template

Many teams use this form:

For example: "As a returning customer, I want to reorder a previous order so that I don't have to find every item again."

Each part does a job:

PartIts jobWarning sign
As a …Says whose problem this is"As a user" for every story, which says nothing
I want …Describes the goal, not the solutionA button, a table or a database field
So that …Explains the valueA reason that repeats the goal in other words

The template is a tool, not a rule. If a story is clearer as "Returning customers can reorder a previous order", write that. What matters is that the person and the reason are clear.

What makes a story useful

It names a real person. "As a user" hides the fact that different people want different things. "As a clinic receptionist" or "as a patient booking for a child" points to a specific need, and the team can ask a specific person about it.

It describes a goal, not a design. "I want a dropdown of time slots" decides the solution before the team has talked about it. "I want to see which times are free" leaves room for a better idea.

It explains why. The reason helps the team make the hundreds of small decisions the card doesn't cover. If the reason is "so that I don't have to call the clinic", the team knows that confirming the booking by message matters.

It is small enough to finish in a few days. A story that takes a whole Sprint leaves no room for surprises. Splitting user stories shows how to cut large ones down.

It can be checked. Someone must be able to say whether it is done. That is the job of the acceptance criteria.

The INVEST criteria collect these qualities into a short checklist.

What to leave out

  • Implementation details. Table names, API endpoints and class names belong in the team's conversation and plan, not on the card.
  • Every edge case. List the important ones in the acceptance criteria. The rest come up in the conversation.
  • Technical work dressed as a story. "As a developer, I want to upgrade the database" isn't a user story. It is a perfectly valid backlog item, so write it as one, with a clear reason.
  • Estimates and priority in the text. Those belong in their own fields, where they can change without rewriting the story.

A worked example

Writing stories together

The Product Owner is accountable for the Product Backlog, but that doesn't mean they must write every story alone. Many teams write stories together:

  • In refinement, where the Developers can ask questions while the story is being written.
  • With users, in short interviews or by watching them work.
  • In story mapping, where the whole flow of a product is laid out before stories are written. See Story mapping.

Whoever writes the card, the conversation is shared.

Common pitfalls

Stories as contracts. If the card is treated as a fixed promise, people write more and more detail to protect themselves. The conversation dies, and the stories get longer and worse.

Splitting by layer. "Build the database for bookings" and "build the booking screen" aren't stories, because neither gives anyone something they can use. See Slicing work vertically.

Too many stories written too early. Hundreds of detailed stories for work a year away go stale. Keep distant work as large, rough items, and write detailed stories only as the work comes closer.

Forgetting the "so that". Without the reason, the team can't tell a good solution from a bad one.

Questions

Are user stories part of Scrum?

No. Scrum only says the Product Backlog holds items. User stories come from Extreme Programming and are a popular way to write backlog items, but a team can use any format that makes the work clear.

Who writes user stories?

Anyone can, though the Product Owner is accountable for the Product Backlog. Stories are often best written together, with the Developers asking questions and, where possible, users explaining what they need.

How detailed should a user story be?

The card should be short: one or two sentences. The detail comes from the conversation and the acceptance criteria, and only once the story is close to being worked on.

Do we have to use the "As a…, I want…, so that…" template?

No. It is a helpful reminder to name the person and the reason. If a story is clearer in another form, use that form.

Can technical work be written as a user story?

It doesn't need to be. Write technical work as a plain backlog item with a clear reason, such as "Upgrade the database before support for the current version ends in March". Forcing it into a story template adds words without adding meaning.