A needle has a distal end, a proximal end, and a stem extending there between, as well as a tip at the distal end. The needle is provided with a safety device being arranged so as to be capable of sliding over the stem and a second position at the distal end of the stem. The safety device also includes a recess having a proximal opening and a distal opening for the needle stem to pass there through, the tip of the needle being inside the recess when the safety device is in the second position. The device includes a closing device that closes the distal opening of the recess when the needle tip is inside the recess.