Aniline was synthesized from nitrobenzene through photo‐induced reduction in microreactors under UV irradiation. Nitrobenzene solution and the nanofluid prepared by a TiO2 nanocatalyst, PEG‐400, and deionized water were mixed in a capillary microreactor. The effects of catalyst composition, residence time, and substrate concentration on the reaction performance were systematically investigated. The conversion of nitrobenzene and the yield of aniline reached high values under optimized conditions. The excellent reusability of the photocatalyst was realized for four runs. A mechanism was proposed for this photocatalytic reduction process based on reaction kinetics. Both photo‐induced electrons and •CO2− could reduce nitrobenzene to aniline. The photonic efficiency in the microreactor was still much higher than that obtained in batch reactors, which was mainly attributed to the much larger effective radiation area of the microreactor.