Skip to content
Design & UXAll articles

UX Psychology: 5 Cognitive Laws of UX for Interface Design

UX psychology explains why some screens feel obvious and others make people hesitate. Here are five laws of UX covering how people see, decide, remember, wait and navigate, each turned into concrete component and layout rules.

Oleksandr Saiko
Oleksandr SaikoCEO · Idealogic
Author: Oleksandr SaikoPublished: Updated: Reading time: 18 minHow we write →
On this page
UX psychology and the 5 cognitive laws of UX design, shown as interface rules

UX psychology is the practice of fitting software interfaces to how people see, remember, move and decide. People don't read a screen line by line like a novel. They scan shapes before they read, hold about four chunks of information in working memory, stall when too many choices arrive at once, and lean on habits built in other apps. These are the laws of UX that decide whether a screen feels obvious. A product that respects them makes sense in the first session. One that ignores them loses people to hesitation, and clean visual styling won't fix that.

As CEO at Idealogic, I review product architectures across fintech, B2B SaaS, and consumer mobile builds alongside our engineering and design leads. Most of the usability problems we diagnose in production come down to a conflict between how a screen was laid out and how people process information. This guide covers five cognitive laws in UX design, the research behind each one, and the component rules we derive from them.

The short version

  • UX psychology swaps arguments about taste for design rules drawn from research on vision, memory and movement.
  • Gestalt grouping and the Von Restorff effect shape the first scan. Group related data with proximity and common regions, and give each viewport a single high-contrast primary CTA.
  • The Hick-Hyman Law and Fitts's Law set how fast people choose and tap. Cut the number of simultaneous choices, and put generous targets (44pt/48dp) where the thumb or cursor already is.
  • Working memory holds about four chunks (Cowan: 4 ± 1), so cut extraneous cognitive load with progressive disclosure, smart defaults and chunked single-column forms.
  • The Doherty Threshold (under 400ms) and Nielsen Norman Group's 0.1s/1.0s/10s response limits are why every interaction needs immediate visual or haptic feedback.
  • Jakob's Law of mental models means consistency beats novelty in core controls, both with the platform (iOS HIG, Android Material 3, web conventions) and inside your own design tokens.

Why UX psychology sits underneath production UI engineering

A screen is used by a brain that makes fast, rough judgments and tires quickly. ISO 9241-11:2018 defines usability as the effectiveness, efficiency and satisfaction with which specified users achieve their goals in a specified context of use, and ISO 9241-210:2019 covers the human-centred design process for getting there. In practice, three limits cap that efficiency:

  1. Foveal vision is narrow. Sharp vision covers only about 2 degrees of visual angle, roughly the width of your thumb held at arm's length. Peripheral vision handles everything outside that spot, and it picks up contrast, motion and clusters, not detail.
  2. Working memory is small and short-lived. Unrehearsed short-term memory fades within roughly 20 to 30 seconds (Peterson and Peterson, 1959), and interruptions disrupt it easily.
  3. System 1 does the navigating. In Daniel Kahneman's dual-process model, people move through apps on fast, automatic System 1 pattern matching, not slow, analytical System 2 reasoning. A confusing menu or an ambiguous button forces a switch into System 2 just to work out the interface, and that's the moment people get frustrated.

When our UI/UX design team architects a product, we use the five laws below to keep the interface itself within System 1 recognition, so the user's System 2 attention goes to the decision they came to make.

Each cognitive law in UX psychology maps to a layout, sizing, chunking or latency rule you can enforce in production code.
The laws of UX work like a hardware spec for the person on the other side of the screen: fixed limits you design within.

Law 1: Pre-attentive visual hierarchy, Gestalt grouping, and the Von Restorff effect

Visual hierarchy is decided before reading starts. In a pre-attentive processing pass, the visual system detects simple features such as edges, contrast, color differences and clusters within a few hundred milliseconds and without focused attention. Out of that comes a rough map of what belongs together and what to look at first.

Two bodies of research describe this pass: the Gestalt laws of perceptual organization (developed by Max Wertheimer, Wolfgang Köhler and Kurt Koffka, and cataloged for software in Laws of UX) and the Von Restorff isolation effect (published by Hedwig von Restorff in 1933).

How Gestalt grouping laws replace visual clutter

Borders, divider lines and boxes inside boxes are the usual way to separate data, and they add up to visual noise. You rarely need them. Gestalt psychology shows that people group elements on their own through four spatial cues:

