o-Nitrosobenzaldehyde is a reactive intermediate useful in the synthesis of nitrogen heterocycles. Previous strategies for using o-nitrosobenzaldehyde involve its isolation via chromatography and/or formation under harsh conditions. Herein, this intermediate was photochemically generated in situ from o-nitrobenzyl alcohols in a mild, efficient manner for the construction of 1,2-dihydro-3 H-indazol-3-ones using an aqueous solvent at room temperature. This convenient reaction offers several advantages over reported methods. The commercially available photoreactor employed 3 × 18 W bulbs outputting broad emission above 365 nm.