The utility model discloses a mold locking device which comprises a lower mold base, an upper mold base is arranged above the lower mold base, an injection molding opening is formed in the top end of the upper mold base, a clamping device is arranged at the top end of the upper mold base, and a locking device is arranged between the upper mold base and the lower mold base. The locking device comprises a guide sleeve, a first spring, a second spring, a locking frame, a locking groove, a locking sleeve, a guide block, a guide groove and an unlocking rod, the guide sleeve is installed in the lower die base, the second spring is installed at the bottom end of the inner side of the guide sleeve, the guide block is installed at the top end of the second spring, the guide groove is formed in the top end of the guide block, and the locking frame is installed above the guide block. The locking groove is formed in the side wall of the guide sleeve, the locking sleeve is installed in the upper die base, the unlocking rod is installed on the inner side of the locking sleeve, the top end of the first spring is connected with the bottom end of the unlocking rod, and the bottom end of the first spring is connected with the bottom of the locking frame. The automatic locking device can achieve automatic locking, is easy to operate and can conveniently measure the temperature in the die.