Methods of diagnosing Helicobacter pylori infection or associated conditions are based in part on the correlation of the presence of a α-L-fucosidase 2 marker with the infection. Methods and compositions for treating or preventing Helicobacter pylori infection or associated conditions are based in part on administering an α-L-fucosidase 2 inhibitor to an infected subject or a subject at risk of developing the infection.