This study aimed to investigate the risk factors related to sleep disorders in patients undergoing hemodialysis using a nomogram model. A cross-sectional survey was conducted in a hospital in Zhejiang province, China from January 1, 2020, to November 31, 2022 among patients undergoing hemodialysis. Dietary intake was assessed applying a Food Frequency Questionnaire. Sleep quality was evaluated by the Pittsburgh Sleep Quality Index. Evaluation of risk factors related to sleep disorders in patients undergoing hemodialysis was using a nomogram model. This study included 201 patients and 87 individuals (43.3%, 87/201) exhibited sleep disorders. The average age of included patients was 51.1 ± 9.0 years, with males accounting for 55.7% (112/201). Results from nomogram model exhibited that potential risk factors for sleep disorders in patients undergoing hemodialysis included female, advanced age, increased creatinine and alanine aminotransferase levels, as well as higher red meat consumption. Inversely, protective factors against sleep disorders in these patients included higher consumption of poultry, fish, vegetables, and dietary fiber. The C-index demonstrated a high level of discriminative ability (0.922). This study found that age, sex, and dietary factors were associated with sleep disorders in hemodialysis patients. Hemodialysis patients with sleep disorders require urgent dietary guidance.