The application relates to a needle protection assembly (1) comprising a support (2), a needle shield (8), urging means (10) located between said support (2) and said needle shield (8), tending to displace said needle shield (8) distally over said needle (3), wherein the assembly comprises one abutment (5) provided on said support (2), receiving a locking element (10a), a part of said urging means being laterally movable with respect to said support (2) and forming part of said locking element (10a).