Free account

Save your progress

Keep lessons, quiz scores and your certificate in sync across devices. Lessons you already finished in this browser are added automatically.

At least 8 characters.

By continuing you agree to our terms and privacy policy. We store your name, email and course progress. No spam.

Track 3 · Activation & Onboarding · Lesson 4 of 4

Habit Loops: Designing Products People Come Back To

Use the trigger, action, reward and investment loop to build repeat behaviour, match it to your product's natural usage frequency, and set ethical limits before you ship.

TL;DR

Advanced 17 min
  • A habit loop has four parts: a trigger, an easy action, a reward and an investment that makes the next loop more likely. Nir Eyal popularised this as the Hook model.
  • Find your natural usage frequency first. A payroll tool is monthly, a team chat is daily, a coffee bean refill is every three to four weeks. Design the loop for that rhythm.
  • Measure habit as the share of users active at their natural frequency for several periods in a row, not as raw DAU.
  • External triggers start the loop. The goal is an internal trigger: the user thinks of you when the need arises.
  • Ethics is a design input: build loops that serve a goal the user already has, and make them easy to pause or leave.
KPIs it moves
  • Natural-frequency retention
  • Active days per week
  • Habit rate
  • Reorder rate
  • Notification opt-out rate
Best for
  • B2B SaaS
  • E-commerce / D2C

Why this matters

Activation gets a user to value once. Retention depends on whether they come back without you having to buy them again. Products that rely on reminders and discounts for every return visit carry a cost on every use. Products that become a habit get repeat usage almost for free.

A habit is a behaviour done with little conscious thought, set off by a cue. For a product, that means the user reaches for it when a specific situation arises: the team message arrives, the month closes, the coffee runs low. The design question is how to get from “I have to remember to use this” to “this is what I do when that happens”.

The framework

The most widely used model for product habits is the Hook model, popularised by author Nir Eyal. In our own words, it describes four repeating phases.

PhaseWhat happensDesign question
TriggerSomething prompts the behaviour. External triggers are notifications, emails, an icon on the home screen. Internal triggers are feelings or situations, such as boredom, uncertainty or a task deadline.What situation should make the user think of us?
ActionThe simplest behaviour done in expectation of a reward.Can the user do it in seconds, on the device they are holding?
RewardThe payoff. Eyal stresses variable rewards, where the exact outcome is not fully predictable, which keeps attention.Does the user get something they value every time, plus something new some of the time?
InvestmentThe user puts something in (data, content, effort, reputation) that makes the product better for them next time and sets up the next trigger.What does the user leave behind that pulls them back?

The loop matters because investment loads the next trigger. A saved draft creates a reason to return. A follower base brings notifications. A streak count becomes something to protect.

A daily learning habit loop

Each step feeds the next — step 4 (“Investment: streak and progress saved”) loops back into step 1 (“Trigger: evening practice reminder”). Tap a step to trace it.

Each investment makes the next trigger more personal and the next action more worth doing. Over time the external reminder matters less.

Natural usage frequency

Before designing any loop, find how often your product is genuinely needed. This is the natural usage frequency. It is set by the user’s underlying problem, not by your wishes.

ProductNatural frequencyHabit unit
Team chat, language learningDailyActive days per week
Project management, analyticsSeveral times a weekActive days per week
Expense reports, social schedulingWeeklyActive weeks per month
Payroll, invoicing, accounting closeMonthlyActive months per quarter
Coffee, protein, skincare refillsEvery 3 to 6 weeksOn-time reorders

Habit frequency fit is the match between the loop you design and that natural rhythm. A daily loop on a monthly product creates empty visits and notification fatigue. A monthly loop on a daily product lets the habit fade.

