1945. The earliest printed relative is not about cocaine at all. A joke in the Omaha World Herald of 15 October 1945, reprinted the same year in Bennett Cerf’s Laughing Stock, has a doctor warn “a famous star” off sleeping pills: “They’re habit forming.” — “Habit forming! Don’t be absurd. I’ve been taking them for 20 years.” Quote Investigator conjectures this is a sanitised retelling of a Bankhead remark already circulating, but allows that the influence could run the other way.
1952. Bankhead prints her own version, addressed to friends at a party rather than to anyone in particular.
1954. A syndicated columnist attaches the same logic to an indignant constituent of Florida Senator George A. Smathers, complaining that her “health-giving nostrum” has been restricted: “I know it’s not, because I’ve been taking it every day for twenty-five years!” Quote Investigator flags the anecdote as of uncertain veracity.
1973. Hellman’s Pentimento puts it in a room with Hammett, who had told Bankhead he disliked being around people who took dope — in his Pinkerton days, he said, he feared them more than murderers.
1973/74. Halliwell’s quotation book files the smoothed, modern wording under Bankhead, and that is the form the internet inherited. Quote Investigator verified it at page 15 of the Arlington House edition of 1974, which reprints a 1973 Granada edition published in London — so it runs alongside Pentimento, not after it.