The invention relates to a sealing machine with an improved locking mechanism. The sealing machine comprises a sealing machine body and a top cover, the sealing machine body is provided with a first vacuumizing seal groove, the top cover is correspondingly provided with a second vacuumizing seal groove, the first vacuumizing seal groove and the second vacuumizing seal groove are respectively provided with a seal ring, the sealing machine also comprises the locking mechanisms, each locking mechanism comprises a locking hook, a press block, a push block, a spring and a communicating tube, the locking hook is connected with the top cover, the locking hook comprises a locking rod and two fastening projections, and the push block is connected with the press block and provided with a locking block. The communicating tube is provided with an air inlet and an air outlet, the air inlet of the communicating tube communicates with the first vacuumizing seal groove through a first passage, and the spring is so arranged as to push the push block toward the air outlet of the communicating tube. Dust can be prevented from entering the first vacuumizing seal groove of the sealing machine body, and moreover, the two seal rings do not squeeze each other, so that the elasticity of the seal rings is prevented from failing. Furthermore, after vacuumization is finished, the top cover can be easily opened.