Gestalt PrinciplePerceptual MechanismProduction UI Implementation Rule
Law of ProximityObjects placed close together are perceived as a functional groupSet internal padding inside a card (16px) smaller than the outer gap between cards (24px to 32px); keep form labels 4px to 6px above their input and 20px below the previous field
Law of SimilarityElements sharing color, shape, or weight are assumed to share behaviorReserve your primary brand accent hue strictly for interactive elements; never style static status badges to look like tappable buttons
Law of Common RegionItems enclosed within a shared background tint or card boundary read as one unitUse subtle tonal surface elevation (#F8FAFC on light or #181B22 on dark) to group related settings or summary metrics without heavy outlines
Law of ContinuityThe eye follows smooth vertical and horizontal alignment pathsAlign form labels, numeric table columns, and card headers along strict vertical grid lines so the eye scans straight down without zigzagging

The Von Restorff Effect: why only one element can shout

Hedwig von Restorff's memory experiments showed that when people see a list of similar items plus one that differs in color, weight or shape, they recall the odd one out far better. It works the other way too: the more items you highlight, the weaker the isolation effect gets.

In production builds, the Von Restorff effect gives us the single-primary-CTA rule:

  • Every screen or viewport state gets exactly one solid high-contrast primary button.
  • Secondary actions on the same screen ("Save Draft", "Export CSV", "Cancel") step down to tonal, outlined or text-only variants.
  • Type scales need clear modular jumps (for example, 32px / 24px / 18px / 16px / 14px with distinct font weights) rather than clustering headings at 18px and body text at 16px.

Law 2: The Hick-Hyman Law and Fitts's Law of decision and motor speed

The Hick-Hyman Law says decision time grows with the logarithm of the number of choices. Fitts's Law says the time to hit a target depends on how far away and how large it is. Once hierarchy has pointed the eye at a group of controls, these two equations predict how long it takes someone to pick an option and then click or tap it.

The Hick-Hyman Law: logarithmic decision cost

Named after psychologists William Edmund Hick (1952) and Ray Hyman (1953), the Hick-Hyman Law models the time (RT) a person needs to choose among n equally probable alternatives:

In formula terms, RT equals a plus b times the base-2 logarithm of (n + 1). Here, a is the baseline perceptual and motor response time that has nothing to do with deciding, b is an empirical constant (often cited at around 150ms for simple, familiar stimuli), and log2(n + 1) measures the Shannon information entropy, in bits, of choosing among n options plus the option of not responding.

The relationship is logarithmic, so going from 3 choices to 7 adds only one bit of decision entropy. A 7-tier SaaS pricing table works out to about 3 bits, and a 32-item navigation mega-menu to about 5. The count isn't the whole story, though. When options are complex or unfamiliar (say, 18 feature rows compared across 5 enterprise plans), the constant b grows too, and you get choice paralysis: people close the tab instead of risking the wrong tier.

How we engineer around Hick's Law in web and mobile app design:

  • Cap top-level navigation at 3 to 5 destinations. Material Design 3 recommends 3 to 5 destinations in a navigation bar, and under Apple's Human Interface Guidelines the iPhone tab bar tops out at five. Five keeps every destination one tap away without much scanning time.
  • Limit SaaS pricing tables to 3 tiers. Present three clear plans (Starter, Pro, Enterprise) with the recommended middle tier visually isolated via the Von Restorff effect, and tuck the 40-row technical specification comparison behind an expandable accordion below the fold.
  • Replace 40-item dropdowns with searchable command menus or smart defaults. Pre-select the option most people need (for example, country and currency detected from locale) and let power users filter by typing.

Fitts's Law: biomechanical target acquisition

Once the brain selects an option, Paul Fitts's 1954 equation (Fitts's Law) predicts the movement time (T) required to move a pointer or thumb across distance D to hit a target of width W:

In formula terms, T equals a plus b times the base-2 logarithm of (2D divided by W). The term log2(2D / W) is the Index of Difficulty (ID). Halve the distance D to a button, or double its tappable width W, and the Index of Difficulty drops by one bit, which shortens the predicted movement time. Bigger, closer targets are also harder to miss.

