Using multivariate analysis, the association between H. pylori infection and iron deficiency was different by hepcidin levels. Here, HAMP is linked to nutritional disorder.