The 21-Day Habit Myth: What the Science Actually Says

Many people believe it only takes 21 days to form a habit. If this were true, every 21 days you’d be rewiring your brain to prefer a healthier diet, crave exercise, automatically tune out your favorite guilty pleasure, and achieve just about every goal you routinely fail to achieve.

Chances are, if you’ve attempted to make any of these changes, you struggled, failed in your first attempt, tried again and failed again, and if you kept at it, after several months to a year, you finally nailed it.

Where the 21-day habit myth came from

There is no substantial evidence that habits are routinely formed in just 21 days. It’s a popular myth, circulated by self-help gurus, that has inspired a massive number of habit apps claiming to transform people’s lives in 21 days.

If you go to the Journal of Medical Internet Research (jmir.org), which has a large collection of peer-reviewed papers on habit-forming apps, you’ll quickly realize that behavioral scientists don’t talk about the 21-day habit cycle. The myth is being perpetuated by self-help gurus, not scientists.

Research shows it takes 66 days to form a habit

Not many studies have focused exclusively on quantifying the time, but one study called “How are habits formed” found that the average person formed a habit in 66 days. Two months is a reasonable ballpark.

The study showed that if you carry out a routine behavior every day, it will start to feel more automatic, and by about two months, it will feel completely automatic. That’s the point at which you’d say a habit was formed.

The authors also found that cheat days didn’t have any long-term impact on habit formation, provided someone gets back on the program the day after. Cheat weeks did slow down the process, though.

What this means if you’re designing a habit program or product

From my own experience, there appears to be a scientific trend (that I have not systematically evaluated) that successful behavior change programs tend to run for approximately two months, and that after this point, there is a large drop in adherence and impact. The meta-analysis I carried out a few years back (jmir.org/2011/1/e17/) showed that online programs lasting more than four months all failed. As a rule of thumb, for most general purposes, eight weeks is a reasonable target duration for many programs.

Depending on the behavior and audience, you might get away with six weeks, or need to add extra time, especially if you’re trying to make an impact on deeply ingrained behaviors. I recommend that you research each specific behavior and target user group, then pilot to figure out the timing, content, and program before you write a line of code.

The real trick to forming habits is getting people to stick with it and not drop out. Scientists call this “adherence.” Most people who stick with viable programs get the results. The problem is that most people stop using habit-forming technologies long before their habits can form.

If you want to start building habits, start with a realistic timeframe (about eight weeks), develop a strategy to keep people engaged, and do what you can to re-engage people who drop out and pull them back in.