In production interfaces, we turn Fitts's Law into four rules:

  1. Enforce 44x44pt (iOS) and 48x48dp (Android) minimum hit regions. Don't ship interactive controls smaller than the WCAG 2.2 Level AA minimum in Success Criterion 2.5.8 (24x24 CSS px), and pad mobile icons out to 44pt or 48dp.
  2. Span primary mobile CTAs full-width in the bottom thumb zone. Steven Hoober's 2013 field observation of about 1,300 people, covered in The Thumb Zone: Designing for Mobile Users, found that 49% held the phone one-handed. A full-width primary button (height: 52px) docked at the bottom of the screen keeps D small, because it's already under the thumb, and makes W as large as the viewport allows.
  3. Keep contextual actions next to the object being edited. On desktop tables and canvas tools, show inline row actions or a floating selection toolbar beside the cursor. Nobody should have to travel 900 pixels to a top-right toolbar.
  4. Put distance (D) around destructive actions. "Delete Account" or "Cancel Order" shouldn't sit 4 pixels from "Save Changes." This is Fitts's Law in reverse: move destructive controls further away and require a confirmation step.

Law 3: Cognitive load theory and Miller's / Cowan's working memory limits

Working memory holds about four chunks of information at a time, and every extra thing an interface asks people to remember eats into that. The older figure comes from George A. Miller's 1956 paper on the "magical number seven, plus or minus two" (7 ± 2). Nelson Cowan (2001) narrowed it: when people can't fall back on verbal rehearsal, working memory holds only 4 ± 1 chunks.

Educational psychologist John Sweller introduced Cognitive Load Theory in 1988. The three-part split of mental effort came later (Sweller, van Merrienboer and Paas, 1998), and it's the part product managers and UX designers use most:

  • Intrinsic cognitive load is the unavoidable effort of understanding the subject itself, such as choosing asset allocations in a fintech portfolio or configuring webhook retry rules in a developer tool.
  • Germane cognitive load is the productive effort spent building a lasting mental schema of how the domain works.
  • Extraneous cognitive load is effort the interface wastes: deciphering jargon labels, carrying a serial number from Screen A to type into Screen B, hunting through inconsistent layouts, or re-entering data the system already has.

Because working memory capacity (4 ± 1 chunks) is fixed, Intrinsic Load + Extraneous Load cannot exceed working memory capacity. If a fintech or healthcare workflow carries high intrinsic load, the interface has to push extraneous load close to zero, or working memory overflows and people abandon the task. We see that overflow often when diagnosing the top 5 user experience issues in mobile apps.

Four engineering techniques that cut extraneous cognitive load

  1. Chunk strings and data groups. Don't make anyone read or type an unbroken 16-digit card number (4532015112830366) or IBAN. Format the input automatically, usually into 4-digit groups (4532 0151 1283 0366), so 16 characters become 4 chunks.
  2. Use progressive disclosure across multi-step flows. Baymard Institute's checkout benchmark puts the average checkout at about 11.3 form fields and finds that most sites could cut 20 to 60% of them. Remove what you can first. In our own projects we then split complex B2B onboarding or checkout into 3 to 4 logical stages (Account, Workspace, Billing) with at most 3 to 4 inputs per screen.
  3. Prefer recognition over recall. This is Jakob Nielsen's 6th usability heuristic: people shouldn't have to carry information from one view to the next. When someone confirms a transfer or reviews a checkout, show the recipient, the card's last 4 digits and the total amount on the confirmation sheet itself.
  4. Design around banner blindness and change blindness. People skip anything styled like a banner (banner blindness) and miss state changes that happen away from where they're looking (change blindness). Keep inline validation errors and state updates anchored next to the control the user just touched.

Law 4: The Doherty Threshold (< 400ms) and operant feedback loops

The Doherty Threshold says a system should respond within about 400 milliseconds, so that neither the person nor the computer waits on the other. It comes from a study of mainframe terminal response times that IBM researchers Walter J. Doherty and Ahrvind J. Thadani published in the IBM Systems Journal in 1982. Earlier guidance had treated roughly two seconds as acceptable. Doherty and Thadani reported that productivity rose more than proportionally as response time fell, and the boundary now commonly cited is 400 milliseconds, the Doherty Threshold. Treat that number as a convention, not a hard limit of perception.

Jakob Nielsen's three response time limits (0.1, 1 and 10 seconds) sit alongside it. Put Nielsen's three limits together with the Doherty Threshold and you get the four latency bands we design web and mobile interfaces against:

