The invention relates to dispensing equipment with a cleaning function. The dispensing equipment comprises a base, a main body, a top plate, a fixing box, a material pipe, a dispensing head and two fixing rods and further comprises a recycling mechanism and a cleaning mechanism, wherein the cleaning mechanism comprises a heating box, a heating rod, two cleaning assemblies and four heat conduction assemblies, and the recycling mechanism comprises a recycling assembly and two exhaust assemblies. According to the dispensing equipment with the cleaning function, through the cleaning mechanism, the function of cleaning the base is achieved, the cleanliness of the base is guaranteed, manual cleaning is not needed, the convenience of the equipment is improved, through the recycling mechanism, residual glue liquid inside the material pipe is recycled into the fixing box, waste of the glue liquid is avoided, and the situation that the glue liquid is left inside the material pipe to be solidified is prevented, so that the blockage of the material pipe is avoided, the influence on the normal work of dispensing is prevented, and the reliability of the equipment is improved.