The present invention discloses a filter with a backwashing unit, which is used for conveniently and rapidly washing a filter element in the filter, and is characterized by including a two-position three-way valve, a second valve and a third valve, wherein the two-position three-way valve is provided with a port P1, a port A1 and a port B1, the second valve is provided with a port P2 and a port A2, and the third valve is provided with a port P3 and a port A3; the port P1 is connected with the water inlet, the port A2 is connected with the water outlet, the port A3 is connected with the drain outlet, the port A1 and the port P3 are connected with the inlet region of the filter element, and the port B1 and the port P2 are connected with the outlet region of the filter element; and the filter is located on a filtering station when the port P1 communicates with the port A1, the port P2 communicates with the port A2, and the port P3 does not communicate with the port A3, and the filter is located on a backwashing station when the port P1 communicates with the port B1, the port P2 does not communicate with the port A2, and the port P3 communicates with the port A3. The switching between the filtering station and the backwashing station may be completed by only simultaneously switching the three valves instead of changing the water flow directions of the water inlet and the water outlet, so that the whole process is simple, and the operation is convenient; in addition, the pipeline is compact in structure, and the overall appearance of the filter cartridge is also very simple.