Step-by-step playbook

  1. Measure the natural interval. Take users retained at month 3. For each, compute the days between consecutive core actions (not logins). Take the median per user, then the median across users. For D2C, use days between orders for repeat buyers, or pack size divided by daily usage.

  2. Choose the habit metric. Pick the period that matches the interval (day, week, month, reorder cycle) and set a consistency threshold, such as active in 3 of the first 4 weeks. This is your habit rate.

  3. Map the internal trigger. Interview retained users: “What was happening right before you last opened the product?” Look for a repeating situation or feeling. That is the internal trigger you want to own.

  4. Design the external trigger to point at it. Time reminders to the situation, not to your calendar. A finance tool reminds on the last working day of the month. A coffee brand messages when the bag is likely running low. Ask permission well, cap frequency, and give each message one clear action.

  5. Make the action tiny. Deep link straight to the action. Remove logins where safe. Aim for a first meaningful action in under 60 seconds from the trigger.

  6. Design the reward. A reliable core payoff (the report is ready, the order arrives on time) plus some variety (a new insight, a reply from a teammate, a milestone). Celebrate progress, especially early, when each step is a large share of the total.

  7. Ask for an investment after the reward. Save a preference, add a teammate, rate the product, set the next goal. Ask after the reward, when goodwill is highest.

  8. Add flexibility and an exit. Let users pause, skip a cycle, freeze a streak or change frequency. A habit that breaks completely after one miss turns into a churn event.

  9. Run the ethics check (below) before launch, then test against a holdout and watch both habit rate and opt-outs.

Worked example

Say a B2B expense app wants a weekly habit. Its retained users submit receipts a median of every 6.5 days, so the natural unit is weekly.

Baseline, for a cohort of 2,000 new users:

  • Active in at least 3 of their first 4 weeks: 520 users. Habit rate = 520 ÷ 2,000 = 26%.
  • Month-3 retention among habit-formers: 74%. Among the other 1,480 users: 12%.
  • Month-3 retained users: (520 × 0.74) + (1,480 × 0.12) = 384.8 + 177.6 = 562.4, or about 28% of the cohort.

The team designs a Friday loop. Trigger: a 4 pm Friday push, “3 receipts waiting from this week” (the app reads card transactions). Action: snap receipts from a single screen. Reward: “Your claim is ready to submit” and an estimate of when the reimbursement lands, plus a monthly summary of savings. Investment: the user’s categories and approvers are remembered, so next week is faster.

After a test, the habit rate in the test group rises to 33%. If the retention rates for each group hold (a check you must run, not assume):

  • Habit-formers: 2,000 × 0.33 = 660. Retained: 660 × 0.74 = 488.4.
  • Others: 1,340. Retained: 1,340 × 0.12 = 160.8.
  • Total retained: 649.2, or about 32.5% of the cohort, versus about 28% at baseline.

That is roughly 87 more retained accounts per 2,000 signups (649.2 − 562.4 = 86.8). The team also watches push opt-out rate. It rose from 4% to 5%, inside the guardrail they set before the test, so the loop ships.

B2B SaaS vs D2C: what changes

ElementB2B SaaSD2C / e-commerce
Natural frequencySet by work rhythm: daily standups, weekly reports, monthly closeSet by consumption: pack size and usage rate
Best triggersTeammate activity, workflow deadlines, integrations (a Slack or email digest)Depletion timing, delivery updates, WhatsApp and SMS reminders
ActionDo the work in the product, ideally from the notificationOne-tap reorder, saved address and payment
RewardWork done faster, recognition from teammates, new insightProduct arrives on time, visible progress (routine results, points)
InvestmentData, templates, integrations, teammates invitedPreferences, subscription settings, loyalty points, reviews
Common failureDaily nudges for weekly workDiscount-driven reorders that ignore the actual cycle

In D2C, the habit is often the product’s own use, not visits to the store. A skincare brand’s job is to make the morning routine stick, and the reorder follows. In India, WhatsApp is often the most effective external trigger for D2C, but the same rules apply: get consent, time it to the cycle and give one clear action.

The ethics of habit design

Habit design can help people do things they already want to do more consistently. It can also be used to capture attention against their interests. Run these checks before shipping any loop:

  1. Goal alignment. Does the loop help the user reach a goal they already have? Would they agree if you described the loop to them plainly?
  2. Would you use it? Would the team be comfortable with their own families in this loop?
  3. Easy exit. Can users pause, change frequency or turn off triggers in two taps?
  4. Honest triggers. No fake urgency, no invented social activity, no guilt-tripping copy.
  5. Outcome metric. Pair every engagement metric with an outcome metric (lessons learned, expenses filed, skin goals reached) and review both together.

