A syringe member comprising a safety device to prevent pricking injuries; the syringe member comprises a pricking element, and the safety device includes at least one guided pin and a recess which forms a guide slot for guiding the guided pin in a longitudinal direction of the syringe member during movement of the syringe member relative to the safety device; said guide slot includes a first slot region and a second slot region which are separated by a notional separation line extending in a longitudinal direction of the syringe member; the guided pin can be placed in the first slot region in a starting position and can be moved from the first slot region into the second slot region into a final position by having the guided pin cross the separation line when a distal end of the pricking element is located at the level of an exit opening of the safety device.