Our study found that H. pylori may affect osteoporosis through serum albumin, HDL, fasting blood glucose and vitamin D, Which may be involved in the link that H. pylori infection stimulates local and systemic inflammatory factors acting on this aspect of bone conversion. Here, ALB is linked to osteoporosis.