According to George Mitchell, who was former Federal Judge and US Attorney, steroid use, except when legally prescribed by doctor, has been banned in MLB since 1971. In 1971 baseball banned the player use of all prescription drugs that aren't doctor prescribed to the user. In 1991 steroids were specifically named. So, according to MLB's rules, steroids and related drug use without legal prescription has been illegal in baseball since 1971.