The invention discloses a synthesis method of an aminomethylated imidazo[1,2-a]pyridine compound; and according to the synthesis method, N-aryl glycine and imidazo[1,2-a]pyridine carry out decarboxylation coupling reactions in the presence of visible light. In an organic solvent, N-aryl glycine and imidazo[1,2-a]pyridine derivatives carry out reactions to prepare the aminomethylated imidazo[1,2-a]pyridine compound under the irradiation of visible light. The structure of the compound is tested and characterized by 1H NMR, 13C NMR, and HR-MS so as to determine the structure. The preparation method does not need any photo-sensitizer or additive, oxygen in the air is taken as the final oxidizing agent, and N-aryl glycine is induced by light to carry out decarboxylation, is oxidized, and reactswith imidazo[1,2-a]pyridine to prepare the aminomethylated imidazo[1,2-a]pyridine compound. The synthesis route is simple, convenient and efficient, the reaction conditions are middle, the operationis simple, and the synthesis method is environmentally friendly, can be applied to large scale production, and has a very good application prospect.