Research suggests that it takes anywhere between 18 to 254 days to break a bad habit. The time frame varies from person to person.