An injection molding machine with a clamping mechanism: the utility model discloses an injection molding machine with a clamping mechanism, comprising a casing, the inner walls of both sides of the casing are fixedly connected with a fixing seat, and one side of the fixing seat is fixed A plurality of mounting seats are connected, one side of the mounting seat is movably connected with a cylinder, one end of the cylinder piston rod is fixedly connected with a connecting ring, one side of the mounting seat is movably connected with a fixing block, and one side of the fixing block is fixedly connected with a first Three connecting rods, one side of the third connecting rod is movably connected with a sleeve, and one end of the third connecting rod is movably connected with a second connecting rod. The utility model can not only press the mold by the second pressing block and the first pressing block, but also can clamp the molds of different sizes in the injection molding machine, which improves the flexibility of the device, and simultaneously, the upper mold and the lower mold can be adjusted by pulling the lifting ring. The mold can be moved, which is convenient for the staff to replace the template, and it is also convenient for the staff to observe the working conditions inside the device through the viewing window, which improves the convenience of the device.