The invention relates to a water purifying device with a filtering function in the technical field of water purifying equipment. The water purifying device comprises a stirring tank, which is providedwith a first cover plate, wherein the first cover plate is provided with a water inlet pipe, a first driving motor and a medicine inlet pipe, the medicine inlet pipe is provided with an annular spraypipe, the first driving motor has a first rotating shaft, the first rotating shaft is provided with a first stirring plate, the first stirring plate is provided with a first scraping plate, the stirring tank is provided with a water outlet pipe, the water outlet pipe is connected with a first pump, the first water pump has a first middle pipe, the first middle pipe is provided with a second coverplate, the second cover plate is provided with a second driving motor, the second driving motor has a second rotating shaft, the second rotating shaft is provided with a second stirring plate, the second stirring plate is provided with a second scraping plate, a sedimentation tank is provided with a middle filtering structure, the middle filtering structure is provided with a transverse pipe, thetransverse pipe is provided with a second water pump, the second water pump is provided with a connecting sleeve, and the connecting sleeve is provided with a connecting pipe. According to the invention, floccules generated by mixing sewage and a coagulant are prevented from adhering to the inner wall of a stirring tank, so that the cleanliness of the inner wall of the stirring tank is guaranteed, and periodic cleaning of the stirring tank is not needed.