Human leukocyte antigen-B27 (HLA-B27) positivity (OR 5.3, CI 1.07–15.3, p = 0.046), CRP level (OR 1.67, CI 0.13–0.96, p = 0.041), and use of glucocorticoids (OR 6.02, CI 1.36–26.6, p = 0.018) were associated with osteoporosis based on the WHO criteria. Here, CRP is linked to osteoporosis.