Washing machine, comprising a housing, a suds container arranged in the housing, a drum rotatable about an axis of rotation in the suds container for receiving laundry, a door for loading and unloading the drum, a water supply device, which can be connected in a flow-conducting manner to a fresh water source and can be controlled by means of a control means of the washing machine, for supplying the washing machine with fresh water, and a dispensing compartment for dispensing detergent into the drum, the dispensing compartment being arranged on an inner side of the door facing the drum and having a first and a second compartment (18, 20) for receiving detergent in each case, characterised by a recirculation device which can be controlled by the control means for circulating a detergent solution formed from the detergent and the fresh water, and in that depending on control by means of the control means, the first compartment can be connected to the recirculation device and the second compartment can be connected directly to the water supply device in a flow-conducting manner, and in that the first compartment can be connected to the recirculation device in a flow-conducting manner by means of a recirculation nozzle mechanism, the recirculation nozzle mechanism having a recirculation nozzle inlet which is connected in a flow-conducting manner to the recirculation device, a recirculation nozzle outlet which is connected in a flow-conducting manner directly to the drum, and a recirculation nozzle outlet which is connected in a flow-conducting manner to the first compartment, preferably in that the two recirculation nozzle outlets (26, 28) are designed to be coordinated with one another such that a main volume flow of the detergent solution can be introduced directly into the drum and a secondary volume flow of the detergent solution which is smaller than the main volume flow can be introduced into the drum by means of the first compartment. by a recirculation device which can be controlled by the control means for circulating a detergent solution formed from the detergent and the fresh water, and in that depending on control by means of the control means, the first compartment can be connected to the recirculation device and the second compartment can be connected directly to the water supply device in a flow-conducting manner, and in that the first compartment can be connected to the recirculation device in a flow-conducting manner by means of a recirculation nozzle mechanism, the recirculation nozzle mechanism having a recirculation nozzle inlet which is connected in a flow-conducting manner to the recirculation device, a recirculation nozzle outlet which is connected in a flow-conducting manner directly to the drum, and a recirculation nozzle outlet which is connected in a flow-conducting manner to the first compartment, preferably in that the two recirculation nozzle outlets (26, 28) are designed to be coordinated with one another such that a main volume flow of the detergent solution can be introduced directly into the drum and a secondary volume flow of the detergent solution which is smaller than the main volume flow can be introduced into the drum by means of the first compartment.