Research subjects of this study are four representative locations in the industrial complex, in the city of Banja Luka, Republic of Srpska, Bosnia and Herzegovina. 16 polycyclic aromatic hydrocarbons (PAHs) (∑16PAHs), humus and pH were determined. The main objective of the paper is to determine the concentration levels, to assess the probable sources of PAHs contamination in soil and groundwater and to determine the ecological risk. The ∑16PAHs in soil (at depths of 30 cm, 100 cm, 200 cm, 300 cm and 400 cm) ranged from 0.99 to 2.24 mg/kg, from 0.34 to 0.46, from 0.24 to 0.32, from 0.13 to 0.27 and from 0.13 to 0.47, with mean values of 1.70 mg/kg, 0.40 mg/kg, 0.28 mg/kg, 0.20 mg/kg and 0.26 mg/kg, respectively. The ∑16PAHs in groundwater ranged from 0.23 to 4.50 mg/m3, with a mean value of 1.42 mg/m3. Surface soil and groundwater are heavily contaminated. All values of ∑PAHs in soil layers were lower in the depths of the soil. Factor analysis indicates three sources of contamination, i.e. principal component (PC) PC1 (pyrogenic), PC2 (petrogenic) and PC3 (biomass), with 52.39%, 26.14% and 8.46% of the total variance, respectively. ∑PAH and PAHs indicate high ecological risk for most PAHs, which decreases with soil depth.