The application provides a dispensing mechanism, and relates to the technical field of washing. The dispensing mechanism comprises a main body and a valve body, the main body is provided with a first cavity, a first channel, a second cavity, a second channel, a third cavity and a third channel which are sequentially communicated, the valve body is configured to move between a first position and a second position of the main body and selectively seal the first channel and the second channel, the third cavity is further communicated with a fourth channel, and the dispensing mechanism has a first state and a second state, in the first state, the fourth channel is lower than the third channel, and at least part of the third cavity is lower than the fourth channel, in the second state, the fourth channel is higher than the third channel, and the medium in the third cavity can be discharged through the third channel. In the dispensing mechanism provided by the application, the combination of the position change of the channels in the two states and the action of the valve body can accurately control the flow paths of the washing substances in different stages, realize multi-stage dispensing control, and improve the accuracy of the detergent dispensing and the stability of the equipment operation.