UX Laws
Doherty Threshold
By Dnyaneshwar N
•
5 min read
•
Walter J. Doherty & Ahrvind J. Thadani, 1982 (IBM Research)
When an interface responds in under 400ms, user focus is maintained. If backend processing exceeds this limit, animated skeleton screens, optimistic UI updates, and haptic feedback prevent perceived latency.
Core Principle
Productivity soars when a computer and its users interact at a pace (< 400 milliseconds) that ensures that neither has to wait on the other.
The 400-Millisecond Flow State Boundary
Established in a 1982 IBM research paper by Walter J. Doherty and Ahrin Thadani, the Doherty Threshold states that computer productivity increases dramatically when system response time drops below 400 milliseconds.
When software responds in under 400ms, users remain locked in a continuous cognitive feedback loop (flow state). The interaction feels conversational and immediate.
Once latency exceeds 400ms, the user's attention fractures: they look away, check their phone, or doubt whether the application registered their click, triggering multiple duplicate clicks and frustration.
Token Streaming and Perceived Performance in Generative AI
Generative AI models often take between 5 to 15 seconds to generate complex responses. If a product waits until the entire paragraph is generated before rendering, it destroys user momentum and breaches the Doherty Threshold.
Modern AI interfaces solve this through token streaming: text streams onto the screen word by word within 200ms of the request. Even though total computation takes several seconds, the initial response latency is sub-400ms, maintaining user engagement.
Pairing token streaming with animated skeleton screens and optimistic UI state changes ensures perceived responsiveness remains high even under heavy backend loads.
Frequently Asked Questions
Latency benchmarks and perceived performance:
- What is the Doherty Threshold? The standard that human-computer interaction productivity peaks when system feedback occurs in under 400 milliseconds.
- How can designers handle operations slower than 400ms? Use instant optimistic UI states, skeleton screens, animated progress feedback, or token streaming to confirm the system received the action.
- What is the difference between real and perceived performance? Real performance is actual backend computation duration; perceived performance is how fast the interface feels to the user based on immediate visual feedback.
When to Apply
- Form submit button states and immediate optimistic feedback
- Search auto-complete and client-side filtering
- Data fetching transitions and skeleton loaders
- Interactive toggles, switches, and tabs
- Sub-400ms system feedback keeps users in flow, demonstrating why Good UX Is Invisible.
Recommended Practices
- Provide immediate visual feedback (<100ms) upon button click or toggle press.
- Use skeleton screens that mimic content layouts rather than generic spinning loaders.
- Apply optimistic UI updates for non-destructive actions (e.g. bookmarking or liking).
- Couple lightning-fast responses with thumb-accessible targets using Fitts's Law.
Practices to Avoid
- Do not freeze the user interface while waiting for background API responses.
- Do not show blank white screens during page routing.
- Do not delay feedback on input typing without debounce indicators.
Diagnostic Checklist
- Does every clickable control provide instant active/loading state within 100ms?
- Are skeleton placeholders used for long-running content queries?
- Does the application maintain a fluid 60fps frame rate during interactive animations?
- Experience instantaneous telemetry responses engineered in our live Interactive UX Solutions & Prototypes.