A machine for closing flexible containers, wherein each container comprises an opening for picking up the products collected therein, wherein each container has a neck close to the opening, the container to be closed by a semirigid and deformable closing band, the machine comprising: - a supporting frame - a plate, - a reel, on which the deformable closing band is wound, - the plate having a slot for inserting the neck of the container close to its opening at once, - a shaping seat for shaping the closing band, - a cutting seat for cutting a portion of the closing band at a predetermined length, - feeding means for feeding the band into said cutting seat along a first direction, - means for cutting and shaping the portion of the band, - actuating means for moving said feeding means and said cutting and shaping means, characterised in that: - the plate is horizontal and is anchored to the supporting frame, - the slot has an end, the shaping seat being placed at said end of said slot, and is for inserting the neck of the container, wherein the shaping seat is also for positioning and closing the neck of the container, - the means for cutting and shaping the portion of the band are placed in the cutting seat, - the actuating means are exclusively actuated by an electric motor, - said first direction for feeding the band being substantially parallel to the top surface of the plate, said cutting and shaping means including an elongate slider which is designed to slide in a second direction substantially horizontal and orthogonal to said first direction to carry the cutting and shaping means into said cutting seat and contact said band portion to cut said band portion, to force said cut portion into to said shaping seat and close it around the neck of the container. - a supporting frame - a plate, - a reel, on which the deformable closing band is wound, - the plate having a slot for inserting the neck of the container close to its opening at once, - a shaping seat for shaping the closing band, - a cutting seat for cutting a portion of the closing band at a predetermined length, - feeding means for feeding the band into said cutting seat along a first direction, - means for cutting and shaping the portion of the band, - actuating means for moving said feeding means and said cutting and shaping means, - the plate is horizontal and is anchored to the supporting frame, - the slot has an end, the shaping seat being placed at said end of said slot, and is for inserting the neck of the container, wherein the shaping seat is also for positioning and closing the neck of the container, - the means for cutting and shaping the portion of the band are placed in the cutting seat, - the actuating means are exclusively actuated by an electric motor, - said first direction for feeding the band being substantially parallel to the top surface of the plate, said cutting and shaping means including an elongate slider which is designed to slide in a second direction substantially horizontal and orthogonal to said first direction to carry the cutting and shaping means into said cutting seat and contact said band portion to cut said band portion, to force said cut portion into to said shaping seat and close it around the neck of the container.