Track your habits and build streaks.
Habit TrackerThe 21-day myth
You have almost certainly heard that it takes 21 days to form a habit. This figure is so widely repeated that it feels like established science. It is not.
The number comes from a 1960 book by plastic surgeon Maxwell Maltz, who noticed that patients adjusted to their new appearance in about 21 days. Self-help authors picked it up, dropped the word "about", and repeated it as fact.
The actual research: a 2010 study by Phillippa Lally and colleagues at University College London, published in the European Journal of Social Psychology, tracked 96 participants forming real habits over 12 weeks. On average, it took 66 days for a behaviour to become automatic. The range was 18 to 254 days depending on the person and the complexity of the behaviour.
The good news from this study: missing one day had no meaningful effect on the long-term outcome. A single slip does not break a habit in formation.
The habit loop
Charles Duhigg's research, popularised in The Power of Habit, identified a three-part structure underlying every habit:
- Cue: A trigger that tells your brain to initiate the behaviour. It can be a time, a location, an emotion, another person, or a preceding action.
- Routine: The behaviour itself — what you actually do.
- Reward: The positive outcome that teaches your brain this loop is worth repeating.
To build a new habit deliberately, you need all three components to be explicit. Vague intentions ("I want to exercise more") fail because there is no cue and no defined reward. Specific intentions work better: "When I make my morning coffee (cue), I will do 10 push-ups (routine), then sit down and drink it (reward)."
Implementation intentions
Researchers Peter Gollwitzer and Paschal Sheeran found that people who formed an "implementation intention" — a specific plan of when, where, and how they would perform a new behaviour — were significantly more likely to follow through. The format is:
"I will [behaviour] at [time] in [location]."
This works because it links the behaviour to an existing environmental cue, reducing the cognitive load of decision-making in the moment.
Habit stacking
James Clear's concept of habit stacking builds on implementation intentions. The formula is:
"After I [current habit], I will [new habit]."
Examples:
- After I pour my morning coffee, I will write in my journal for five minutes.
- After I sit down at my desk, I will review my task list before opening email.
- After I brush my teeth at night, I will do a two-minute stretch.
The existing habit acts as a reliable cue, and the sequence builds naturally without requiring willpower each time.
Why streaks work (and when they don't)
Tracking streaks leverages loss aversion — the psychological principle that people feel losses more strongly than equivalent gains. Breaking a 30-day streak feels disproportionately bad, which motivates you to maintain it.
Streaks work best when:
- The habit is small enough that the minimum viable version takes under two minutes.
- You never miss twice in a row. One missed day is an accident. Two missed days is the beginning of a new habit — not doing the thing.
- You track consistently. Uncertainty about whether you did something yesterday destroys the streak's motivating power.
Streaks fail when the habit is too ambitious to maintain on bad days. The solution: define a "minimum viable" version of every habit. Running every day becomes "put on my shoes and step outside." Meditating becomes "sit quietly for one minute." On good days you do more. On hard days, the minimum version keeps the streak alive.
How many habits at once
The evidence consistently supports focusing on a small number of habits simultaneously. A 2021 study in Nature Human Behaviour found that forming multiple habits in parallel led to interference between them, especially in the early stages.
The practical recommendation: start with one to three habits. Track them for 8–12 weeks. Only add new habits once the existing ones feel genuinely automatic — meaning you do them without thinking about whether to do them.
Environment design
Willpower is unreliable. Environment is not. The most durable habit changes come from designing your physical space so the desired behaviour is the path of least resistance:
- Want to read more? Put the book on your pillow, not on a shelf.
- Want to drink more water? Place a glass on your desk, refilled each morning.
- Want to exercise? Sleep in your workout clothes on days you plan to train in the morning.
Remove friction from the desired behaviour. Add friction to undesired ones. Your future self will take the easier path — make sure the easier path is the right one.
Frequently asked questions
Does missing one day ruin a habit?
No. The Lally et al. study explicitly found that occasional missed days had no significant effect on the long-term automaticity of the habit. What matters is the overall trend, not individual days. Never miss twice in a row is a more useful rule than never miss at all.
Are morning habits better than evening habits?
Neither is inherently better. The best time for a habit is when you have the most reliable cue and the least competing demands. Morning habits benefit from a consistent anchor (waking up), but evening habits work equally well for people with predictable evening routines.
What happens to habits after the streak is broken?
A broken streak does not erase the neural pathways built during the streak period. Habits that have been practised for weeks or months reactivate more quickly than they formed, even after a gap. Resuming as soon as possible is what matters.
Should I reward myself for completing habits?
Immediate rewards accelerate habit formation because they make the reward portion of the habit loop tangible. The reward does not need to be large — a physical check mark, a counter ticking up, or a short break all work. The act of tracking itself, as in a habit tracker, functions as a satisfying micro-reward.
Ready to start building?
Open Habit TrackerRelated tools
- Pomodoro Timer — focused work sessions to make productivity a daily habit
- Water Intake Calculator — calculate your daily water goal and track every drink
- Sleep Calculator — find the best times to wake up based on sleep cycles