ObjectiveInflammation contributes to the development of metabolic bone diseases. The C-reactive protein-to-albumin ratio (CAR) is an inflammation-based marker with a prognostic value for several metabolic diseases. This study investigated the relationship between the CAR and osteoporosis (OP) in patients with primary biliary cholangitis (PBC).MethodsPatients with PBC treated at Beijing Ditan Hospital between January 2018 and June 2023 were enrolled. Logistic regression analysis was performed to investigate the factors influencing OP. The predictive value of CAR for OP was evaluated using receiver operating characteristic (ROC) curves. Moreover, a restricted cubic spline (RCS) fitted with a logistic regression model was used to analyze the relationship between CAR and OP.ResultsThe prevalence of OP among the patients with PBC was 26.9% (n = 82). CAR levels were higher in the OP group than in the non-OP group (0.33 (0.09, 0.61) vs. 0.08 (0.04, 0.18), P < 0.001). Logistic regression analysis showed that CAR was an independent predictor of OP in patients with PBC (odds ratio = 2.642, 95% confidence interval = 1.537-4.540, P < 0.001). CAR exhibited a good predictive ability for OP, with an areas under the curve (AUC) of 0.741. We found that individuals with CAR values > 0.1 have higher odds of OP. In addition, high CAR levels were associated with an increased prevalence of fragility fractures and high 10-year fracture risk.ConclusionHigh CAR levels were associated with greater odds of developing OP, and the CAR could serve as an independent predictor of OP in patients with PBC.