Described is a needle safety device (1, 101, 201) comprising a needle hub (1.2, 101.2, 201.2) including a latch element (1.2.2, 101.2.2, 201.2.2), a needle (1.3, 101.3, 201.3) coupled to the needle hub (1.2, 101.2, 201.2) and having a distal tip (1.3.1, 101.3.1, 201.3.1), and a needle shield (1.1, 101.1, 201.1) telescopically coupled to the needle hub (1.2, 101.2, 201.2). The needle shield (1.1, 101.1, 201.1) includes a resilient arm (1.1.2, 101.1.2, 201.1.2) adapted to engage the latch element (1.2.2, 101.2.2, 201.2.2). When the needle shield (1.1, 101.1, 201.1) is in a first axial position (PA1, PA101, PA201) relative to the needle hub (1.2, 101.2, 201.2), the needle shield (1.1, 101.1, 201.1) covers the distal tip (1.3.1, 101.3.1, 201.3.1) of the needle (1.3, 101.3, 201.3). When the needle shield (1.1, 101.1, 201.1) is in a retracted position (PR1, PR101, PR201) relative to the needle hub (1.2, 101.2, 201.2), the needle shield (1.1, 101.1, 201.1) is retracted to expose the distal tip (1.3.1, 101.3.1, 201.3.1) of the needle (1.3, 101.3, 201.3) and the arm (1.1.2, 101.1.2, 201.1.2) is deflected radially. When the needle shield (2.1) is in a second axial position (PA2) relative to the needle hub (1.2, 101.2, 201.2), the needle shield (1.1, 101.1, 201.1) covers the distal tip (1.3.1, 101.3.1, 201.3.1) of the needle (1.3, 101.3, 201.3) and the arm (1.1.2, 101.1.2, 201.1.2) engages the latch element (1.2.2, 101.2.2, 201.2.2) to prevent proximal movement of the needle shield (1.1, 101.1, 201.1) relative to the needle hub (1.2, 101.2, 201.2).