It's a common belief that it takes 21 days to form a habit, but that's not actually true. According to this study published in European Journal of Social Psychology, it can take anywhere from 18 to 254 days to develop new habits - the average being 66 days. However, this number can vary depending on the person and the goal they're trying to achieve.