Machine for filling containers with liquids, which comprises: - a support structure; - a rotatable carousel rotatably mounted on said support structure, and equipped with a tank for containing a liquid to be bottled in containers; - a plurality of valve groups peripherally mounted on said rotatable carousel, each group comprising: - a supply duct hydraulically connected to said tank for the flow of said liquid from said tank to said containers to be filled; - a shutter placed to intercept said supply duct in order to regulate the flow of said liquid into said containers; - an air return cannula mounted parallel inside said supply duct, and equipped with a lower end susceptible to being inserted in said container, and an upper end (16") opposite said lower end; wherein each said valve group comprises: - a collection cup, which is connected to the upper end (16") of said air return cannula, and is connected to an evacuation circuit by means of a first connection duct, and to suction means by means of a second connection duct; - a first control valve placed to intercept said first connection duct, and actuatable to switch between a first closed position, in which it blocks the communication between said collection cup and said evacuation circuit, and a first open position, in which it opens the communication between said collection cup and said evacuation circuit; said filler machine being characterized in that it also comprises - a second control valve placed to intercept said second connection duct, and actuatable to switch between a second closed position, in which it blocks the communication between said collection cup and said suction means, and a second open position, in which it opens the communication between said collection cup and said suction means; said filler machine also comprising at least one logic control unit, which is operatively connected to said first and said second control valve (34, 35) of each valve group, and commands the switching of said first and second control valves (34, 35), the collection cup of each valve group being equipped with a connection opening placed in communication between said collection cup and said tank, each valve group comprising a fourth control valve placed to intercept said connection opening, and actuatable to be moved between a fourth closed position, in which it obstructs said connection opening, and a fourth open position, in which it is spaced from said connection opening and places said collection cup in communication with said tank in order to drain into the tank the liquid previously sucked into the collection cup during a cleaning step of the air return cannula or to bring the tank into pressure equilibrium with the collection cup. - a support structure; - a rotatable carousel rotatably mounted on said support structure, and equipped with a tank for containing a liquid to be bottled in containers; - a plurality of valve groups peripherally mounted on said rotatable carousel, each group comprising: - a supply duct hydraulically connected to said tank for the flow of said liquid from said tank to said containers to be filled; - a shutter placed to intercept said supply duct in order to regulate the flow of said liquid into said containers; - an air return cannula mounted parallel inside said supply duct, and equipped with a lower end susceptible to being inserted in said container, and an upper end (16") opposite said lower end; - a collection cup, which is connected to the upper end (16") of said air return cannula, and is connected to an evacuation circuit by means of a first connection duct, and to suction means by means of a second connection duct; - a first control valve placed to intercept said first connection duct, and actuatable to switch between a first closed position, in which it blocks the communication between said collection cup and said evacuation circuit, and a first open position, in which it opens the communication between said collection cup and said evacuation circuit; - a second control valve placed to intercept said second connection duct, and actuatable to switch between a second closed position, in which it blocks the communication between said collection cup and said suction means, and a second open position, in which it opens the communication between said collection cup and said suction means;