The present invention relates to substituted imidazo [1,2-a]pyridines offormula I where R is -CH2COOH or-COOH, which inhibits exogenously or endogenously stimulated gastric acidsecretion and can be used in the prevention andtreatment of gastric acid related diseases and gastrointestinal inflammatorydiseases.