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
- How are habits formed: modelling habit formation in the real world (European Journal of Social Psychology, 2010), Lally, van Jaarsveld, Potts and Wardle (checked October 17, 2026)
- Does it really take 66 days to form a habit? We asked expert Dr Pippa Lally, University of Surrey (checked October 17, 2026)
- Making health habitual (British Journal of General Practice, 2012), Gardner, Lally and Wardle (checked October 17, 2026)
- Psychology of habit (Annual Review of Psychology, 2016), Wood and Rünger (checked October 17, 2026)
- Implementation intentions and goal achievement: a meta-analysis (Advances in Experimental Social Psychology, 2006), Gollwitzer and Sheeran (checked October 17, 2026)
- Does monitoring goal progress promote goal attainment? (Psychological Bulletin, 2016), Harkin et al. (checked October 17, 2026)
- Beyond self-tracking and reminders: designing smartphone apps that support habit formation (CHI 2015), Stawarz, Cox and Blandford (checked October 17, 2026)
- On or off track: how (broken) streaks affect consumer decisions (Journal of Consumer Research, 2023), University of Colorado Boulder (checked October 17, 2026)
- Megastudies improve the impact of applied behavioural science (Nature, 2021), Milkman et al. (checked October 17, 2026)
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.