Made with 🧠 and πŸ«€ by Youssef Bouksim

Back to library
πŸ”οΈ

Peak-End Rule

People don't remember experiences as averages. They remember them by their peak β€” the most intense moment β€” and their ending. Everything in between matters far less than you think.

5 min readUX Β· Product Β· AI

In the late 1980s, psychologist Daniel Kahneman and colleagues ran a series of experiments that produced one of the most counterintuitive findings in all of behavioural science. They gave participants a colonoscopy β€” deliberately varying whether the procedure ended abruptly at peak pain or with a longer but less painful final period β€” and then asked them to rate the overall experience.

The participants whose procedure was extended with a gentler ending remembered the entire experience as less painful, even though they had objectively experienced more total pain and duration. The memory of the experience was dominated almost entirely by two moments: the most intense point, and the ending. Everything in between was largely irretrievable.

This is the Peak-End Rule: we evaluate experiences retrospectively based on a mental snapshot of how they felt at their worst (or best) and how they concluded β€” not on any kind of integrated average. For designers, this means that two moments matter more than all the others combined: the most emotionally loaded interaction in your product, and the final moment of any experience.

✦ Key takeaways
βœ“
Duration neglect is real. A longer bad experience is not necessarily remembered as worse than a shorter one. What matters is the peak intensity and the ending quality β€” not how long anything took. This is counterintuitive but thoroughly replicated.
βœ“
The ending has disproportionate power. A product that does ninety things well and ends badly will be remembered as worse than a product that does sixty things well and ends with a moment of genuine delight. The ending writes the memory.
βœ“
Peak moments can be designed. You don't have to wait for a peak to emerge naturally β€” you can engineer it. Onboarding completion screens, empty-state illustrations, progress milestones, and personalised messages are all opportunities to create a positive peak that anchors the user's memory of your product.

The experiment behind the rule

Kahneman ran participants through a series of experiments involving deliberately uncomfortable tasks. The most famous involved immersing one hand in 14Β°C water for 60 seconds (unpleasant) versus immersing the same hand for 60 seconds at 14Β°C followed by 30 additional seconds where the temperature was secretly raised to 15Β°C (slightly less unpleasant). When asked which trial they would repeat, participants overwhelmingly chose the longer trial β€” the one with objectively more total discomfort β€” because it ended better.

The mechanism is what Kahneman calls β€œduration neglect”: our retrospective evaluation of experiences ignores their length almost entirely. What gets encoded into memory is a rough average of the peak moment and the final moment. This is not a failure of reasoning β€” it is how the remembering self fundamentally works. And the remembering self is the one that decides whether to come back.

β€œThe remembering self is the one that keeps score, and dominates our choices.”
β€” Daniel Kahneman

Onboarding completion β€” the first ending that sets the tone

The moment a user completes onboarding is one of the most important moments in your entire product. It's the end of their first significant experience, and per the Peak-End Rule, it will anchor their memory of everything that came before it. A cold, transactional completion screen communicates that the product views onboarding as a chore to get through. A warm, celebratory one signals that the product values the user's time and is genuinely glad they're here.

Before β€” cold, transactional ending
9:41
Setup
You're in.Your account has been created. You can now start using the app.

Checkbox, two lines, a button. Functional. Forgettable. The experience ends with no emotional signal.

After β€” warm, celebratory ending
9:41
You're all set,
welcome aboard!
Your account is ready. We've put together a few things to help you get the most out of it.
Suggested first step
Complete your profile
Takes 2 minutes Β· Unlocks all features

Warm tone, clear next step, a moment of delight. The experience ends with a feeling worth remembering.

Notice also that the good screen includes a suggested first step. This is a Peak-End design principle applied to the beginning of the next experience: it ensures the next moment users encounter is also a positive one, extending the emotional arc rather than dropping users into an empty state with no guidance.


The 404 page β€” designing the peak negative moment

If there is a single moment in any web product most likely to become the β€œpeak” of a negative experience, it's the error page. Something has gone wrong. The user is lost, frustrated, or confused. This is exactly the moment the Peak-End Rule predicts will disproportionately colour their memory of the entire visit.

A cold error page β€” a large β€œ404”, a technical error message, a stack trace β€” confirms every doubt. A warm error page acknowledges the frustration, speaks like a human, and immediately offers concrete paths back to something useful.

Before β€” cold error, peak negative handled badly
yourapp.com/page-not-found
Appname
404
Not Found
The requested URL /page-not-found was not found on this server.
TypeError: Cannot read properties of undefined
at Object.<anonymous> (/app/routes.js:127)
at Module._compile (node:internal/modules)

