The invention discloses a process and an electrolyzer for removing heavy metal in organic waste in household garbage. The process comprises seven processes which are sequentially as follows: collecting, transporting and loading of household garbage, sorting of household garbage, mixing and grinding, washing and separating, primary compressing and dehydrating, electrolyzing, and secondary compressing and dehydrating. By virtue of the processes, the household garbage is treated into compost raw materials. The electrolyzer comprises a box body, a positive electrode guide plate, a negative electrode guide plate, a rod type spiral pusher, a speed reducer, a charge tube, a discharge tube and a precipitate discharge hole. The process is scientific in conception, eliminates the problem that environment is polluted by heavy metal due to the fact that organic waste in household garbage is used for composting, saves operation cost in comparison with other physical or chemical treatment methods, improves compost fertilizer efficiency, is stable in operation, and is simple and convenient to operate.