Described is a safety needle assembly (1, 101 to 901) comprising a needle hub (2, 102 to 902) mounting a needle (3, 103 to 903), a needle shield (4, 104 to 904) translatably arranged with respect to the needle hub (2, 102 to 902) and comprising a distal base member (4.2, 104.2 to 904.2) with a needle aperture (4.3, 104.3 to 904.3) through which a needle (3, 103 to 903) may pass, and a closure element (7, 107 to 907) moveably arranged with respect to the needle shield (4, 104 to 904). When the needle shield (4, 104 to 904) is moved from a retracted position (PR, PR101 to PR901) to an advanced position (PA, PA101 to PA901) the closure element (7, 107 to 907) is moved in such a way that it closes the needle aperture (4.3, 104.3 to 904.3).