PurposeSleep disorders are becoming more prevalent in hospitalized patients with acute myocardial infarction (AMI). We aimed to investigate the risk factors for sleep disorders in hospitalized patients with AMI, then develop and validate a prediction nomogram for the risk of sleep disorders.MethodsClinical data were collected from patients with AMI hospitalized in our hospital from January 2020 to June 2023. All patients were divided into the training group and the validation group with a ratio of 7:3 in sequential order. The LASSO regression analysis and multivariate logistic regression analysis were used to screen potential risk factors for sleep disorders. The concordance index (C-index), calibration curves, and decision curve analysis (DCA) were plotted.ResultsA total of 256 hospitalized patients with AMI were enrolled. Patients were divided into the training group (180) and the validation group (76) according to a scale of 7:3. Of the 256 patients, 90 patients (35.16%) suffered from sleep disorders, and 33 patients (12.89%) needed hypnotics. The variables screened by LASSO regression included age, smoking, NYHA class, anxiety status at admission, depression status at admission, and strangeness of environment. A nomogram model was established by incorporating the risk factors selected. The C-index, calibration curve, and DCA showed good predictive performance.ConclusionsWe identified six clinical characteristics as predictors of sleep disorders in hospitalized patients with AMI. It helps nurses make appropriate decisions in clinical practice.