Br[C:2]1[N:7]2[CH:8]=[CH:9][N:10]=[C:6]2[CH:5]=[C:4]([CH3:11])[CH:3]=1.[CH3:12][O-:13].[Na+]>CO>[CH3:12][O:13][C:2]1[N:7]2[CH:8]=[CH:9][N:10]=[C:6]2[CH:5]=[C:4]([CH3:11])[CH:3]=1A solution of 5-bromo-7-methylimidazo[1,2-a]pyridine (2 g, 0.01 mol) and sodium methoxide (25%, 10 mL) in methanol (10 mL) is heated under reflux for 48 h. The solvent is removed and the residue diluted with ethyl acetate (200 mL) and water (150 mL). The organic layer is separated and washed with water and brine, and dried over sodium sulfate. Evaporation of the solvent gave 5-methoxy-7-methylimidazo[1,2-a]pyridine (lg, 62%) as a white semi-solid.