While it will vary from person to person, it takes an average of 21 days to form a habit. This is why it's so important to take your time and understand that you may have a few slipups along the way.