The invention discloses a continuous flow photochemical reactor, which comprises a reaction chamber for photochemical reaction, a temperature control chamber for temperature control of the reaction chamber and a light source control chamber for light source regulation. Specifically, the reaction chamber comprises a shell and a reactor module located in the shell, and the reactor module comprises a photochemical reaction unit, a light source module arranged outside the photochemical reaction unit, a light source heat dissipation module and a reactant temperature control module. Specifically, the reactor module comprises a reaction bin plate, a quartz glass board, a quartz plate fixed cover plate and a light source plate that are stacked sequentially. The continuous flow photochemical reactor not only can realize all-range photochemical reaction in all-ultraviolet band and visible light band, but also has the advantages of compact structure, small volume, good sealing performance, high product yield, large output, long service life, convenient maintenance, highly controllable temperature and reaction process, is suitable for industrial application, and meets the requirements of green chemical pharmacy.