Filling machine, in particular of the weigh filling type, for filling containers, such as for example barrels, bottles, cans and/or the like, with at least one filling liquid, said filling machine comprising: at least one feeding source or one feeding joint which is hydraulically connectable to a feeding source, not forming part of said filling machine, for feeding a filling liquid; at least one dispensing nozzle for dispensing said filling liquid connected to the feeding source or to said feeding joint for feeding said filling machine, at least one main connection duct extending between said feeding source or said feeding joint for feeding said filling machine and said dispensing nozzle; at least one control unit, optionally a valve element, operatively arranged along said main connection duct between said feeding source or said feeding joint for feeding said filling machine and said dispensing nozzle, said control unit being switchable between a closing condition, wherein said dispensing nozzle is not in fluid communication with said feeding source or said feeding joint for feeding said filling machine, and an opening condition, wherein said dispensing nozzle is in fluid communication with said feeding source or said feeding joint for feeding said filling machine in order to dispense said filling liquid being fed; detection means operatively associated with said dispensing nozzle for detecting the filling status of said container, said detection means being operatively connected to said control unit for switching the latter from the opening condition to the closing condition once a predetermined filling level has been achieved; characterized in that it comprises at least one collecting device interposed between said dispensing nozzle and said control unit, optionally said collecting device collecting a predetermined volume of said filling liquid coming from said feeding source or from said feeding joint for feeding said filling machine to supply at least one part of said volume to said dispensing nozzle after the control unit has switched from the opening condition to the closing condition according to a programmable closing time. at least one feeding source or one feeding joint which is hydraulically connectable to a feeding source, not forming part of said filling machine, for feeding a filling liquid; at least one dispensing nozzle for dispensing said filling liquid connected to the feeding source or to said feeding joint for feeding said filling machine, at least one main connection duct extending between said feeding source or said feeding joint for feeding said filling machine and said dispensing nozzle; at least one control unit, optionally a valve element, operatively arranged along said main connection duct between said feeding source or said feeding joint for feeding said filling machine and said dispensing nozzle, said control unit being switchable between a closing condition, wherein said dispensing nozzle is not in fluid communication with said feeding source or said feeding joint for feeding said filling machine, and an opening condition, wherein said dispensing nozzle is in fluid communication with said feeding source or said feeding joint for feeding said filling machine in order to dispense said filling liquid being fed; detection means operatively associated with said dispensing nozzle for detecting the filling status of said container, said detection means being operatively connected to said control unit for switching the latter from the opening condition to the closing condition once a predetermined filling level has been achieved; characterized in that it comprises at least one collecting device interposed between said dispensing nozzle and said control unit, optionally said collecting device collecting a predetermined volume of said filling liquid coming from said feeding source or from said feeding joint for feeding said filling machine to supply at least one part of said volume to said dispensing nozzle after the control unit has switched from the opening condition to the closing condition according to a programmable closing time.