Research on the content of heavy metals in cocoa beans from mining and non-mining areas in South Sulawesi has been done. The purpose of this study was to determine the effectiveness of handling cocoa according to SNI 2323-2008 in reducing heavy metal contamination of cocoa beans at mining and non-mining locations. The research method used was a completely randomized factorial design pattern with three replications. The first factor was two-region (mining and non-mining areas), the second factor was various quality handling (GHP and non-GHP). The results showed that the heavy metal analysis of cocoa beans that met the SNI requirements was found in the non-mining areas of Luwu district, both GHP (Pb 0.13 ppm, Cd 0.37 ppm, Cu 1.26 ppm, and Zn 41.72 ppm) and non-mining. GHP (Pb 0.13 ppm, Cd 0.31 ppm, Cu 0.51 ppm, and Zn 37.02 ppm). Meanwhile, cocoa beans in mining areas in East Luwu Regency have not met the SNI requirements because Pb, Cd, and Zn levels exceed the safe limits for the quality requirements of cocoa beans. The best cocoa beans from non-mining with GHP treatment (11.98% fat, total acid 313.25, pH 5.05, crude fiber 13.49%, polyphenols 0.37, and moisture content 7.84%)