Nielsen's three response limits plus the Doherty Threshold give four thresholds. Keep touch feedback under 100ms and view transitions under 400ms.
Latency ThresholdPerceptual Experience in the User's BrainRequired UI & Engineering Pattern
0 to 100 msInstantaneous physical manipulation: The user feels their finger or cursor directly moved the objectMandatory for button press states (scale(0.97)), hover highlights, toggle switches, keystrokes, and native haptics
100 to 400 msThe Doherty Threshold: The user perceives the system as responding right away and keeps their train of thoughtTarget budget for route transitions, tab switches, local search filtering, and optimistic UI mutations
400 to 1,000 msNoticeable pause, unbroken thought: The user senses the computer is working, though their train of thought holdsRender geometry-matched skeleton screens immediately at 100ms so the screen never sits blank while waiting
1,000 to 10,000 msContext-switch zone: Unbroken concentration snaps; past 10 seconds, users switch tabs or abandon the flowUse determinate progress bars (64% processed), step descriptions, or background queues with push notifications

How to engineer sub-400ms feedback when APIs take 800ms

During product development and mobile app development, our engineers pair backend caching with three front-end latency masks:

  1. Press acknowledgment under 100ms, ideally within one 16ms frame. Trigger active states and native haptics on pointerdown / onPressIn, before the network call leaves the device.
  2. Optimistic UI state updates. When a user reorders a card, marks a notification read, or saves an item, mutate the client store in under 20ms and reconcile the server response asynchronously.
  3. Pre-fetching on intent. Prefetch route bundles on hover, or fill detail views from list data already in memory while comments load in the background.

Law 5: Jakob's Law and internal vs external mental model consistency

Coined by Jakob Nielsen in 2000, Jakob's Law states: Users spend most of their time on other sites and apps, so they prefer your product to work the same way as the sites and apps they already know.

People navigate interfaces with mental models, expectations built up from every other app they've used. Reinvent standard navigation, hijack scroll physics or invent mystery icons for basic actions, and those expectations stop working. Now people have to spend working memory on your controls instead of their task.

Production software needs both layers of consistency:

  • External consistency (platform conventions): On iOS, follow Apple's Human Interface Guidelines; on Android, follow Google's Material Design 3. Keep web navigation, search shortcuts (Cmd+K), and modal dismissal (Esc) aligned with category mental models.
  • Internal consistency (design system architecture): Terminology, spacing, color semantics and component behavior shouldn't contradict themselves anywhere inside your product.

As we detail in our guide on creating a design system from A to Z and our design systems knowledge base, a tokenized component library enforces internal consistency in code, so users learn a pattern once and reuse it across fifty views. The same logic applies when you modernize a legacy app: change flows step by step so power users aren't thrown, which is a core rule in our complete guide to app redesign.

The ethical boundary: UX psychology vs deceptive dark patterns

Ethical UX psychology and dark patterns use the same five laws of UX in opposite directions:

  • Ethical design puts hierarchy, defaults and Fitts's Law to work for the user's intent: prices are visible, trials are easy to cancel, tasks are quick to finish.
  • Deceptive design (dark patterns) exploits Gestalt similarity, Von Restorff contrast, and cognitive load to subvert user intent: highlighting "Accept All Tracking" in bright blue while hiding "Reject" in low-contrast gray (misdirection), making sign-up one tap while burying cancellation in a 9-step maze (roach motel), or sneaking pre-checked add-ons into forms.

Which law applies depends on the pattern. In the EU, Article 25 of the Digital Services Act prohibits deceptive interface design on online platforms, with fines of up to 6% of worldwide annual turnover. It exempts micro and small enterprises, and it doesn't cover practices already regulated elsewhere: cookie consent banners fall under GDPR and ePrivacy rules, and most subscription traps under consumer law (the Unfair Commercial Practices Directive). In the US, a federal appeals court vacated the FTC's "Click-to-Cancel" rule in July 2025, so enforcement runs through ROSCA and Section 5 of the FTC Act. That still has teeth: in September 2025 the FTC announced a $2.5 billion settlement with Amazon over Prime enrollment and cancellation flows, made up of a $1 billion civil penalty and $1.5 billion in refunds.

UX psychology in practice: the symmetric friction test

At Idealogic, every flow has to pass the symmetric friction test: declining an upsell or canceling a plan must never take more cognitive load or smaller touch targets than accepting it.

