The present invention relates to a shroud lock (17) for locking the position of the needle shroud (7) relative to the housing (2) of the auto-injector (1), the shroud lock (17) being: on the needle shroud (7) A shroud beam (7.1) biased radially outward, a stop (2.12) disposed in the housing (2), and proximal of the stop (2.12) A recessed portion (2.13) disposed and a cap (11) coupled to the housing (2) and adapted to prevent distal translation of the needle shroud (7) relative to the housing (2). When the cap (11) is in place, at least a portion of the shroud beam (7.1) is in the recess (2.13) and the needle shroud (7) is the housing of the auto-injector (1). After being locked against ring (2), a shroud beam (7.1) abuts the stop (2.12). The invention further relates to an automatic injector (1) and a method of assembling such an automatic injector (1).本発明は、自動注射器(1)のハウジング(2)に対して、ニードルシュラウド(7)の位置をロックするためのシュラウドロック(17)に関し、シュラウドロック(17)は:ニードルシュラウド(7)上に配置され、径方向外側に付勢されるシュラウドビーム(7.1)と、ハウジング(2)内に配置される止め具(2.12)と、止め具(2.12)の近位に配置される凹部(2.13)と、ハウジング(2)に連結され、ハウジング(2)に対するニードルシュラウド(7)の遠位方向の並進運動を妨げるように適用されるキャップ(11)とを含み、キャップ(11)が所定の位置にあるとき、シュラウドビーム(7.1)の少なくとも一部は凹部(2.13)の中にあり、ニードルシュラウド(7)が自動注射器(1)のハウジング(2)に対してロックされた後に、シュラウドビーム(7.1)は止め具(2.12)に当接する。本発明はさらに、自動注射器(1)、およびこのような自動注射器(1)を組み立てる方法に関する。