Herbicides are widely recognized as the most cost-effective solution for weed control, but their extensive use in both urban and agricultural settings raise serious concerns about nontarget effects. We assessed the possible hazards associated with pre-emergence herbicides such as dimethenamid–P, metazachlor, and pyroxasulfone, which are frequently applied in both urban and agricultural soils. The dissipation rate constant values (k day−1: 0.010–0.024) were positively linked to total organic carbon (TOC), silt, clay, soil pH, and Al and Fe oxides, but negatively correlated with sand content. In contrast, half-life values (DT50: 29–69 days) of the herbicides showed negative correlations with TOC, clay, silt, soil pH, and Fe and Al oxides, while sand content showed a positive impact. The selected herbicides showed minimal impact on soil dehydrogenase activity (DHA). Mostly, soils with higher organic matter (OM) content exhibited increased DHA levels, highlighting the role of OM in influencing this soil enzyme across different soils. Assessment of environmental indicators like groundwater ubiquity score (GUS:1.69–6.30) and leachability index (LIX: 0.23–0.97) suggested that the herbicides might reach groundwater, posing potential risks to nontarget biota and food safety. Human non-cancer risk evaluation, in terms of hazard quotient (HQ < 1) and hazard index (HI < 1), suggests minimal or no risks from exposure to soil containing herbicide residues at 50% of the initial concentrations. Our data thus help the stakeholders and regulatory agencies while applying these pre-emergence herbicides in soils and safeguarding human and environmental health.