Behavioral effect

Habit formation

Repeating an action in the same context, with a cue and a reward, gradually makes it automatic so people return without deciding to.

Habit formation A loop of cue, action and reward: an 8:00 reminder, a 5-minute lesson, a Lesson done message, repeated the next day. Below, a curve of how automatic the action feels rises slowly and levels off at a median of 66 days, and one missed day does no harm. One loop, same cue every day Cue 8:00 reminder Action 5-minute lesson Reward “Lesson done!” repeat tomorrow How automatic the action feels fully automatic Missed day: no harm Day 66 Day 1 66 days to become automatic Median. Range 18 to 254 days. Lally et al., 2010, 96 people Weeks, not one session
A cue, a small action and a reward repeat daily, and in Lally et al.'s 2010 study the action took a median of 66 days to feel automatic.

A habit is an action triggered by a context cue rather than a conscious goal. On this site the principle covers engagement loops, positive reinforcement and anticipation: teaching a keyboard shortcut at the moment it is useful, celebrating a small win, suggesting related questions after an answer, or giving a reason to come back in a week.

Wood and Neal (2007) describe habits as context-response links built slowly through repetition; once formed, the cue triggers the action with little thought. Lally and colleagues (2010) followed 96 people adopting a daily behavior. Among those whose data fit the model, reaching peak automaticity took a median of 66 days, with a very wide range (18 to an extrapolated 254 days), and missing a single day did not derail the process. Nir Eyal's Hooked popularized a product version of the loop: trigger, action, variable reward, investment.

For onboarding, the lesson is that the first session cannot create a habit; it can only start the repetition. Pick one action worth repeating, attach it to a cue the user already has, and make the first few repetitions easy and rewarding.

How to use it

  • Pick the one repeatable action that delivers value (a search, a check-in, a shortcut) and teach it in context, not in a tour.
  • Tie the action to an existing cue in the user's day or workflow (a new photo, a new branch, a morning reminder they chose).
  • Give immediate, visible feedback on the first few repetitions, and suggest the next step so the loop continues.

Watch out

  • Engineering compulsion with endless feeds, streak guilt or random rewards can raise short-term usage while hurting the user, and is often called out as manipulative.
  • Expecting a habit in days sets the wrong goal; Lally's data suggest weeks to months, and the popular "21 days" figure is not supported.

Related

Habit formation in real products 6 working · 0 not