Multivariate logistic regression analysis showed that the related factors for sarco-osteoporosis in middle-aged and elderly inpatients included age (OR = 1.08, 95%CI 1.03 ∼ 1.14), regular exercise (OR = 0.29, 95%CI 0.15 ∼ 0.56), albumin (OR = 0.9, 95%CI 0.82 ∼ 0.98), height (OR = 0.93, 95%CI 0.88 ∼ 0.99) and lean mass index (OR = 0.66, 95%CI 0.52 ∼ 0.85), and a nomogram was constructed based on the above factors. The gene discussed is ALB; the disease is osteoporosis.