In our data, menopause, ESR, CRP level, HLA-B27 positivity, glucocorticoid use, and PPI use were associated with an increased prevalence of osteoporosis and a high risk of osteoporotic fractures. Here, CRP is linked to osteoporosis.