The groundnuts electromagnetic roasting machine is driven by a motor to make the nuts in the barrel roll evenly, and the hot air in the machine exchanges heat with the materials to achieve the purpose of high-quality nuts roasting. This machine is for industrial use and adopts the principles of rotary drum, heat conduction and heat radiation. It has low production cost, advanced technology and long service life.