How to apply the 5 laws of UX in your next UX audit or sprint

Our team runs this six-step UX psychology checklist during a UX audit and inside our UX design process before any screen is approved for developer handoff:

  1. Isolate the screen's single primary job. Map the user flow and define the one decision the user came to complete.
  2. Audit pre-attentive hierarchy (Law 1). Run a 10px blur test in Figma. One primary CTA should still stand out (Von Restorff), and related items should still read as groups (Gestalt proximity).
  3. Count choices and check target ergonomics (Law 2). Trim navigation to 3 to 5 items (Hick's Law) and verify 44pt/48dp minimum touch targets in the thumb zone (Fitts's Law).
  4. Check working memory chunks (Law 3). No form step or card cluster should make the user hold more than about four ungrouped chunks in working memory.
  5. Specify sub-400ms state transitions (Law 4). Include <100ms pressed states, optimistic UI updates, and skeleton screens for calls over 400ms.
  6. Verify consistency with real users (Law 5). Check icons, labels and navigation against OS conventions, then test comprehension with 5-user moderated usability testing.

If you're a founder planning a product roadmap, read our guide on developing a solid product design strategy for your startup and our UI/UX design knowledge base.

Design a product that ships as engineering
Talk to our design team

Occasional field notes on building software, no spam

Protected by Cloudflare Turnstile · Privacy · Terms

Oleksandr Saiko
Oleksandr SaikoCEO · Idealogic Development OÜ

CEO and Co-founder at Idealogic. Leading software strategy, systems architecture, and AI-native engineering squads since 2016.

Frequently asked questions

  • UX psychology applies cognitive science and human-factors research to interface design. Instead of arguing about visual taste, you set hierarchy, navigation, form chunking and response times to fit the limits of human attention, working memory and motor control. Software built this way is easier to understand and takes less effort to use.

  • The five laws of UX this guide covers are Gestalt visual hierarchy paired with the Von Restorff isolation effect, the Hick-Hyman and Fitts laws of decision and motor speed, Miller's and Cowan's working memory limits, the Doherty Threshold for feedback within about 400ms, and Jakob's Law of mental model consistency. Between them they cover how people scan, decide, remember, wait and navigate.

  • The Hick-Hyman Law covers the decision: reaction time grows with the logarithm of the number of choices. Fitts's Law covers the movement: the time to tap or click a target depends on its distance and size. In practice, Hick's Law tells you to trim navigation items and pricing tiers, and Fitts's Law tells you to make the primary CTA large and close to the thumb.

  • Cognitive load is the mental effort an interface demands from working memory, which holds about four chunks of information at once (Cowan: 4 ± 1). Intrinsic load is the difficulty of the task itself, such as reviewing a mortgage rate. Extraneous load is effort wasted on confusing layouts, clutter or inconsistent labels. You can't remove the first, so the design work is cutting the second.

  • The Doherty Threshold comes from a 1982 IBM Systems Journal paper by Walter Doherty and Ahrvind Thadani. It says productivity rises when a computer responds within about 400 milliseconds, so neither side waits on the other. The 400ms figure is a convention, not a hard physical limit. Touch feedback under 100ms, optimistic UI updates and skeleton loaders keep an interface feeling that fast even when the API behind it is slower.

  • Jakob's Law, coined by Jakob Nielsen, says people spend most of their time on other sites and apps, so they expect yours to work the way those do. Keep navigation placement, carts, search icons and native iOS or Android gestures conventional, and people can spend their attention on what your product does instead of relearning controls.

  • Gestalt psychology describes how vision groups separate elements into wholes before you start reading, through cues such as proximity, similarity and common region. The Von Restorff effect, also called the isolation effect, says that among similar items the one that differs in color, size or contrast is the one people remember. That's why each screen gets one primary CTA.

  • Ethical UX psychology removes friction so people finish what they came to do, faster and with fewer errors. Deceptive design (dark patterns) uses the same biases to push people into purchases, recurring subscriptions or data sharing they didn't choose. The law depends on where you operate. In the EU, Article 25 of the Digital Services Act bans deceptive interface design on online platforms, while cookie consent banners fall under GDPR and ePrivacy rules and subscription traps under consumer law. In the US, the FTC acts against roach motels and similar flows through ROSCA and Section 5 of the FTC Act.

Still unanswered
Ask us directly

A senior engineer replies under 4 hours.