Heavy metal contamination in food products is a major concern for human health, and chocolate, being a favourite sweet foodstuff of children and adults, possesses a greater threat of heavy metal exposure to humans. Twenty-five chocolate samples obtained from local markets in Karachi, Pakistan, are studied in this research to determine the heavy metal concentration. The studied metals include Pb, Ni, As, Cr, and Fe, and the results obtained in the present study are compared to the findings of the previous research conducted worldwide. According to the findings of the study, the mean concentrations of studied heavy metals were found in the order of As < Cr < Ni < Pb < Fe. The Fe level ranged from 0.31 to 7.12 ppm with a mean concentration of 2.901 ppm, which is less than that reported in the previous studies. The Pb level ranged from 0.54 to 4.76 ppm with a mean concentration of 2.707 ppm, which is the highest as compared to the previous studies. The Ni concentration ranged from 0.11 to 1.74 ppm with a mean concentration of 0.567 ppm, which is almost similar to the other studies. Maximum As and Cr concentrations were 0.098 and 0.87 ppm. Exposure to these metals can cause severe health issues in humans, particularly children, who are more susceptible to the negative health impacts of these heavy metals.