Given the cross-sectional nature of this study, causality cannot be determined. However, there are some plausible mechanisms for this association, and it is not the first to suggest a link between acid suppression and headaches, particularly with longer-term use. For example, in a large prospective general population cohort, PPI and H2RAs have previously been associated with a doubling in the risk for hypomagnesemia, a fairly late-stage marker for depleted magnesium levels. Additionally, the risk was tripled among longer-term PPI users, and over 7-fold higher among people also taking a loop diuretic (which may compromise magnesium reabsorption). A previous analysis of the 1994-2004 NHANES cohort found that most people in the U.S. are not meeting even basic recommended intakes for magnesium, and that doing so through a combination of diet and supplements was associated with approximately a 20% lower risk of migraine.