A machine for preparing beverages, wherein said machine includes a water supply configured to supply liquid water or steam within the machine, a frothing head for heating and whipping milk, said frothing head comprising a milk inlet and a distribution duct for distributing a hot beverage, which distribution duct is arranged downstream of the milk inlet, a milk supply piping having an inlet end connectable to a milk reservoir and an outlet end connected to the milk inlet of the frothing head, said milk supply piping comprising, at the inlet end, a flexible hose having a fixed end and a movable part configured to be immersed into the milk reservoir, and a cleaning system including: - a washing water supply piping having an inlet end connected to the water supply and an outlet end, - a washing chamber suppliable with washing water provided by the washing water supply piping, in said washing chamber there being placeable the movable part of the flexible hose that has been extracted from the milk reservoir in said washing chamber, and - washing valve means (41, 49) arranged at the outlet end of the washing water supply piping, said washing valve means also being arranged between the flexible hose and the frothing head, and being switchable between a first position in which the flexible hose is isolated from the milk inlet of the frothing head, and a second position in which the flexible hose is in fluid communication with the milk inlet of the frothing head, wherein, in the first position, the washing water supply piping is further fluidically connectable to the washing chamber by means of said washing valve means (41, 49), for washing the movable part of the flexible hose placed in the washing chamber, wherein, through the flexible hose, the washing water contained in the washing chamber is conveyable to the milk inlet and to the distribution duct of the frothing head, wherein, with the washing valve means (41, 49) in the first position, the washing water is conveyable into the washing chamber via the washing water supply piping and, with the washing valve means (41, 49) in the second position, the washing water contained in the washing chamber is conveyable to the milk inlet and to the distribution duct of the frothing head. a water supply configured to supply liquid water or steam within the machine, a frothing head for heating and whipping milk, said frothing head comprising a milk inlet and a distribution duct for distributing a hot beverage, which distribution duct is arranged downstream of the milk inlet, a milk supply piping having an inlet end connectable to a milk reservoir and an outlet end connected to the milk inlet of the frothing head, said milk supply piping comprising, at the inlet end, a flexible hose having a fixed end and a movable part configured to be immersed into the milk reservoir, and a cleaning system including: - a washing water supply piping having an inlet end connected to the water supply and an outlet end, - a washing chamber suppliable with washing water provided by the washing water supply piping, in said washing chamber there being placeable the movable part of the flexible hose that has been extracted from the milk reservoir in said washing chamber, and - washing valve means (41, 49) arranged at the outlet end of the washing water supply piping, said washing valve means also being arranged between the flexible hose and the frothing head, and being switchable between a first position in which the flexible hose is isolated from the milk inlet of the frothing head, and a second position in which the flexible hose is in fluid communication with the milk inlet of the frothing head, - a washing water supply piping having an inlet end connected to the water supply and an outlet end, - a washing chamber suppliable with washing water provided by the washing water supply piping, in said washing chamber there being placeable the movable part of the flexible hose that has been extracted from the milk reservoir in said washing chamber, and - washing valve means (41, 49) arranged at the outlet end of the washing water supply piping, said washing valve means also being arranged between the flexible hose and the frothing head, and being switchable between a first position in which the flexible hose is isolated from the milk inlet of the frothing head, and a second position in which the flexible hose is in fluid communication with the milk inlet of the frothing head, wherein, in the first position, the washing water supply piping is further fluidically connectable to the washing chamber by means of said washing valve means (41, 49), for washing the movable part of the flexible hose placed in the washing chamber, wherein, through the flexible hose, the washing water contained in the washing chamber is conveyable to the milk inlet and to the distribution duct of the frothing head, wherein, with the washing valve means (41, 49) in the first position, the washing water is conveyable into the washing chamber via the washing water supply piping and, with the washing valve means (41, 49) in the second position, the washing water contained in the washing chamber is conveyable to the milk inlet and to the distribution duct of the frothing head.