A stack trace on a public page. The peak negative moment ends with confusion and no clear path forward.

After β€” warm error, peak moment handled with care
yourapp.com/page-not-found
Appname
This page doesn't exist
The link may be broken, or the page may have moved. Either way, let's get you back on track.
Were you looking for?
Dashboard overview
Account settings
Help & documentation

Same error β€” handled with warmth, clear explanation, and three immediate recovery paths.

The warm error page doesn't minimise the error β€” it acknowledges it plainly. β€œThis page doesn't exist” is honest. What changes is everything around that honest acknowledgment: the tone, the offered paths forward, and the absence of technical noise that the user cannot act on.


How AI responses end β€” the most overlooked moment in AI UX

Every AI response has an ending. In most current implementations, that ending is some variation of β€œLet me know if you have any other questions” β€” a closing phrase that has become so universal it is now essentially invisible. It communicates nothing, offers nothing, and leaves the user in exactly the same position they were in before the last sentence.

Per the Peak-End Rule, the final line of an AI response is disproportionately likely to be what the user remembers about that response. An AI that ends every answer with a generic filler phrase trains users to stop reading before the end. An AI that ends with a concrete next step creates a closing moment that is actually useful.

Before β€” generic closer
9:41
AI Assistant
What should I focus on to improve my landing page conversion rate?
To improve your conversion rate:

1. Clarify your headline β€” state the benefit, not the feature.

2. Reduce friction β€” fewer form fields, one primary CTA.

3. Add social proof β€” testimonials near the CTA.

4. Improve load time β€” each second costs ~7%.

5. Test CTA copyβ€” β€œStart free trial” beats β€œSign up”.
Let me know if you have any other questions!
Follow up...

The response's final moment adds nothing. Users learn to tune out the last line of every AI answer.

After β€” concrete next action
9:41
AI Assistant
What should I focus on to improve my landing page conversion rate?
To improve your conversion rate:

1. Clarify your headline β€” benefit, not feature.

2. Reduce friction β€” fewer fields, one CTA.

3. Add social proof β€” testimonials near the CTA.

4. Improve load time β€” each second costs ~7%.

5. Test CTA copyβ€” β€œStart free trial” beats β€œSign up”.
Suggested next step
Run a 5-second test
Share your URL and I'll identify which issue is hurting you most.
How do I test my headline?Best CTA copy examplesTools for A/B testing
Paste your URL here...

The last moment of the response is the most useful one β€” a concrete offer that turns the conversation into a working session.

The content of the main response is identical on both screens. The difference is entirely in what happens last. The action card ending creates a moment of genuine forward momentum β€” users don't just have information, they have an obvious next move. This is Peak-End thinking applied to conversational AI: engineer the ending of every significant exchange to be the most useful, most memorable moment of it.


Applying this to your work

The Peak-End Rule has a specific implication that is easy to test: identify the two or three most emotionally loaded moments in your product β€” the moments where something succeeds or fails most visibly β€” and the endpoints of your most common user journeys. These are the moments that write your product's memory. Everything that happens in between matters considerably less than you might assume.

Error states, completion screens, empty states, and the final line of an AI response are all high-leverage targets precisely because they are often under-designed. Teams invest in the onboarding flow but not the onboarding completion. They invest in the feature but not the success state. They invest in the AI model but not how its responses end. The Peak-End Rule tells you exactly where that investment would compound the most.

βœ“ Apply it like this
β†’Design onboarding completion screens as celebratory moments β€” warm tone, a clear next step, a reason to feel good about having signed up.
β†’Turn error pages into recovery experiences β€” acknowledge the frustration, speak like a human, offer three concrete paths forward.
β†’End AI responses with a specific next action β€” a follow-up question, a concrete offer, or a suggested next step rather than a generic closer.
β†’Map the emotional journey of your most common flows and identify the peaks β€” then design those moments deliberately.
βœ— Common mistakes
β†’Treating completion screens as purely functional β€” a checkmark and a button is the minimum viable ending, not a memorable one.
β†’Exposing stack traces or technical error messages on public-facing error pages β€” the user cannot act on this and it worsens the peak negative moment.
β†’Ending AI responses with "Let me know if you have any other questions" β€” this trains users to ignore the closing line.
β†’Spending all design energy on the happy path and leaving error states, empty states, and success states as afterthoughts.

Kahneman, D., Fredrickson, B. L., Schreiber, C. A., & Redelmeier, D. A. (1993). When more pain is preferred to less: Adding a better end. Psychological Science, 4(6), 401–405. Β· Redelmeier, D. A., & Kahneman, D. (1996). Patients' memories of painful medical treatments. Pain, 66(1), 3–8.