An injection device is for automatically squeezing injection liquid from a container and includes: a housing; an injection spring configured to cause squeezing of the injection liquid from the container; the injection device defining a longitudinal central axis and a proximal direction; a metering piston mounted so as to be movable in the direction of the longitudinal central axis of the injection device; the metering piston being configured to, when squeezing injection liquid, move in the proximal direction; a setting device for setting the quantity of injection liquid to be squeezed; an end stop which establishes a terminal position of the metering piston; and, the setting device having an adjustment unit configured to adjust the position of the end stop.