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 gate 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 gate includes a first gate region and a second gate region which are separated by an imaginary dividing line extending in a longitudinal direction of the syringe member the guided pin can be placed in the first gate region in a starting position and can be moved from the first gate region into the second gate region into a final position by having the guided pin cross the dividing line when a distal end of the pricking element is located at the level of an outlet of the safety device.