The reaction in anhydrous ethanol of some substituted 2-aminopyrazines with ethyl 2-benzoyl-2-bromoacetate or with ethyl 3-bromo-4-oxopentanoate afforded a group of ethyl 2-phenylimidazo[1,2-a]pyrazine-3-carboxylates and a group of ethyl 2-methylimidazo[1,2-a]pyrazine-3-acetates, respectively. The corresponding acids obtained via alkaline hydrolysis were subjected to pharmacological testing in vivo in order to evaluate their antiinflammatory activity.