Purpose: This study was designed to evaluates the effects of TBS, bone mineral density (BMD), and fracture risk in PHPT patients.Methods: The study group comprised 82 PHPT patients, and sex-, age-matched 50 hypercortisolism patients. The BMD and TBS were measured using DXA and TBS iNsight software. A receiver operating curve and logistic analysis were used to evaluate TBS. The FRAX index was calculated with and without the adjustment of TBS to evaluate the sensitivity and specificity of fracture risk. Results: Sixty-two per cent of PHPT patients exhibited degraded bone microstructure, thirty-nine per cent were diagnosed with osteoporosis by DXA. TBS had a moderately positive correlation with the lumbar spine, femoral neck, and total hip BMD. For PHPT patients, the BMD of the fracture group was lower compared to that of the non-fracture group, and the FRAX indexes were higher than that of the non-fracture group. There was no statistical difference in TBS between the fracture group and the non-fracture group. In hypercortisolism patients, there was no statistical difference in BMD and TBS between the fracture group and the non-fracture group. In PHPT patients, TBS was a predictor of osteoporosis even after adjusting for age, gender, and BMI (P = 0.001, OR = 0.120, 95% CI [0.033-0.435]); In contrast, TBS was not a predictor in hypercortisolism patients, regardless of whether adjusting confounding factors or not. The sensitivity of FRAX in the prediction of fracture risk in PHPT and hypercortisolism is higher than TBS alone. Conclusions: TBS combined with BMD can increase the diagnostic accuracy of PHPT patients. Moreover, FRAX is more sensitive to fracture prediction than TBS in patients with PHPT or hypercortisolism.