It takes approximately 66 days to form a habit. However, that figure is an oversimplification because habit formation depends on many factors, including the ease of routine, availability of cues, frequency of routine, emotional attachment to reward, and, of course, our environment.