Abstract: The invention relates to a machine for packing articles of different sizes which is accordingly intended to use containers that vary in their dimensions and particularly in height.It is characterized in that it includes a working plane 20 and a reference plane 22 that are substantially perpendicular to one another, and an ascending ramp 24-105-106 extending from one to the other, movable devices 23, 23a kinematically connected to a motor 45, guides located on the path that the closure panels 6 must follow in the course of the displacement of container-article sets 1, at least one pressure element 27-54 having a smooth active base 29, mounted to be movable perpendicular to the working plane 20 and elastically urged toward it, at least one pressure element 30-60 having a smooth active face 34, mounted to be movable perpendicular to the reference plane 22 and elastically urged toward it, and means 70 to 72 intended for the fixation of panels 6 of containers 1 equipped with their contents A.