How to Build a Habit That Sticks
Key points
- A habit forms when one small action is repeated in the same situation.
- Timing varies widely: a 2010 UCL study found 18 to 254 days, so do not expect a fixed number.
- Start tiny, write an if-then plan, set up your space and keep a simple record.
- After a missed day, do the tiny version at your next cue and carry on.
A habit sticks when you repeat one small action in the same situation until the situation starts to prompt it. To build one, pick a tiny action, tie it to something you already do each day, keep a simple record, and carry on after a missed day. Plan for weeks to months, not a set number of days. In a 2010 University College London (UCL) study, the time for a daily action to become about as automatic as it would get ranged from 18 to 254 days between people.
How does a habit form?
A habit is an action that a cue sets off almost automatically. A cue can be a place, a time, something you just did, or a feeling. A 2015 review in Health Psychology Review explains that habits form when an action is repeated in a specific setting, and that rewarding outcomes can speed up learning the link between cue and action.
After enough repeats, the cue starts the action with little thought. The same 2015 review notes that people stick with simpler actions more easily and that complicated routines may take longer to become habits, so the first step is to start small.
How long does it really take?
In a 2010 UCL study, 96 volunteers each chose one eating, drinking or activity habit and did it daily in the same situation for 12 weeks. That 2010 UCL study found that reaching 95 percent of each person's own plateau (the point where the automatic feeling stopped rising) took anywhere from 18 to 254 days. Because the 2010 UCL study ran only 12 weeks, any longer times were predicted from each person's curve.
A 2024 review in the journal Healthcare found that only four of its 20 studies measured how long habits took. In those four, the 2024 review reports medians (the middle result) of 59 and 66 days, averages of 91 to 154 days, and, in one study, individual people ranging from 4 to 335 days. The 66 is the median from the 2010 UCL study. The 2024 review's authors say the evidence contradicts the popular 21-day idea and that short 21-day challenges are unlikely to be enough.
Treat any number as a rough guide, never a promise, since the 2024 review notes the evidence is still limited. A better sign than a day count is how it feels: you start without deciding, and skipping it feels odd.
Step 1: Make it tiny and give it a cue
Choose one action you want to do, and make it so small that you could still do it on a bad day: put on your walking shoes, drink a glass of water, read one page. Small is not a lack of ambition: it gives you the most chances to repeat, and repeating builds the habit.
Then tie it to a cue with an if-then plan: when this happens, I will do this. Psychologists call these implementation intentions, and when the cue is something you already do, some people call it habit stacking. A 2006 meta-analysis of 94 tests, in Advances in Experimental Social Psychology, found that a plan saying when, where and how to act had a medium-to-large positive effect on reaching goals.
Pick a cue that is specific and already in your day. 'In the morning' is vague; 'after I pour my coffee' is clear. Some examples:
- After I pour my morning coffee, I will drink one glass of water.
- When I get into bed, I will read one page.
- After I put on my shoes, I will walk to the end of the block.
- When I sit down for lunch, I will eat one piece of fruit.
Step 2: Set up your space and keep a record
Make the cue easy to notice and the first move easy to make: the book on your pillow, the walking shoes by the door, the water glass by the sink. To read in bed instead of scrolling, charge your phone across the room.
In a 2005 study of students who changed universities, published in the Journal of Personality and Social Psychology, habits such as exercising and reading the newspaper tended to continue when the setting stayed the same and were disrupted when it changed. After a move, a new job or a new schedule, expect to set your cues up again.
Keep a simple record and mark it right after you act: a check mark on a paper calendar, a note on your phone, or a habit tracker. A 2016 meta-analysis of 138 studies with 19,951 people, in Psychological Bulletin, found that getting people to monitor their progress toward a goal improved goal attainment, with larger effects when progress was physically recorded and when it was reported or made public.
Look at the pattern over weeks, not one streak, and add a small reward you enjoy right afterward, such as a favorite song.
What should you do after a missed day?
Do the tiny version at your next cue and carry on. In the 2010 UCL study, missing one opportunity to do the action made no meaningful difference to how the habit formed. The 2024 review adds that consistency in repeating the action is crucial, though how much is needed remains unclear. So treat one slip as normal, and a pattern of slips as a sign to change the plan.
When a pattern shows up, ask what got in the way rather than what is wrong with you. Was the action too big, or did the cue disappear? Then shrink the action, pick a different cue, or both. After a longer break, such as illness or travel, restart smaller than where you left off.
Decide ahead of time: 'If I miss a day, I will do the one-minute version at my next cue' is an if-then plan like the one in Step 1.
Mistakes that quietly end habits
Each of these is easy to fall into and easy to fix.
- Starting too big. An hour at the gym daily is hard to keep up in a busy week.
- Waiting to feel motivated. A cue and a tiny action ask much less of motivation.
- Keeping the plan vague. 'Eat better' gives you no moment to act on; 'add one vegetable to dinner' does.
- Starting many habits at once. One at a time is easier to follow.
- Expecting a fixed number of days. As the 2024 review says, 21-day challenges are unlikely to be enough.
When should you get more support?
If low mood, anxiety, pain, exhaustion or a health condition keeps getting in the way of even the tiny version, talk to a doctor or counselor, because treating the cause can matter more than any technique. The same goes for habits tied to alcohol, other drugs, gambling, eating or self-harm: a health professional is a better first step than going it alone.
If you have a health condition, check with a doctor before starting a new exercise or eating plan. A friend, family member or group can help too: the 2016 Psychological Bulletin review above found larger effects when progress was reported or made public, so consider sharing yours.
If you are in danger or thinking about harming yourself, in the US call 911, call or text 988, or text HOME to 741741 to reach the Crisis Text Line, and elsewhere contact your local emergency services.
What to do next
Today, write one if-then sentence for one tiny action and put the first cue where you will see it. At the next cue, do it and check it off. After a couple of weeks, check your record: if you skipped often, make the action smaller or change the cue, and if it feels easy, add a little. Give it time, since it can take weeks to months.
In the app, the free Habit Tracker lets you check off habits each day and see your streak and a 90-day activity grid, and the Habit Stacking planner links a new habit to a routine you already have.
Sources
- How are habits formed: Modelling habit formation in the real world (European Journal of Social Psychology (Wiley), 2010)
- Time to Form a Habit: A Systematic Review and Meta-Analysis of Health Behaviour Habit Formation and Its Determinants (Healthcare (MDPI), 2024)
- A review and analysis of the use of 'habit' in understanding, predicting and influencing health-related behaviour (Health Psychology Review (Taylor & Francis), 2015)
- Implementation intentions and goal achievement: A meta-analysis of effects and processes (Advances in Experimental Social Psychology (Elsevier), 2006)
- Does monitoring goal progress promote goal attainment? A meta-analysis of the experimental evidence (Psychological Bulletin (American Psychological Association), 2016)
- Changing circumstances, disrupting habits (Journal of Personality and Social Psychology (American Psychological Association), 2005)
SOS is an educational tool. It is not a doctor, therapist, financial adviser, lawyer or crisis service. Use it to learn and to keep track of your own life, and check anything important with a qualified person.