The invention relates to the field of medical injection tools, and in particular relates to a needle cap device capable of popping out an insulin pen needle. The needle cap device comprises a handle,a needle cap body, a trigger device, an insulin needle, a needle outlet hole and a spring, wherein the trigger device is arranged inside the handle, a button in the trigger device protrudes out of oneside of the handle, the button, a push pillar, a groove pillar and a trigger pillar are arranged inside the trigger device, the spring winds the outside of the trigger pillar, in the needle cap body,a needle file and a base are closely connected through threads, a base bulge is arranged on the left end of the base, a spring fixing groove is arranged at the lower end of the base, a sliding chuteis arranged in the inner wall of the needle cap body, the trigger pillar is positioned at the lower end of the base, and the spring winds the outer side of the insulin needle. For the needle cap device capable of popping out the insulin pen needle, the trigger device is started through the button, so that the spring inside the needle cap body contracts instantaneously, the needle is driven by thespring force of the spring to instantaneously stab the subcutaneous part for certain depth, thus the sense of fear and the feel of pain of patients are effectively alleviated, the area of wounds is reduced, the treatment compliance is improved, the patients can be subjected to effective part injection in turns, and finally, the treatment effects are improved.