Some behaviors are easier to develop than others, but there’s this pervasive idea that it takes 21 days to form a habit. The notion can be traced back to a book published in 1960 by cosmetic surgeon Maxwell Maltz, M.D.—and after selling over 30 million copies, the observation practically became gospel.