The use of benzene ring contraction in chemical synthesis is challenging due to the need to disrupt aromaticity and generate highly strained intermediates. Now, a photothermal ring contraction reaction for the synthesis of multisubstituted fused pyridines is reported, from arylhydrazines and carbonyl compounds, via benzene ring contraction.