Essay

How to Design for Cognitive Scarcity

Stop designing for the idealized “Hero User.” Build resilient interfaces that work when your user is stressed, tired, and operating on 15% battery.

5 min read (927 words)

Hero User versus Sleepy User — designing for cognitive scarcity

Every interface has an imagined user standing behind it. Call them the Hero User: a well-lit desk, a cup of coffee, a stable fiber connection, fully rested, emotionally regulated, reading every line of text on the screen. The Happy Path is the path that person walks.

The real user arrives on the “Sleepy Path.”

They are operating on 15% battery — biologically and technologically. They are scrolling one-handed while holding a crying baby, standing on a crowded train with spotty signal, or trying to pay a bill at 1:00 AM while panicked.

This is Cognitive Scarcity: a temporary drop in mental bandwidth caused by stress, fatigue, or distraction. The words scarcity, bandwidth, and tunneling come from Sendhil Mullainathan and Eldar Shafir’s Scarcity (2013), which studies what a shortage of money or time does to attention; I use them loosely, for any low-bandwidth moment. HCI research calls this situational impairment.

When you design for the Hero User, you build fragility. When you design for the Sleepy User, you build resilience.

Pattern 1: The Session Timeout

Two phone screens. The Amnesia Pattern (Hostile UI): a “Session Expired” dialog says the user has been logged out for security, with an OK button. The “Soft Landing” Pattern (Resilient UI): a “Welcome Back!” dialog says their progress was saved where they left off, with a Resume button.

The Amnesia Pattern vs. the Soft Landing Pattern. A user gets halfway through a complex application (insurance, taxes, housing) but gets distracted by real life. They return 20 minutes later.

Session timeout
Hostile UIResilient UI
The standard timeout protects the account on an unattended device, and throws away the user’s work along with the session. A cold modal stating "Session Expired." When the user clicks "OK," they are booted to the login screen. Their data is wiped. They quit. The "Soft Landing" pattern assumes the distraction was involuntary. A warm modal stating "Welcome back. We saved your progress." The user taps Resume, signs back in if the session requires it, and the screen restores exactly to the field they were editing.

Pattern 2: The Critical Error

Two phone screens. Inducing Panic (Hostile UI): a red banner reads “Error 504: Gateway Timeout” and the user panics. Absorbing Ambiguity (Resilient UI): a yellow banner reads “We’re confirming this payment. You won’t be charged twice. We’ll update you in 5 minutes.” and the user relaxes.

Inducing Panic vs. Absorbing Ambiguity. A payment request times out or a sync breaks. The system needs to inform the user that a process did not finish.

Critical error
Hostile UIResilient UI
A red banner reading "Error 504: Gateway Timeout." The user thinks: Did I lose my money? If I click it again, will I be charged twice? I don’t have time to call support. A yellow banner reading "We’re confirming this payment. You won’t be charged twice. We’ll update you in 5 minutes." After a timeout the system does not know whether the charge went through, so the banner says it is checking, rules out a double charge, and commits to a time. The user thinks: Okay. I don’t need to click again. I can go to sleep.

Pattern 3: The Destructive Action

Two flows. The Speed Trap (Hostile UI): a modal with a red Permanently Delete button leads to a screen reading “Item Deleted Forever.” The Time Machine (Resilient UI): the item leaves the list and a toast reads “Project moved to trash” with an Undo button.

The Speed Trap vs. the Time Machine. The user hits a button that destroys data (Delete Project, Cancel Subscription, Remove User).

Destructive action
Hostile UIResilient UI
A modal asking "Are you sure? This cannot be undone." Confirmation dialogs train people to click through them. After enough of them, a sleepy user sees a modal, finds the bright red button, and clicks it without reading the warning. The item disappears immediately, but a toast notification appears: "Project moved to Trash. [Undo]" Aza Raskin made this case in "Never Use a Warning When You Mean Undo" (2007). The principle: never demand perfection from a tired person.

Pattern 4: The Login Loop

Two login forms. The Memory Test (Hostile UI): a shaking password field reads “Password Incorrect. Try Again.” The Side Door (Resilient UI): after a failed attempt, a panel offers to email a magic login link instead, with a Send Link button.

The Memory Test vs. the Side Door. The user is trying to log in on a new device but can’t remember their password.

Login loop
Hostile UIResilient UI
A shaking text field saying "Password Incorrect. Try Again." The user tries three variations, gets locked out, and churns. After one failed attempt, the UI expands: "Looks like that wasn’t right. Want us to email you a login link instead?" The principle: when the front door is stuck, open a side door.

The Designer’s Checklist for Low Energy

Three panels, one question each. The “2 AM Test”: is the primary action obvious with one eye open? The “Tunnel Vision” Test: do the buttons alone tell the accurate story? The “Safety Net” Test: how many seconds does it take to undo a mistake?

Three questions to stress-test a flow against:

  1. The “2 AM Test” — If I looked at this screen at 2:00 AM with one eye open, is the primary action obvious? Or do I have to read a paragraph to understand what to do?
  2. The “Tunnel Vision” Test — Sleepy users ignore grey text. If I remove all the helper text and subheaders, do the buttons alone still tell the accurate story?
  3. The “Safety Net” Test — If I tap the wrong button by accident, how many seconds (and how many clicks) does it take to fix it?

Attention is a finite resource, and most interfaces spend it as though it were free.

Corrections

  • 7 October 2026: this essay said “This is Cognitive Scarcity” without saying where its terms came from. Scarcity, bandwidth, and tunneling are Mullainathan and Shafir’s terms for what a shortage of money or time does to attention, and the essay now credits them and says it uses them loosely.
  • 7 October 2026: this essay said “the standard security pattern prioritizes the database over the human.” A session timeout protects the account on an unattended device; the hostile part is throwing away the user’s work.
  • 7 October 2026: this essay’s resilient payment banner said “Don’t worry, you haven’t been charged. We will auto-retry in 5 minutes.” After a timeout the system does not know whether the charge went through, so that promise could be false and the retry could charge twice; the banner now says the payment is being confirmed and rules out a double charge.
  • 7 October 2026: this essay said users click the red button “before their prefrontal cortex registers the warning.” The mechanism is habituation: confirmation dialogs train people to click through them without reading.

Revised