Land pollution is a threat to sustainable agricultural development and food security in developing countries. Consumption of farm products from contaminated areas can generate health hazards to the diverse consumers along the food chain through the different pollutants in the products. This study is designed to determine the accumulation of Pb, Cd, and Fe in topsoil, surface water, and maize leaf, stem, grains, and root, cultivated in a garden nearby Ori‐Ile battery waste dumpsite, Omilende Area, Olodo, Nigeria. Soil samples, garden maize parts, and surface water samples are collected from the study area using standard procedures. Corresponding reference samples are collected from Moor Plantation, Ibadan. All collected samples are analysed for Pb, Cd, and Fe concentrations. Mean Pb, Cd, and Fe concentrations in topsoil are found to be significantly higher than 157.0 ± 39.8, 2.2 ± 1.2, and 976.3 ± 353.9 mg kg
−1
, respectively, which are obtained from reference soil and National Environmental Standards and Regulations Enforcement Agency limits (Pb: 164 mg kg
−1
and Cd: 50 mg kg
−1
). The soil contamination factor values obtained are greater than 6, indicating severe pollution. Downstream has the highest Pb, Cd, and Fe concentrations. In maize parts, the root has the highest concentration of Pb (40.95 ± 1.98 mg L
−1
) and Cd (2.84 ± 0.19 mg L
−1
), which are significantly higher (
p
≤ 0.05) than those from the reference site. A high concentration of heavy metals found in topsoil further bio‐accumulates in maize parts. Consequently, this garden maize is unfit for consumption.