The invention discloses a full-automatic double-head chamfering machine. The chamfering machine comprises a machine body support, a feeding mechanism, a clamping mechanism, a rotary cutting mechanism, a light sensing system, an infrared pulse counter, a discharging receiving device and a microcomputer; the high-performance microcomputer is used for controlling the full-automatic double-head chamfering machine to run, a worker issues production plane and process control to the full-automatic double-head chamfering machine composed of all chamfering devices through a control center of the microcomputer, a man-machine interactive interface in the microcomputer is mainly composed of a displayer and an I/O device; the worker inputs production operation instructions through the interface and receives various kinds of state and warning information fed back in the production line debugging and running process, the feeding mechanism, the clamping mechanism, the rotary cutting mechanism, the light sensing system, the infrared pulse counter and the discharging receiving device are automatically and efficiently controlled to achieve efficient feeding, in-time material supplementing, precise positioning and stable chamfering rotary cutting, improve production efficiency and ensure the product chamfering machining product, quantitative production and in-order material collection are achieved, and therefore packaging is facilitated.