The invention discloses a bagging machine. The bagging machine comprises a mounting bracket, wherein a sleeve pipe is arranged above the mounting bracket; collecting mechanisms, sealing mechanisms anda cutting mechanism are arranged below the sleeve pipe; each collecting mechanism comprises an electric cylinder 1 and a gripper which are arranged on the two sides of a packaging bag in pairs; and each gripper comprises a shell, a grab bar, an auxiliary pull rod, a main pull rod, a spring, and a cover plate. The bagging machine has the benefits as follows: the two collecting mechanisms are arranged, the main pull rods, the auxiliary pull rods, the springs and pull ropes are arranged on the grippers of the collecting mechanisms, when the grab bars arranged on the left side and the right sideseparately enable the bag to be collected at the middle position, the grab bars enable the bag to be collected from the front and rear parts through the reasonably arranged pull ropes, the bag is collected from the four directions, the automatic sealing and cutting are realized conveniently, the packaging efficiency is increased, and the labor intensity of workers is reduced; a limiting mechanismis arranged, the falling position of pomelos is limited to avoid that excessive packaging bags are used for packaging the pomelos; besides, a latex ring is arranged on a limiting ring, the hard collision between the pomelos and the limiting ring is avoided, and that the surface layers of the pomelos are damaged is reduced.