The short answer: Longer than 21 days, and it depends on the habit and the person. The best-known study found new daily habits took a median of 66 days to feel automatic, anywhere from 18 to 254 days. A 2024 review of 20 studies landed in the same spot: about two months in the middle, with a range of 4 to 335 days. And missing one day didn't throw anybody off.

It's day 22. You've done the new thing every morning for three weeks straight. The walk, the glass of water before coffee, the ten minutes with a notebook, whatever yours is. Somebody told you 21 days would lock it in.

And this morning you still had to talk yourself into it.

So you start wondering what's wrong with you. As far as the research goes, nothing. The number was wrong. For most people three weeks isn't the finish line, and for a lot of us it's not even halfway.

How long does it really take to build a habit?

About two months for most people, and a lot longer for some. That's what the two best sources on this say, and they line up pretty well.

The first is a 2010 study from Phillippa Lally and colleagues at University College London. They had 96 volunteers pick one eating, drinking or activity behavior and do it every day in the same situation, like "after breakfast," for 12 weeks. People rated how automatic it felt as they went. The median time to reach that automatic plateau was 66 days, and the range ran from 18 days all the way to 254.

The second is a 2024 systematic review and meta-analysis in the journal Healthcare, led by Ben Singh at the University of South Australia. It pulled together 20 studies and 2,601 people. The median time to form a habit came out to 59 to 66 days. The averages ran higher, 106 to 154 days, because some folks took a really long time. The full range was 4 to 335 days.

Study

Who they studied

How long it took

Lally et al., 2010

96 adults, one daily behavior each, 12 weeks

Median 66 days (range 18 to 254)

Singh et al., 2024

20 studies, 2,601 people

Median 59 to 66 days (range 4 to 335)

Bürgler et al., 2026

254 people, monthly check-ins for 6 months

No single number. Some habits kept getting stronger and some faded

Is the 21-day rule true?

No. It's a nice round number that's been repeated for decades, but the research doesn't back it up. Singh said it plainly when the review came out: the 21-day claims "are not evidence-based."

To be fair, 21 days isn't impossible. The fastest person in Lally's study got there in 18. Just don't plan your whole life around being the fastest person in the study.

The 21-day promise also has a hidden cost. When day 22 shows up and the thing still feels like work, a lot of people take that as proof they failed and they quit, while the habit is still forming.

Why do some habits take 18 days and others take 254?

Because the habit itself, where you do it and how it feels all change the timeline. A new study from this year gives about the clearest picture yet of what speeds things up.

In April 2026, a team that included Lally published a preregistered reanalysis in Personality and Social Psychology Bulletin. They followed 254 people for six months with monthly surveys and tested 10 possible factors. Six were tied to stronger habits, and one of them works against you:

What the study measured

In plain words

What it looks like at 6 AM

Autonomous motivation

You do it because you want to, not because somebody said so

You picked the habit yourself

Behavior frequency

You do it often

Every day beats three times a week

Context stability

Same cue, same place

Same chair, same mug, right after the coffee finishes

Feeling energized

It gives you something back

You feel a little more awake after, not drained

Feeling pleased

You actually like it

Some part of it is enjoyable, even if it's small

Perceived difficulty (hurts)

The harder it feels, the weaker the habit

It's small enough to do on your worst morning

They also found people split into two groups. For one group, habit strength kept climbing. For the other, it faded over time. What separated them was how complex the behavior was, how often people did it and how stable the setting was.

The Healthcare review points the same way on choice, by the way. Habits people picked for themselves formed more strongly than habits somebody assigned to them.

What happens if you miss a day?

Not much, as long as you come back. Lally's team found that missing one opportunity "did not materially affect the habit formation process."

That matters more than it sounds. A lot of us treat a streak like a glass vase, and one crack means it's garbage. So you miss Tuesday, decide you blew it, skip Wednesday too, and then the whole week is gone. It was never the missed day that did the damage, it was the three days of quitting after it.

The 2026 study is a good reminder of the other side, though. Habits can fade. Getting something to automatic doesn't mean it stays there forever if you stop showing up or your setting falls apart. So if you miss a day, come back the next morning and keep everything else the same.

Does it help to build a new habit in the morning?

It seems to. One study in the Healthcare review found people who did a stretching routine in the morning built a stronger habit than people who did it in the evening. Singh's advice from the review: "If you add a new practice to your morning routine, the data shows that you're more likely to achieve it."

That's one study on one behavior, so I wouldn't treat it as law. But it makes sense. For most people the morning is the most repeatable part of the day. You wake up in the same bed, walk into the same kitchen, make the same coffee. By 4 PM anything can happen and usually does.

Tying the new habit to something you already do every morning helps too. Psychologists call the if-then version of this an implementation intention: "When I pour my coffee, I'll write down one thing." A meta-analysis of 94 tests by Gollwitzer and Sheeran (2006) found these plans had a medium-to-large effect on people actually following through.

How do you build a habit that actually sticks?

Pick something small, do it every day in the same spot, and give it about two months. Here's what the research points to:

  1. Choose it yourself. A habit you picked beats one you were handed, even by a well-meaning doctor, boss or partner.

  2. Attach it to something you already do every morning, in the same place. Coffee, brushing your teeth, sitting down at your desk.

  3. Make it small enough for your worst day. If it only works when you slept eight hours, it's going to fade.

  4. Pick something that gives you a little energy or a little satisfaction back. Enjoyment showed up in the data, so it counts.

  5. Plan on around 66 days, not 21, and expect it to feel like work for a good chunk of that.

  6. When you miss a day, come back the next morning. Don't try to make it up. Just do today's.

If your phone tends to get to you before any of this happens, start with how to stop checking your phone first thing in the morning.

What's a good first habit to build?

One that takes under a minute and happens at the same time every morning. Deciding what matters today checks almost every box on that list.

The Question is a free iPhone app that asks one question every morning: What will make today matter? Same question, same time, every day. You answer it in under a minute. Nobody assigns your answer, so it's yours. Then the app reminds you of it midday and checks in with you in the evening. If you miss a morning, you answer the next one. (There's more on why this one question works in What Will Make Today Matter?)

It also works as a home base for other habits. If you're a few weeks into something new, your answer can just be the habit. Here's what that looks like for people in the early, still-feels-like-work stretch:

  • "Walk before the kids wake up. Ten minutes counts."

  • "Day 23 of writing. One page, even a bad one."

  • "Missed yesterday's run. Going today, even if it's slow."

  • "Water before coffee. That's it."

  • "Show up to the gym. That's the whole goal today."

Frequently asked questions

Is it 21 days or 66 days to form a habit?

Neither number is a rule, but 66 is the one with research behind it. In Lally's 2010 study, the median was 66 days, with a range of 18 to 254. A 2024 review of 20 studies found a median of 59 to 66 days. The 21-day figure isn't backed by evidence.

Does missing a day break a habit?

No. Lally's study found that missing one opportunity did not materially affect habit formation. What hurts is letting one missed day turn into a week off. Come back the next day.

What makes a habit form faster?

A 2026 study of 254 people linked stronger habits to choosing the habit yourself, doing it often, doing it in a stable setting, and finding it energizing or enjoyable. Habits that felt harder were weaker. So small, daily, same place and something you like is the fastest route.

How long does it take to build a morning routine?

Plan on about two months for each piece to feel automatic, and longer for complicated routines. Start with one small thing tied to something you already do, like your coffee, and add the next piece once the first one feels easy.

One question. Every morning.

A daily habit that takes under a minute, at the same time every morning. Free on iPhone.