Cement plants are the major anthropogenic sources of potentially toxic elements (PTEs), which are generated from the processing of raw materials and combustion of fossil fuels. This study determined the PTE concentration and assessed the geochemical, ecological, and health risks associated with the activities in the Ashaka cement plant, Bajoga, Nigeria. Soil samples were collected between 2019 and 2020, and analyzed by ICP-OES for 20 PTEs. The data obtained were statistically evaluated for descriptive and inferential statistics. The mean concentrations of PTEs were in the declined order of Al > Fe > Mn > Zn > Ti > Ba > Sr > Pb > Cu > V > Cr > Ni > As > Sc > Mo > Hg > Cd > Se > Sb > Co. Multivariate analysis revealed that the main sources of PTEs might be related to anthropogenic activities from cement plant. The geochemical load index (GLI) values obtained range from unpolluted to moderate. The ecological risk ranged from 4.74 × 10− 3 to 8.00 × 100, and the overall risk index indicated low contamination for the investigated elements. The hazard index (HI) was < 1, suggesting non-probable non-carcinogenic effects. However, children were more susceptible to risk than adults, and the cancer risk (CR) values of Cd for children and adults were higher than the threshold level of 1.0 × 10− 4, which suggests probable development of cancer risk for residents.