The invention discloses a dust collecting device for an electric tool, and belongs to the technical field of electric machines. The dust collecting device includes a dust collecting box, a dust collecting tube connected with the air inlet of the dust collecting box, and a first filter screen arranged at one end, far from the dust collecting tube, in the dust collecting box, the periphery of the first filter screen is abutted against the inner wall of the dust collecting box, and an air outlet is arranged at one end, correspondingly provided with the first filter screen, of the dust collecting box; the periphery of the tube orifice of one end, far from the dust collecting box, of the dust collecting tube, is connected with a dust shield, and a fan is arranged at one end, far from the first dust collecting tube, in the dust shield; an alarm is arranged outside the dust collecting box, a sensor and a chamber are arranged in the dust collecting box, the sensor is arranged at the upper portion of the dust collecting box and at one side, far from the air inlet, of the dust collecting box, and a controller connected with the alarm, the sensor and the fan is arranged in the chamber; and the dust collecting box is connected with an electric tool body. The dust collecting device can effectively prevent the dust flying phenomenon in the working process of the electric tool, and also can prevent the influences of excessive dusts in the dust collecting box on the dust collecting effect.