The invention provides an indwelling needle. The indwelling needle comprises an indwelling needle seat, an isolation plug, a catheter, a puncturing steel needle, a stop block, a plurality of limitingblocks and a baffle, wherein the indwelling needle seat comprises an inner cavity; the isolation plug is arranged in the inner cavity; the catheter is arranged at one end of the indwelling needle seat; one end of the puncturing steel needle punctures the isolation plug and extends out of the catheter; the stop block is clamped in the indwelling needle seat and abuts against the isolation plug; theplurality of limiting blocks are circumferentially arranged in one end, away from the catheter, of the indwelling needle seat; the baffle is arranged in the inner cavity and connected with the stop block through a spring, the spring sleeves the puncturing steel needle, and a plurality of openings matched with the plurality of limiting blocks in shape and size are formed in the edge of the baffle;the baffle is rotated, and when the plurality of openings in the baffle correspond to the plurality of limiting blocks, the plurality of openings in the baffle penetrate through the plurality of limiting blocks; the baffle is rotated, and when the plurality of openings in the baffle and the plurality of limiting blocks are staggered, the baffle is limited. The puncturing steel needle cannot puncture a medical worker due to protection of the spring, and medical infection is avoided.