Soils are usually the interface between human activity and environmental components that must be conserved and protected. As a result of rising industrialization and urbanization, activities such as exploration and extraction operations lead to the release of heavy metals into the environment. This study presents distribution of six heavy metals (As, Cr, Cu, Ni, Pb and Zn) in 139 top soil samples collected in and around oil and natural gas drilling sites at a sampling density of 1 site/12 km2. The results indicated the concentration ranged from 0.1 to 16 mg/kg for As, 3–707 mg/kg for Cr, 7–2324 mg/kg for Cu, 14–234 mg/kg for Ni, 9–1664 mg/kg for Pb, and 60–962 mg/kg for Zn. The contamination of soil was estimated on the basis of Index of geo accumulation (Igeo), enrichment factor (Ef), and contamination factor (Cf). Further, spatial distribution pattern maps indicated that the pollution levels for Cu, Cr, Zn, and Ni were higher around drilling sites of the study area relative to other regions. Using exposure factors for the local population and references from the USEPA’s integrated database, potential ecological risk indices (PERI) and health risk assessments were made. The hazard index (HI) values of Pb (in adults) and Cr, Pb (in children) exceeded the recommended limit of HI = 1, indicating the non-carcinogenic risks. Total carcinogenic risk (TCR) calculations revealed Cr (in adults) and As, Cr (in children) levels in soils exceeded the threshold value of 1.0E − 04, indicating significant carcinogenic risk due to high metal concentrations in the study area. These results may assist in determining the soil’s present state and its effect due to extraction strategies used during drilling process and initiate few remedial techniques, particularly for proper management strategies in farming activities to decrease point and non-point source of contamination.