Skip to content

How do you build habits that stick?

How long a habit really takes, why a cue matters more than willpower, and what the research says about tracking, streaks, reminders and missed days.

On this page
  1. How long does it take to build a habit?
  2. What makes a habit stick?
  3. Should you start small?
  4. Do if-then plans help?
  5. Does tracking your habits help?
  6. Do streaks and rewards help?
  7. What if you miss a day?
  8. Should you rely on reminders?
  9. Where Launch Indie Apps fits
  10. Do this today
  11. Common questions
  12. Sources

The short answer

Pick one small action and attach it to something you already do every day, then do it at that moment every time. Expect it to take around two months, often longer, and don't worry about missing a day. Ticking it off on paper or in an app helps you keep going.

Most habits don't fail on day one. They fail around week three, when the motivation is gone and the action still feels like a decision.

The research on getting past that point is surprisingly consistent, and a little boring. Good.

How long does it take to build a habit?

Longer than 21 days. In the best-known study, 96 volunteers each picked one daily eating, drinking or exercise habit and tied it to something they did every day. For the people whose data could be modelled, the median time until it felt automatic was 66 days, with a range from 18 to 254.

The researcher behind that study now stresses the range, not the average: what it really showed is that habit formation is highly variable. In that study, drinking habits tended to form faster than exercise ones, though the groups were small.

So plan for about two months, and don't read anything into it if yours takes longer.

What makes a habit stick?

A cue. A habit is an action your surroundings start for you. Once it forms, the context triggers the response without you having to decide.

That's why the most useful advice is about when and where, not how much you want it. A GP-focused summary of the research puts it as: repeat the action in the same context, and pick a cue inside a routine you already have.

Examples that work because the cue never moves:

  • after I pour my morning coffee, I write tomorrow's top task
  • after I park the car at work, I walk one lap of the block
  • after I sit down for dinner, I drink a full glass of water

Should you start small?

Yes. The same summary recommends small, manageable changes, because failing early is discouraging, and notes that simpler actions become habitual more quickly.

It adds one more rule worth knowing: you can't form a habit of not doing something. "Stop scrolling in bed" won't become automatic. "Put the phone on the kitchen charger at 10" can.

Do if-then plans help?

They do, a lot. Writing a plan in the form "when X happens, I will do Y" had a medium-to-large effect on reaching goals across 94 tests with more than 8,000 people.

It's the same idea as the cue, written down. "I'll exercise more" is a wish. "When I get home on Monday, Wednesday and Friday, I change straight into running clothes" is a plan.

Does tracking your habits help?

Yes. A review of 138 experiments found that monitoring your progress helped people reach their goals, and the effect was larger when people physically recorded it or shared it with others.

That's the honest case for a habit tracker: it isn't magic, but writing it down works better than keeping it in your head.

Do streaks and rewards help?

Less clearly than apps suggest. Research on streaks shows an intact streak makes people keep going, but that's about engagement, not about the habit becoming automatic.

Rewards help most at one specific moment. In a study of more than 60,000 gym members testing 54 ideas, the best one offered small rewards for coming back after a missed workout. And the original habit study gave no rewards at all, yet habits still formed.

A streak is fine if it motivates you. Just don't let a broken one end the habit.

What if you miss a day?

Carry on. In the habit study, missing one day did not materially affect the habit forming. What hurts is turning one miss into a week.

A rule that helps: never miss twice. One skipped day is noise. Two in a row is the start of a new pattern.

Should you rely on reminders?

Not on their own. A study of habit apps found that relying on reminders supported repetition but hindered habit development: people did the action, but because the phone told them to, not because the moment did. Cues tied to events, like finishing breakfast, built more automatic habits.

Use reminders while you set up the cue, then lean on the cue.

Where Launch Indie Apps fits

Launch Indie Apps lists indie habit trackers on Build daily habits: HabitKit for any habit you want to build or break, and apps for single habits like drinking water or walking more. Each listing shows the price, what's free, and whether you need an account.

Do this today

Write one sentence: "After I [something you already do every day], I will [one small action]." Do it once today, right after that moment.

Common questions

Is it true that it takes 21 days to form a habit?

No. In the best-known study, the median was 66 days for the people whose data could be modelled, ranging from 18 to 254 days. Simple habits form faster than hard ones.

What is the best way to track habits?

Any way you'll keep up. Research found that physically recording your progress works better than just thinking about it, so a tick on paper or a tap in a habit tracker both count.

Does missing a day ruin a habit?

No. Missing a single day didn't materially affect habit formation in the research. The risk is letting one missed day become several.

Sources

A note from Rashem

Almost every habit app we list leads with a streak. Reading this research changed what I'd look for: an app that makes the moment obvious and doesn't punish a missed day. The cue does the work. The app keeps score.

Read next

For app users

How do you drink more water?

How much you need, what counts, and how to drink more when you forget or don't like water. From NHS, CDC and Mayo Clinic advice.

October 18, 2026 · 4 min read
For app users

How do you start journaling when you have no time?

You don't need 20 minutes a day. What the research says about short entries and how often to write, and how to make three lines a day stick.

October 18, 2026 · 4 min read

A few great apps. Every week.

Handpicked indie iOS apps in your inbox. Free, and one click to unsubscribe.

No spam. Just great apps.