To create use cases for UX design, start from the actors and their goals, then write one scenario per goal that traces the trigger, the normal path, and every meaningful failure branch before you touch a wireframe. The key condition is that each use case must describe a user's observable interaction with the product, not internal system logic, and must end in a clear success or failure state. That keeps scenarios testable and turns them into requirements you can actually design against, rather than prose that sits unread in a document.
Design teams often confuse use cases with user stories, jobs-to-be-done statements, or task flows, and the result is documentation that duplicates itself or drifts from what gets built. This guide separates those artifacts, walks through a repeatable creation process, and shows how to convert each scenario into interface decisions and test cases. It assumes a product or feature exists in some form—even a sketch—and that you have access to at least a few real users or the people who support them.
What a use case is in UX design, and what it is not
A use case describes a goal-driven interaction between one or more actors and a system: who wants what, what starts the interaction, what the system and actor each do in sequence, and what counts as success. In classic software engineering (Ivar Jacobson's original formulation), a use case is a set of scenarios bound by a common user goal. In UX practice, you keep that structure but add the experience layer—where the friction is, what the user must see or decide, and what the interface has to make obvious.
The distinction that clears up most confusion:
A use case is goal-and-scenario based. "Customer applies a discount code at checkout" with a main success scenario and alternates for expired, invalid, and already-used codes. A user story is a small, negotiable placeholder for a conversation. "As a returning customer, I want to apply a discount code so I save money." It's a backlog item, deliberately thin. A job story frames context and motivation. "When I'm checking out with a promo code in hand, I want to confirm it works before paying, so I don't abandon the cart." A task flow is a diagram of steps through screens. It shows sequence, usually without the alternate branches or the actor's decisions. A journey map is the emotional and channel-level arc over time, often spanning multiple sessions and systems.
I use use cases when correctness of behavior matters (something can fail, expire, conflict, or require permission), and user stories when I mainly need to slice work. The two pair well: the use case is the reference behavior, the story is the unit of delivery.
Actors, goals, and scope
An actor is anyone or anything that interacts with the system to achieve a goal—a person in a role (first-time buyer, support agent), or another system (payment gateway). Name actors by role, not by name, and be honest about secondary actors: the support agent who resolves a failed order is often overlooked, and that omission shows up as a missing admin view.
Scope is the system boundary. Decide whether your use case covers just the mobile app, or the app plus the backend plus the human support queue. A use case scoped too narrowly hides the handoffs that actually create delay; one scoped too broadly becomes unmanageable. Write the boundary at the top of every use case, in one line.
Prerequisites before you write a single scenario
You can run the process below with lightweight inputs, but these genuinely help:
1: Access to representative users or their proxies. Even five short conversations (or support-ticket and session-recording review) surface branches a team would otherwise invent. 2: A stated product goal and release scope. "Reduce abandoned checkouts in the mobile web flow" gives you criteria for what belongs in scope. 3: Known constraints and rules. Business rules (discount eligibility, refund windows, permission levels) drive the alternates. 4: A shared place to store and version the scenarios. Use cases rot fast; a wiki page or issue tracker beats a static document. 5: Agreement on the level of detail. A one-page per-goal format works for most product teams; a fully dressed, formal template is overkill unless you're in a regulated or contractual context.
If any of these are missing, proceed anyway—but flag the assumption in the use case itself so it doesn't become silent fiction.
Step 1: Build a short actor and goal inventory
List every role that touches the system, then attach the goals each one has. Keep it terse:
| Actor | Primary goal | Secondary goals |
|---|---|---|
| First-time buyer | Complete a purchase | Understand shipping cost and returns |
| Returning buyer | Reorder quickly | Apply saved payment and codes |
| Support agent | Resolve a failed payment | Issue refunds, correct addresses |
| Payment gateway | Authorize or decline a charge | Return a reason code |
This table is your coverage map. Any goal with real failure modes deserves its own use case; anything purely informational can stay a note. The inventory also exposes priority by frequency and risk: high-frequency goals with many failure branches belong first.
Step 2: Pick one goal and define its boundaries
Choose a single goal per use case, and write a one-sentence statement in actor-goal form: "The returning buyer completes checkout using a saved payment method and a discount code." Then constrain it:
Trigger: what initiates it (user taps "Pay," a scheduled job fires, an agent opens a ticket). Preconditions: what must be true before it starts (actor is logged in, cart is non-empty, account is not suspended). Postconditions: what is true after success (order created, payment captured, confirmation sent). Minimum guarantees: what must hold even on failure (no double charge, cart preserved).
This is the step teams skip, and it's the one that prevents scope creep. If a candidate behavior doesn't serve the stated goal, it belongs in a different use case.
Step 3: Write the main success scenario as numbered steps
For each step, alternate between actor action and system response. Keep it at the level of observable behavior, not UI implementation. A workable pattern:
1: Buyer reviews cart totals and taps "Checkout." 2: System validates items are in stock and displays the shipping and payment step. 3: Buyer selects a saved payment method and enters a discount code. 4: System validates the code and recalculates the total, showing the discount line. 5: Buyer confirms the order. 6: System authorizes the payment and creates the order. 7: System shows a confirmation with order number and delivery estimate; sends an email.
Aim for the shortest path that still delivers the goal—usually 3–9 steps. If a single step hides a major uncertainty ("system validates the code" when validity rules are complex), that's a signal to add an alternate rather than to bloat the main path. Keep the interface neutral: "Buyer enters a discount code" survives a redesign; "Buyer types in the coupon field beside the red Apply button" doesn't.
Step 4: Add alternate, exception, and failure branches
This is where UX value concentrates. For each step, ask three questions: What can go wrong? What can the actor do differently? What happens if the system can't proceed? Write each branch as a lettered path that references the step it departs from and rejoins.
Continuing the checkout example:
4a. Code expired. System shows an inline message explaining expiry and offers to remove it; totals revert; buyer continues without the code. 4b. Code invalid or not applicable. System explains which rule failed (wrong product category, minimum spend) and keeps the field editable. 4c. Code already used. System shows when and on which order; support link appears if the buyer disputes it. 6a. Payment declined. System displays a neutral, non-blaming message, suggests an alternate method, and preserves the cart and code for a retry. 6b. Network timeout during authorization. System must NOT assume success; it shows a pending state, retries idempotently, and confirms the outcome on the next user visit. 6c. Stock ran out after step 2. System offers substitution or notifies the buyer and holds the price for a short window.
Each branch needs an end state—returned to the main path at a step, or an explicit failure exit. Branches without a defined outcome are the ones that ship as dead ends or silent errors. As you write, note the friction and design implication for each: an expired code that explains why costs less support effort than a generic "invalid" toast.
A quick coverage check: think of the use case as a tree and confirm every leaf ends in "goal achieved" or "goal abandoned with a clear explanation." Any leaf that just says "error" is unfinished.
Step 5: Give each scenario enough experience detail to design from
A behaviorally correct use case can still be a bad experience. Add a short narrative paragraph per use case—3 to 6 sentences—describing what the actor is trying to do, what they fear or don't know, and where the interface must set expectations. This is the layer that turns a requirements document into a design brief.
Useful prompts:
What does the actor believe right before the trigger? (e.g., "I think I have a 20% code, but I'm not sure it applies to sale items.") What's the cost of confusion at each decision? (A wrong shipping address is expensive; a wrong newsletter checkbox is cheap.) What information must be visible before a commitment, not after?
Keep the narrative concrete. "The buyer has one hand on a phone in a store and wants to know the final total before paying" changes what you show on the checkout screen—the total, in fixed position, with the discount reflected—in a way that "user wants to check out" never will.
Step 6: Derive screens, states, and test cases
Use cases pay off when they become interface work and acceptance tests. Two mappings do most of the job:
States per screen. For each step in the main scenario or a branch, list the states a user can encounter: default, loading, empty, validation-error, partial-success, timeout, permission-denied. The timeout state from branch 6b is easy to skip on a whiteboard and miserable to retrofit; the use case forces you to name it.
Test cases. Every main-path step and every branch becomes a testable assertion. The main path is your happy-path acceptance test; each alternate is a regression test. Write them as "given precondition, when action, then observable outcome" and keep them in the same system as your build. Branch 6a ("payment declined → cart preserved, code still applied, alternate method offered") is both a design requirement and a test that will catch regressions.
A simple coverage test: can a new designer, given only the use case and its branches, sketch every screen state without asking you a question? If not, the gap tells you what's still missing.
How use cases differ from user stories and jobs-to-be-done in practice
The practical difference is when each artifact earns its keep:
Use use cases early for behavior with real failure modes, permissions, or money: checkout, account recovery, refunds, file uploads, scheduling, approvals. They're the spec the design and QA both reference. Use user stories to slice that spec into deliverable increments. A single use case typically becomes several stories—one per branch or per state. Use job stories to anchor the motivation and context when you're prioritizing features, especially early. Use task flows to show the sequence visually after the use case is settled.
A common trap is writing a use case that's really a user story with extra words, or a story that smuggles in a whole scenario ("As a user, I want to apply a code and have it work for expired, invalid, and used codes..."). Splitting the artifacts by function keeps each honest. In practice, a checkout-related use case might map to 6–10 stories (apply code, remove code, handle decline, handle timeout, and so on), and that's a healthy ratio, not duplication.
Mistakes that make use cases useless, and how to avoid them
UI-coupled steps. "Click the blue button, then the modal appears" breaks the moment the layout changes. Describe actor intent and system response; put screens in the flow diagram, not the numbered steps.
Branches without end states. A branch that says "show an error" is a design non-answer. Specify the recovery path or the explicit exit.
Actor inflation. Listing ten roles when there are really three (buyer, support, system) produces overlapping scenarios and reviewer fatigue. Collapse to the smallest honest set.
The missing unhappy actor. Support and admin roles get left out, and the use case quietly assumes someone fixes failures manually. If that's true, make it a named actor with its own use case.
Treating the document as finished. Use cases go stale when behavior changes. Version them, date them, and review them when a new branch appears in testing or support tickets. Support-ticket themes are a useful, low-cost way to keep the alternates list current.
Over-formalizing. Full dressed templates with numbered cross-references belong in contractual or regulated contexts. For most product teams, one page per goal plus branches is enough, and the extra ceremony discourages updates.
How to validate that the use cases are right before design commits
Validation is cheaper than rework, and it doesn't require a research budget:
1: Walk the main path and each branch with a real user or a support agent and ask them to narrate what they expect to see at each decision. Divergence between their expectation and your branch indicates a missing or mis-sequenced step. 2: Run a "what if" session with design, engineering, and support in the room. Each person names a failure condition; if the use case doesn't already cover it, add it or explicitly scope it out. 3: Test the branches as state sketches before hi-fidelity. A timeout state, a permission-denied screen, and an expired-code message can be sketched in minutes and catch gaps a polished happy-path mockup hides. 4: Check the branch coverage against support tickets from the last quarter for the same goal. Real complaints map neatly to missing alternates.
Success check: after a session, can each participant point to a branch they'd have missed? If everyone says nothing was new, you may have over-scoped or under-probed—try the "what if" round with deliberately awkward conditions (slow network, expired session, duplicate submission).
Stop condition: if a use case raises legal or financial compliance questions (refund eligibility, data retention, payment authorization rules), settle those with the appropriate business or legal owner before designing the flow. A design team shouldn't adjudicate policy from a mockup.
A note on formats, tools, and team fit
Two formats cover most needs. The tabular form (step / actor action / system response / branch reference) is compact and easy to review; the narrative form (main success scenario plus a branch list) reads better for stakeholder review. Many teams combine them: a table for the steps, a paragraph for experience context, and a branch list with end states.
For diagrams, sequence diagrams and swimlanes (actor vs. system lanes) work well once the text is settled. Don't diagram before the branches are written—you'll redraw constantly. Keep the canonical use case in version control or your issue tracker, not in a slide deck, and link stories and tests back to it so a behavior change surfaces everywhere at once.
The process scales down more than it scales up: a solo designer can run steps 2–4 in an hour for a checkout or login flow, and that hour routinely prevents a week of rework when a failure branch surfaces in QA. The overhead is mostly front-loaded, and the return comes from having every screen state named before anyone draws them.