The main objective of this work was to investigate the feasibility of using vacuum ultraviolet (VUV, 185 + 254 nm) and ultraviolet (UV, 254 nm) for the reduction of dissolved organic nitrogen (DON) and haloacetonitrile formation potential (HANFP) of surface water and treated effluent wastewater samples. The results showed that the reduction of dissolved organic carbon (DOC), DON, hydrophobicity (HPO), absorbance at 254 nm (UV254), and fluorescence excitation-emission matrix (FEEM) of both water samples by VUV was higher compared to using UV. The addition of H2O2 remarkably improved the performances of VUV and UV. VUV/H2O2 exhibited the highest removal efficiency for DOC and DON. Even though HANFP increased at the early stage, its concentration decreased (19–72%) at the end of treatment (60 min). Decreases in DON (30–41%) and DOC (51–57%) led to HANFP reduction (53–72%). Moreover, FEEM revealed that substantial reduction in soluble microbial product-like compounds (nitrogen-rich organic) had a strong correlation with HANFP reduction, implying that this group of compounds act as a main precursor of HANs. The VUV/H2O2 system significantly reduced HANFP more than UV/H2O2 and therefore is suitable for controlling HAN precursors and HAN formation in drinking water and reclaimed wastewater.