Duolingo’s own published work shows the useful direction: making the streak more flexible and easier to keep (Streak Freezes, separating streak from daily goal) increased engagement rather than reducing it.

How to measure it

  • Cohort and window. Measure habit rate on signup or first-order cohorts, over the first 4 to 8 natural periods.
  • Active-days distribution. For daily or several-times-a-week products, plot how many users were active 1, 2, 3 and up to 7 days in a week. A healthy product shows a meaningful group at the high end that grows over time.
  • Internal trigger signal. Track the share of sessions not preceded by a notification or email in the previous hour. A rising share suggests users come back on their own.
  • Guardrails. Notification opt-out rate, unsubscribe rate, uninstall rate and support complaints. Set thresholds before you launch.
  • Segments. Persona, plan, channel, platform. Habits often form in one segment first.
Case study · Duolingo

Case study: Tuning the streak so more learners build a daily habit

  • 2.4x more likely 7-day streak learners, next-day return
  • 3.6x more likely 7-day streak learners, course completion
  • +3.3% Day-14 retention from separating goal and streak
  • Up over 40% Learners on 7+ day streak after change

Duolingo's streak counts consecutive days of practice, and the company has published how it tunes it. In a 2020 post, Duolingo reported that learners who reach a 7-day streak are 2.4 times more likely to continue using the app the next day than learners without a streak. It found that tying the streak to an ambitious daily XP goal made streaks harder to keep, so it A/B tested separating the two, letting one lesson extend the streak. That change produced a 3.3% increase in day-14 retention, a 1% increase in overall daily active learners and, within 20 days, a 10.5% increase in the share of daily learners on a streak. The post says the change increased learners on a 7+ day streak by over 40%. A 2022 post added that learners who reach a 7-day streak are 3.6 times more likely to complete their course, that a new streak-extension animation raised the share of brand-new learners still using the app 7 days later by 1.7%, and that letting learners equip up to two Streak Freezes increased daily active learners by 0.38%. In Hook terms: a daily reminder is the trigger, one short lesson is the action, the animation and growing count are the reward, and the streak length itself is the investment.

Sources: Duolingo Blog: Improving the streak, forming habits one lesson at a time (2020) · Duolingo Blog: The habit-building research behind your Duolingo streak (2022)

Pitfalls vs pro moves

What amateurs do What top 1% growth teams do
Pushes for daily usage in a product people naturally need once a week or once a month. Measures the natural usage interval from retained users and designs triggers and rewards around that interval.
Uses notifications as the whole habit strategy and sends more when engagement drops. Treats notifications as a temporary external trigger, caps frequency, ties each one to a real reason to act and tracks opt-outs as a guardrail.
Uses the same fixed reward every time, which quickly stops being noticed. Adds some variability: new content, social responses or progress milestones, while keeping the core reward reliable.
Skips the investment step, so each visit starts from zero. Asks users to put something in after the reward (saved items, history, preferences, followers) that makes the next visit better.
Designs streaks that punish one missed day and lead to rage-quits. Builds in flexibility such as freezes, repair windows or weekly goals, as Duolingo did with Streak Freezes.
Measures success by time spent in app regardless of user outcome. Pairs engagement metrics with outcome metrics (goals reached, problems solved) and checks that heavy users report the product helps them.

Knowledge check

Knowledge check

3 questions · pick an answer to see the reasoning

  1. Q1. You run an invoicing tool for freelancers. Retained users typically invoice twice a month. The team proposes a daily login streak. What is the best response?

  2. Q2. Which metric best tells you whether a weekly-use B2B product is forming a habit?

  3. Q3. A D2C protein brand finds customers finish a tub in about 30 days. Which loop is most likely to build a reorder habit?

Sources

  1. Duolingo Blog: Improving the streak, forming habits one lesson at a time (2020)
  2. Duolingo Blog: The habit-building research behind your Duolingo streak (2022)
  3. Nir Eyal: How to Manufacture Desire (the Hook model)

Updated