UX Law 05 of 30 · Memory & attention
Peak-End Rule
People judge an experience by its best or worst moment and by how it ended.

Think of a weekend trip with friends. The train was two hours late, the hotel room smelled damp and it rained all of the second day. But on the last evening you sat on a hilltop with cutting chai and Maggi, watching the clouds roll in. Ask anyone a month later and they’ll tell you it was a great trip.
That’s the Peak-End Rule. We don’t remember an experience minute by minute. We remember its most intense moment and the way it ended, and we judge the whole thing by those two.
What is the Peak-End Rule?
The Peak-End Rule says people judge an experience mostly by how they felt at its most intense point and at its end, rather than by the total or average of every moment.
For a product, this means not every screen carries the same weight in memory. A ten-step flow isn’t remembered as ten steps. It is remembered as one or two strong moments, good or bad, plus the last screen people saw.
That’s good news, because it tells you where to spend your effort. A smooth middle still matters, but the best moment, the worst moment and the final screen decide whether people come back and what they tell their friends.
Why it happens
In a 1993 study, Daniel Kahneman and his colleagues asked people to hold a hand in painfully cold water. In one trial it lasted 60 seconds. In the other it was the same 60 seconds followed by 30 more in water that was slightly less cold. Asked which trial they would rather repeat, most people chose the longer one: more discomfort in total, but a better ending.
Kahneman later described two selves: the one that lives through each moment and the one that remembers afterwards. The remembering self is the one that decides whether you book again, and it keeps a short summary, not the full recording. Length barely registers. The high point and the ending do.
Peak-End Rule examples in real life
You have seen this many times already. A few places it shows up:
Saunf with the bill
Many Indian restaurants bring a small plate of saunf and mishri with the bill. The meal is over, the wait for the food is forgotten, and the last thing you taste is something sweet.
The tick after a UPI payment
Most UPI apps end a payment with a large animated tick and the amount in big type. A few anxious seconds, did it go through or not, end on a clear moment of relief.
The end of a Duolingo lesson
Finish a lesson and Duolingo shows a celebration screen with the points you earned. Even if you made mistakes along the way, the lesson ends on something that feels like a win.
A last-over finish in cricket
A slow one-day match that comes down to six needed off the last ball is remembered as a classic. Nobody recalls the quiet middle overs; everyone remembers the finish.
The problem
What goes wrong when you ignore the Peak-End Rule
Imagine a train booking website where search, seat choice and payment all go smoothly. Then, after the money is taken, the page spins for a minute and shows “Session expired” with no ticket number. The ticket was booked, and it arrives by SMS ten minutes later. But those ten minutes are what the user remembers, and the next time they book, they reach for a different app.
The common mistake
Ending a flow on a plain “Done” page, or worse, on an error.
The solution
How to use the Peak-End Rule in UI/UX design
- 1
Find the best moment and polish it
Every product has a moment where people get what they came for: the order is placed, the ticket is booked, the file is sent. Give that moment real care, with a clear confirmation, a small animation or a warm line of copy.
- 2
End every flow on a clear success
The last screen should say what happened and what comes next, for example: “Payment of ₹450 received. Your order arrives by 8:30 pm.” Avoid ending on a bare “Done”, a blank page or an upsell that appears before people have seen their confirmation.
- 3
Fix the worst moment first
One bad moment can become the peak people remember. Use support tickets, app reviews and drop-off data to find the step that hurts most, often an error, a long wait or a surprise charge, and fix it before polishing anything else.
Rule to remember
Design the best moment and the last moment with extra care.
Try it yourself
Think of the last app that annoyed you enough to complain about it. Try to recall the whole session. You probably can’t; you remember one moment and how it ended. Now open the app you use most, finish a small task and look closely at the final screen. Does it end on a clear win?
Where the Peak-End Rule comes from
Psychologist Daniel Kahneman and colleagues described it in 1993. In their study, people preferred a longer unpleasant experience over a shorter one, because the longer one ended less badly.
Sources and further reading
- Daniel Kahneman, Barbara L. Fredrickson, Charles A. Schreiber and Donald A. Redelmeier, “When More Pain Is Preferred to Less: Adding a Better End”, Psychological Science, 1993.
- Daniel Kahneman, Thinking, Fast and Slow, Farrar, Straus and Giroux, 2011.
- Jon Yablonski, Laws of UX, O’Reilly Media, 2020.
Peak-End Rule: questions people ask
Does the length of an experience matter under the Peak-End Rule?
Much less than you’d expect. Kahneman called this duration neglect: when people look back, they barely account for how long something lasted. That doesn’t make long waits harmless while they happen, but a long flow with a good ending can be remembered more kindly than a short one that ends badly.
How is the Peak-End Rule different from the serial position effect?
The serial position effect is about recalling items in a list: people remember the first and last items best. The Peak-End Rule is about how people judge a whole experience: the most intense moment and the end shape the verdict. Both say endings matter, but for different reasons.
Should every flow end with a celebration?
No. Match the ending to the moment. Booking a holiday can earn a cheerful screen; changing a password needs only a calm, clear “Your password has been changed.” Confetti on every small task quickly starts to feel fake.
Found this useful? Share it with your team.
Free PDF
Peak-End Rule 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
Related UX laws
Law 04 · Memory & attentionVon Restorff EffectWhen many things look alike, the one that looks different is noticed and remembered.Read Von Restorff Effect
Law 06 · Memory & attentionZeigarnik EffectUnfinished tasks stay in your mind much longer than finished ones.Read Zeigarnik Effect
Law 12 · Memory & attentionSerial Position EffectPeople remember the first and last items in a list best, and forget the middle.Read Serial Position Effect

