Contrary to popular belief, there isnβt a magic number of repetitions that result in a habit forming. Some say that you need to repeat an action fifty times or for twenty-one days, but very few researchers have actually looked at this question systematically. And those that have done tend to find that there isnβt a clear-cut answer to the question. In one of the few studies to have tracked the formation of healthy habits in real-world settings, researchers studied ninety-six students who had just moved to university and were encouraged to repeat behaviours in response to consistent cues (such as βgoing for a walk after breakfastβ). They found that habits formed in some of the students after eighteen days, but for some it took much longer – up to 254 days. The average was sixty-six days.
Excerpt from: Think Small: The Surprisingly Simple Ways to Reach Big Goals by Owain Service and Rory Gallagher