Baseline short weekday sleep duration was positively associated with subsequent suicidal ideation and suicide attempts, and nonmedical use of opioids or sedatives partially mediated the associations mentioned above. Suicidal behavior can be prevented, short weekday sleep duration and nonmedical use of prescription drugs may be risk factors for suicidal behavior, and the respective roles of these factors are needed to be better understood.