A dishwasher includes a washing inner container, a spray arm, a heating device and a
shunt valve. The washing inner container is provided with a washing outlet, the spray arm is arranged in the washing inner container, and the spray arm is provided with a spray inlet; the heating device is provided with a heated water inlet and a heated water outlet, the
shunt valve is provided with a first connector, a second connector, a third connector and a fourth connector, the first connector is connected with the washing outlet, the second connector is connected with the spray inlet, the third connectoris connected with the heated water inlet, and the fourth connector is connected with the heated water outlet. The dishwasher includes at least two working
modes; in the first mode, the first connector and the second connector of the
shunt valve are communicated, the first connector and the third connector of the shunt valve are communicated; in the second mode, the fourth connector and the secondconnector are communicated. According to the embodiment, in the non-heating period, washing water does not flow through the heating device, the
water flow resistance can be reduced, the washing performance is improved, and the design of a
system pipeline is simple and compact.