Exploratory mediation analysis of β-CTX and CRP was performed to assess indirect statistical associations linking HBV DNA with BMD.<h4>Results</h4>Patients with osteoporosis had considerably higher HBV DNA levels than those with osteopenia or normal BMD. Here, CRP is linked to osteoporosis.