Described is a medicament delivery device (100) comprising a case, a container slidably disposed in the case between a first position and a second position, a needle (115) coupled to the container, and a needle alignment detection mechanism disposed on the case and adapted to receive the needle (115). The needle alignment detection mechanism determines whether the needle (115) is aligned with a longitudinal axis (L) when the needle (115) is in the first position, the second position or translating between the first position and the second position.