The present invention relates to a protection device (1) intended to at least partially cover the needle (2) of an injection device, comprising: a support (3) of the protection device (1), a sleeve (4) movable axially in translation with respect to the support (3), an arrangement (14) for returning the sleeve (4) from an injection position to a protection position, an axial guidance arrangement (29, 30) for preventing the sleeve (4) from pivoting with respect to the support (3), one peg (6) directly and at least elastically, coupled longitudinally to the support (3) or the sleeve (4) and housed in a passageway (10) defining a first section (11) and a second section (12) followed by the peg (6) from a storage position to the injection position and then to the protection position, and a safety arrangement (21; 36, 34, 35) part of which being elastically deformable, arranged in a way as to prevent the peg from returning from the second section to the first section. The invention also relates to packaging (26) for the device.