Described is an autoinjector (1) comprising a case (2) adapted to hold a medicament container having a needle (4), a needle shroud (7) telescopically coupled to the case (2) and movable between a first extended position (FEP) relative to the case (2) in which the needle (4) is covered, and a retracted position (RP) relative to the case (2) in which the needle (4) is exposed, and a second extended position (SEP) relative to the case (2) in which the needle (4) is covered and the needle shroud (7) cannot translate relative to the case (2), and a plunger (10) slidably disposed in the case (2) and movable between a proximal position, an intermediate position and a distal position relative to the case (2). When the plunger (10) is in the intermediate position and the needle shroud (7) is in the retracted position (RP), the plunger (10) abuts the case (2) to prevent the needle shroud (7) from returning to the extended position (EP). When the plunger (10) is in the distal position and the needle shroud (7) is in the second extended position (SEP), the plunger (10) abust the case (2) to prevent the needle shroud (7) from returning to the retracted position (RP).