To add to AmericanEnglishCoach's answer, I'll mention about "bad habits".
While vice is used for the more technically/clinically addictive "habits" (like excessive drinking, smoking, gambling etc...), the term "bad habit" would generally refer to more "personal/petty" unwanted habits like biting one's nails, scratching in hmmm...(get it?); staying up late too often or getting immune to your alarm clock.^^