A young man looks at his phone at night; a dial closes round the screen and counts up to 400 ms, then the Instagram and TikTok logos fly into his eyes.
400 milliseconds. That is how fast apps like Instagram and TikTok answer you, and one of the reasons you stay on them.
Not just the algorithm
Their secret is not only the recommendation algorithm. It also rests on a law of psychology.
A law: the Doherty Threshold
It is called the Doherty Threshold. Let’s see how it works, and how to use it in your own app.
IBM, 1982
In 1982, Walter J. Doherty, a researcher at IBM, published a study with Ahrvind J. Thadani on the value of a fast response time.
Under 400 ms, the wait goes unnoticed
They found that when the system answers in under 400 milliseconds, users no longer perceive that they are waiting: exchanges follow one another, and their productivity rises sharply.
Flow, and how it breaks
Users then stay focused on what they are doing, in what is called the flow state: they and the app move at the same pace. But as soon as an answer takes longer than 400 ms, that rhythm breaks.
What Google measured
Google checked it on its own pages. In 2006, Marissa Mayer reported that half a second more to show the results had cut traffic by 20 %. In 2009, an experiment by Jake Brutlag showed that a 400 ms delay was enough to reduce the number of searches.
A frustration that lasts
And the effect does not end with the delay: in the 2009 experiment, users who had been exposed to it kept searching less for weeks after it was removed. To them, the service had come to mean frustration.
Fast, even on a bad network
So how do Instagram and TikTok stay under 400 ms, even on a poor connection? And how can your app do the same?
Three tips for your app
Here are three UX tips to hold that threshold, or to make the wait acceptable when holding it is impossible.
Tip 1 · Optimistic UI
Show the result of an action before the server answers (optimistic UI). On Instagram, when you like a photo, the heart turns red at once, without waiting for the server to confirm; if the request fails, the interface rolls back.
And pre-fetching
TikTok downloads the next videos in the background, before you get to them (pre-fetching). The rule: give visual feedback in under 100 ms, the delay under which an answer feels instantaneous.
Tip 2 · Skeleton screens rather than spinners
Replace spinners with skeleton screens: the page’s outline, with grey blocks where the content will be. When the data takes between 400 ms and 2 seconds to arrive, a spinner mostly reminds users that they are waiting; a skeleton already shows them what is coming.
Tip 3 · A progress bar, and transparency
When an operation is bound to take time, like a payment or an AI generation, show a progress bar and tell users what is happening at each step.
Say what is happening
That is what Gemini and ChatGPT do when they show their steps while they work. Transparency lowers the tension, and users stay patient.
This article covers episode N° 06 of our series on the UX laws. Next episode: Tesler’s Law.
Sources: W. J. Doherty and A. J. Thadani, IBM (1982) · Google: Marissa Mayer (2006), Jake Brutlag, “Speed Matters” (2009) · Nielsen Norman Group, response times. 3D iPhone in the clips: Polyman (Sketchfab), CC BY 4.0.
