The associations between prescriptions for at least a 2-year supply of PPIs and B12 deficiency were similar among cases diagnosed in the years 1997-2003 (prior to PPIs being available over the counter; OR, 1.55 [95% CI, 1.34-1.80]) and among cases diagnosed in the years 2004 to 2011 (after PPIs also became available over the counter; OR, 1.67 [95% CI, 1.59-1.75]).