A novel class of antiulcer agents, the substituted imidazo[1,2-a]pyridines, is described. The present compounds are not histamine (H2) receptor antagonists nor are they prostaglandin analogues, yet they exhibit both gastric antisecretory and cytoprotective properties. The mechanism of gastric antisecretory activity may involve inhibition of the H+/K+-ATPase enzyme. Structure-activity studies led to the identification of 3-(cyanomethyl)-2-methyl-8-(phenylmethoxy)imidazo[1,2-a]pyridine, SCH 28080 (27), which was selected for further development and clinical evaluation.