# Optimistic updates

> Showing a result before the server confirms it feels fast, but sometimes it tells people something happened that did not.

Area: Feedback and status. Evidence behind the answer: Weak. Last checked November 12, 2026.
Page: https://uxreference.com/feedback/optimistic

## The answer

Show results early only for small, reversible actions. Wait for the server for anything that matters.

- **Weak.** Show the result before the server confirms only when the action almost always works, is easy to undo, and people’s next step doesn’t depend on it. (https://uxreference.com/feedback/optimistic#rule-1)
- **Weak.** Wait for the server before showing success for payments, security changes, legal actions and anything that can’t be undone. (https://uxreference.com/feedback/optimistic#rule-3)

## The problem

Showing the result of an action before the server confirms it makes a product feel fast, but it tells people something happened that may not have.

## How to decide

Show the result before the server confirms only for low-stakes actions that can be undone and nearly always succeed; otherwise wait. Every rule here is rated 2 or lower.

## Every rule

Each rule has a grade: Settled (required by WCAG AA or law, or replicated research), Strong, Moderate, Weak, or Unsettled (use the stated default until the evidence settles).

#### Rule 1. Weak

Show the result before the server confirms only when the action almost always succeeds, is easy to reverse, and the person's next decision does not depend on the server's answer.

- Applies when: An action is sent to a server and its result could be drawn at once.
- Based on: Practitioner research
- Depends on: Whether it can be undone, What a mistake costs
- Principle: Keep people informed

Why: Documentation and one essay agree; none reports a test. The Google delay experiment shows small delays cost use, but it did not test optimistic display, so it lends no rating here.

Sources: [Optimistic Actions (Speed Patterns)](https://e0a167c9-speedpatterns-com.sergeychernyshev.workers.dev/patterns/optimistic_actions/); [Web Interface Guidelines (Vercel), optimistic update and feedback items](https://vercel.com/design/guidelines); [useOptimistic (React reference)](https://react.dev/reference/react/useOptimistic)

Link: https://uxreference.com/feedback/optimistic#rule-1

#### Rule 2. Weak

When the server rejects the action, put the earlier state back and say what failed, with a way to try again.

- Applies when: An optimistic update fails.
- Based on: Practitioner research
- Principle: Help people recover from errors

Why: React reverts the display on failure but shows no message unless one is written; Vercel says to show the error and roll back or offer undo. No study.

Sources: [useOptimistic (React reference)](https://react.dev/reference/react/useOptimistic); [Web Interface Guidelines (Vercel), optimistic update and feedback items](https://vercel.com/design/guidelines)

Link: https://uxreference.com/feedback/optimistic#rule-2

#### Rule 3. Weak

Wait for the server before showing success for payments, security changes, legally significant actions and anything that cannot be reversed.

- Applies when: The action is high-stakes or irreversible.
- Based on: Reasoned, not tested
- Depends on: Whether it can be undone, What a mistake costs
- Principle: Prevent errors

Why: One essay states it and it follows from the reversibility condition in [rule 1](https://uxreference.com/feedback/optimistic#rule-1). Inference, not tested.

Sources: [Optimistic Actions (Speed Patterns)](https://e0a167c9-speedpatterns-com.sergeychernyshev.workers.dev/patterns/optimistic_actions/); [Web Interface Guidelines (Vercel), optimistic update and feedback items](https://vercel.com/design/guidelines)

Link: https://uxreference.com/feedback/optimistic#rule-3

#### Rule 4. Settled, WCAG AA

A failure message that appears without moving focus must be exposed so assistive technology announces it.

- Applies when: A rollback message appears while focus stays where it was.
- Based on: Standard or law
- Principle: Work for everyone

Why: WCAG 2.2 success criterion 4.1.3, level AA.

Sources: [Understanding SC 4.1.3 Status Messages (Level AA)](https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html)

Link: https://uxreference.com/feedback/optimistic#rule-4

#### Rule 5. Unsettled

Whether to mark an item as pending until the server confirms it is unsettled.

Until the evidence settles, use this default: Mark newly created items as pending until confirmed; leave simple toggles unmarked.

- Applies when: A new or changed item is shown optimistically.
- Based on: Convention
- Principle: Keep people informed

Why: React documentation shows a pending marker as one option. No source compares marking against not marking.

Sources: [useOptimistic (React reference)](https://react.dev/reference/react/useOptimistic)

Link: https://uxreference.com/feedback/optimistic#rule-5

#### Rule 6. Unsettled

What to show when another person's change conflicts with an optimistic update is unsettled.

Until the evidence settles, use this default: Show the server's value and tell the person their change was not applied.

- Applies when: Several people can change the same data.
- Based on: Convention
- Principle: Keep people informed

Why: React says the server value replaces the guess. No source found on how to tell the person.

Sources: [useOptimistic (React reference)](https://react.dev/reference/react/useOptimistic)

Link: https://uxreference.com/feedback/optimistic#rule-6

## Accessibility requirements

- Failure and rollback messages are status messages under WCAG 4.1.3. (https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html)
- A silent rollback is invisible to a screen reader user; the message is the only signal.

## Common mistakes

- Showing success for a payment before the server confirms it.
- Reverting the display on failure without saying anything.

## Still open

- Does optimistic display change use, errors or trust compared with a short wait? No study found.
- How often can an optimistic update fail before people stop trusting it?
- How should conflicts with other users be shown?

## Related problems

- [Response time thresholds](https://uxreference.com/feedback/response-time): Treat every delay as a cost, and acknowledge every input at once.
- [Success confirmation](https://uxreference.com/feedback/success): Say what happened and what comes next, where people will notice it.
- [Confirming vs undoing a destructive action](https://uxreference.com/deleting/confirm-vs-undo): Act at once and offer undo. Ask “are you sure?” only when it truly cannot be undone and is rare.
- [Offline and failure states](https://uxreference.com/feedback/offline-failure): Say plainly what went wrong and what people can do, and keep what they entered.

## Sources

- [Optimistic Actions (Speed Patterns)](https://e0a167c9-speedpatterns-com.sergeychernyshev.workers.dev/patterns/optimistic_actions/). Joseph Gannon and Sergey Chernyshev, Speed Patterns, 2020, expert opinion.
- [Web Interface Guidelines (Vercel), optimistic update and feedback items](https://vercel.com/design/guidelines). Vercel, n.d., company guidance.
- [useOptimistic (React reference)](https://react.dev/reference/react/useOptimistic). React team (Meta), react.dev, n.d., component/API documentation.
- [Understanding SC 4.1.3 Status Messages (Level AA)](https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html). W3C WAI (WCAG Working Group), n.d., normative standard (Understanding document is informative).

---
From Solved Problems in UX by Athen Pellicci, an evidence-graded reference of web interface problems. CC BY 4.0. https://uxreference.com/
