Described is a needle safety device, comprising a support body having a first aperture adapted to allow passage of a needle, and a needle shield having a cover face and a distal face and a second aperture formed in the distal face adapted to allow passage of the needle. The needle shield is hingedly mounted on the support body and movable between a first angular position (P1) relative to the support body in which the cover face covers the first aperture and a second angular position relative to the support body in which the first aperture is aligned with the second aperture. When the needle shield is in the second angular position, the needle shield is movable between a first axial position relative to the support body in which the needle is within the support body and a second axial position relative to the support body in which the needle passes through the first aperture and the second aperture.