Meet Mistry
All UX laws

UX Law 28 of 30 · Memory & attention

Working Memory

Working memory is the brain’s small notepad for the task you are doing right now.

Working Memory illustrated: A coupon code with a Copy button, applied at checkout. Nobody has to remember it.

An OTP arrives while you’re filling in a form. You open Messages, read the six digits, switch back to the app and type the first four. The last two are gone. You switch back again, a little annoyed with yourself.

Your memory isn’t bad. You were using working memory, the brain’s small, short-lived notepad, and a few seconds plus one app switch were enough to wipe it.

What is Working Memory?

Working memory is the small, short-lived space in the mind where we hold and use information for the task we’re doing right now. It holds only a few things, and they fade within seconds unless we keep refreshing them.

Every time a product asks someone to remember something from one screen and use it on another, it’s borrowing from this tiny notepad: a coupon code, the price of a plan, the name of the item they were comparing, an OTP. If one distraction comes in between, a notification, a loading screen, someone calling from the next room, that information is often lost.

Miller’s Law is about how much working memory can hold. This law is about how fast it empties. Good design doesn’t ask people to carry information between steps at all. It keeps what they need on the screen, or carries it forward for them.

Why it happens

In 1974 Alan Baddeley and Graham Hitch proposed that short-term memory isn’t a single storage box but a small workspace with parts: one for sounds and words, one for images and places, and a controller that decides where attention goes. That’s why you repeat a phone number under your breath to keep it. You’re refreshing the sound part before it fades.

Later work by Nelson Cowan suggested that most adults can hold only around four chunks at once, fewer than the famous “seven, plus or minus two”. And it’s easily disturbed. Switching tasks, even for a moment, pushes out what you were holding to make room for the new thing.

Working Memory examples in real life

You have seen this many times already. A few places it shows up:

Walking into the kitchen

You get up to fetch something, walk into the kitchen and stand there wondering why you came. The goal was sitting in working memory, and a few steps into a new room were enough to push it out.

OTPs that fill themselves

On most modern phones, an OTP that arrives by SMS appears right above the keyboard, ready to tap. You no longer have to read six digits in one app and type them into another.

Copy buttons on coupon codes

Most shopping and food apps now put a “Copy” button next to a coupon, or apply the best one on their own. Nobody has to memorise a code on one screen to type it on the next.

The order summary at checkout

On a well-designed checkout, the items, quantities and total stay visible while you pick an address and a payment method. You never have to go back to the cart to remember what you’re paying for.

The problem

What goes wrong when you ignore Working Memory

Imagine a food app that shows its best offer, “Use code TASTY60 for ₹60 off”, on the restaurant page, with no way to copy it. Three screens later, the checkout asks, “Have a coupon?” The user types TASTY50, gets an error, goes back to look, and loses their place on the way. Some give up and order elsewhere, and the offer meant to win orders ends up losing them.

The common mistake

Showing a code on one screen and asking people to type it on the next.

The solution

How to use Working Memory in UI/UX design

  1. 1

    Keep a summary on screen

    In any flow longer than one screen, keep the key facts in view: what they chose, what it costs and what happens next. A small sticky summary bar at the top or bottom of the screen is often enough.

  2. 2

    Add copy buttons for codes

    Anything people have to move from one place to another, like coupon codes, UPI IDs, booking references or account numbers, should have a one-tap Copy button. Better still, apply or fill it in automatically.

  3. 3

    Carry choices to the next step

    If someone picked a size, a date or a plan on one screen, show it on the next and use it as the default. Never make people re-enter or remember something the product already knows.

Rule to remember

Keep what people need for the next step on screen.

Try it yourself

Open any message with a code or phone number in it and read it once. Close it, open your calculator, count slowly to five and type the number from memory. Then check. Most people slip on a digit or two, and that’s with no distractions at all. Now think of how often apps ask you to do this between screens.

Where Working Memory comes from

Psychologists Alan Baddeley and Graham Hitch proposed the working memory model in 1974: a small, short-lived store the brain uses for the task at hand.

Sources and further reading

  • Alan D. Baddeley and Graham Hitch, “Working Memory”, in G. H. Bower (ed.), The Psychology of Learning and Motivation, Vol. 8, Academic Press, 1974.
  • Nelson Cowan, “The magical number 4 in short-term memory: A reconsideration of mental storage capacity”, Behavioral and Brain Sciences, 2001.
  • Gabriel A. Radvansky, Sabine A. Krawietz and Andrea K. Tamplin, “Walking through doorways causes forgetting: Further explorations”, Quarterly Journal of Experimental Psychology, 2011.

Working Memory: questions people ask

What is the difference between working memory and short-term memory?

Short-term memory is about holding information for a short time, like keeping a number in mind. Working memory includes that holding plus actively using the information: comparing, calculating, deciding. Many researchers treat short-term memory as one part of the larger working memory system.

Why do I forget why I walked into a room?

Researchers call it the doorway effect. In studies led by Gabriel Radvansky, people forgot more after walking through a doorway than after walking the same distance within one room. Moving into a new space seems to signal the brain that one scene has ended, so it lets go of what belonged to the old one.

Can you train your working memory?

Not much, for everyday life. Studies of brain-training programs have found that people get better at the exercises they practise, but the gains rarely carry over to other tasks. For designers the lesson is simple: design for the memory people have, not the memory you wish they had.

Prefer video? Working Memory in a minute, in Hindi.

Found this useful? Share it with your team.

ShareWhatsAppLinkedInX

Free PDF

Working Memory and 29 more laws, in one free guide.

Every law in easy words, with everyday examples and one rule to remember. PDF · 33 pages · 13 MB.

Keep reading