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 (40; 40') having an inlet end (40a; 40a') connected to the water supply and an outlet (49a; 49a'), - a washing chamber suppliable with washing water provided by the outlet (49a; 49a') of 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, 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, and wherein the washing chamber is formed in a tray (60") couplable in a releasable manner to the body of the machine under the frothing head, a collection chamber (72") also being formed in said tray, which collection chamber is separate from the washing chamber and configured to be arranged under 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 (40; 40') having an inlet end (40a; 40a') connected to the water supply and an outlet (49a; 49a'), - a washing chamber suppliable with washing water provided by the outlet (49a; 49a') of 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, - a washing water supply piping (40; 40') having an inlet end (40a; 40a') connected to the water supply and an outlet (49a; 49a'), - a washing chamber suppliable with washing water provided by the outlet (49a; 49a') of 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, 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, and wherein the washing chamber is formed in a tray (60") couplable in a releasable manner to the body of the machine under the frothing head, a collection chamber (72") also being formed in said tray, which collection chamber is separate from the washing chamber and configured to be arranged under the distribution duct of the frothing head.