An injection device for automatically squeezing out a dosage of injection liquid from a container. The injection device including a housing defining a longitudinal central axis; a first component; a second component; wherein the first and second component move relative to one another when the liquid is squeezed out; a spring configured to at least partially release stored energy to squeeze out the dosage; a setting device to set a rate at which the liquid is squeezed out; the setting device influencing the energy required for moving the second component relative to the first; the first component, when squeezing out liquid, is guided in the housing so as to be movable in the direction of the axis and to be rotationally fixed; and, the second component, when squeezing out liquid, is mounted relative to the housing so as to be rotatable and rotationally fixed in the direction of the axis.