A syringe for injecting a solid medicament comprises a syringe body mounted movably in a housing and connected to a needle. A spring force acts on the syringe body in a proximal direction, wherein movement of the syringe body in the proximal direction can be freed by a first locking device that cooperates with the syringe body. A primary plunger, which is movable in the syringe body and in the needle, comprises a limit stop that can cooperate with the syringe body. The limit stop is spaced from the syringe body immediately prior to the unlocking of the first locking device. By way of the limit stop the primary plunger can be driven back in the proximal direction through the syringe body when the first locking device is unlocked. The first locking device can be deactivated by an actuating element arranged on the device.