In conclusion, based on a cross-sectional study, we analyzed the related factors of sarco-osteoporosis, which included age, regular exercise, height, albumin and LMI, and we developed and validated a simple nomogram to predict the risk of SOP for the middle-aged and elderly hospitalized patients. Here, ALB is linked to osteoporosis.