An injection device (110) is disclosed comprising a housing (112) adapted to receive a syringe (114) having a discharge nozzle (118). The syringe (114) is movable along a longitudinal axis of the housing (112) between a retracted position in which the discharge nozzle (118) is contained within the housing (112) and an extended position in which the discharge nozzle (118) extends from the housing (112) through an exit aperture. A syringe carrier (128) is adapted to support the syringe (114) as it is advanced. A cap (111) is removably located over the exit aperture and a needle shield (123) is located over the discharge nozzle (118). The needle shield (123) is connected to and moveable within the cap (111) in a linear direction towards the exit aperture to release the needle shield (123) from the discharge nozzle (118). The cap (111) comprises a locking component (170) which is adapted to prevent movement of the syringe carrier (128) towards the exit aperture when the cap (111) is located on the housing (112) during removal of the needle shield (123) from the discharge nozzle (118). A method of removing the cap (111) from the device (110) is also disclosed in which the needle shield (123) is removed from the discharge nozzle (118) by rotating the cap (111) relative to the housing (112).