A high proportion of populations in most developing countries live below the poverty line and those near refuse grounds resort to dumpsite farming to grow food. Consequently, high levels of waste‐derived contaminants are found in crops consumed by these people. This study investigates the extent to which crops cultivated on the Mbale dumpsite (Uganda) were contaminated by 11 metals and 2 non‐metals: iron (Fe), aluminum (Al), zinc (Zn), manganese (Mn), copper (Cu), mercury (Hg), lead (Pb), nickel (Ni), cobalt (Co), cadmium (Cd), selenium (Se), chromium (Cr), and arsenic (As). We investigated how element bioaccumulation in crops was influenced by the growth period (short‐ and long‐term crop maturity). The short‐term crops were Zea mays and Amaranthus cruentus, whereas the long‐term crops were Manihot esculenta, Colocasia esculenta, Musa acuminata, Carica papaya, Coffea arabica, and Saccharum officinarum. Results showed that nine metals were present at concentrations above World Health Organization/Food and Agriculture Organization (WHO/FAO) food safety recommendations and hence may pose health risks to consumers. In this study, leaves contained higher metal concentrations than other analyzed consumable parts. Pb and Co were found at higher concentrations in leaves of short‐term crops than in long‐term crops. Among short‐term crops, only Z. mays seeds contained permissible metal concentrations by WHO/FAO standards. The growth period was also found to influence metal bioaccumulation in crop types. Pb, Co, Fe, Al, and Cu concentrations were significantly higher in the short‐term crops than in long‐term crops, while Mn, Ni, and Cr concentrations were higher in long‐term crops than in short‐term crops. Overall, public awareness about the health risks associated with consuming short‐term leafy crops grown on dumpsites should be improved to reduce toxic metal exposure. While implementing such a campaign, the food supply of individuals whose survival depends on such crops should not be jeopardized. Therefore, farmers need alternative farming areas outside dumpsites. Integr Environ Assess Manag 2022;18:1056–1071. © 2021 The Authors. Integrated Environmental Assessment and Management published by Wiley Periodicals LLC on behalf of Society of Environmental Toxicology & Chemistry (SETAC).