This study systematically analyzed the distribution characteristics, sources, and ecological risk of polycyclic aromatic hydrocarbons (PAHs) in Kuye River sediments, located in an energy and chemical industry base in northern Shaanxi, China. The results that revealed the concentrations of 16 PAHs in the sediment ranged from 1090.04 to 32,175.68ng∙g-1dw, with the four-ring PAHs accounting for the highest proportion. Positive matrix factorization analysis (PMF) revealed the main sources of PAHs as incomplete fossil fuel combustion, biomass combustion, and traffic emissions. The total toxic equivalent concentration of BaP, risk quotient, and lifetime carcinogenic risk of PAHs suggested moderate to high contamination of PAHs in the area. The higher incremental lifetime carcinogenic risk (ILCR) indicated that PAH ingestion was the primary route of impact on public health, with children potentially being more susceptible to PAH exposure. This study can provide valuable theoretical support for implementing pollution prevention measures and ecological restoration strategies for rivers in energy and chemical industry areas.