The invention discloses a method for preparing
zolpidem. The method comprises the step of subjecting 6-methyl-2-(4-methylphenyl)-imidazo[1,2-a]
pyridine, which serves as a
raw material, to a reaction with 2-bromo-N,N-
dimethylacetamide under the action of
photocatalysis, thereby obtaining the
zolpidem. Compared with the prior art, the method has the advantages that environment-friendly and
pollution-free LED light serves as an
energy source, so that an environment-friendly
sustainable development idea is embodied; and during the preparation of the
zolpidem, five steps in the prior art are shortened to one step. According to the method, the preparation
route is short, the preparation method is simple, the production cost is low, the product yield is high, the consumption of a
solvent and the
pollution to environments during blowdown are reduced, the implementation is easy, and thus, the industrialization is facilitated.