The invention relates to an electronic component manufacturing equipment with the impurity removing function. The equipment comprises a box body and a dispensing pipe, the box body is in a cuboid shape, the dispensing pipe is vertically arranged at the bottom of the box body and communicates with the box body, glue and an execution system are arranged in the box body, and an auxiliary mechanism and a cleaning mechanism are arranged on the dispensing pipe; the auxiliary mechanism comprises a fixing ring, a sealing disc, a magnet block, a moving pipe, two connecting blocks, two reset assembliesand two connecting assemblies, each reset assembly comprises a guide rod, a first spring, a fixing block and a guide hole, each connecting assembly comprises a sliding block, a limiting block, a fixing rod and a second spring, and the cleaning mechanism comprises two cleaning assemblies. According to the electronic component manufacturing equipment with the impurity removing function, the functionof preventing glue from dripping is achieved through the auxiliary mechanism, and in addition, the function of removing impurities on the substrate is achieved through the cleaning mechanism.