Drug injection device comprising: - a cartridge housing extending along a longitudinal axis and configured to house a cartridge including a predetermined drug volume; - a dose setting mechanism configured to set a drug dose to be delivered out of the cartridge; - a dose delivery mechanism configured to deliver the drug dose set by the dose setting mechanism; wherein the dose setting mechanism comprises: - a dose setting service element configured to rotate about said longitudinal axis during the drug dose setting; - a last dose setting device configured to prevent a user to set a drug dose greater than the drug volume remaining in the cartridge after at least one previous drug dose delivery, wherein the last dose setting device comprises: - a pinion arranged coaxially to said longitudinal axis at a fixed axial position with respect to the cartridge housing; - a rack engaged with the pinion and movable along a longitudinal direction parallel to the longitudinal axis when the pinion rotates; characterized in that the pinion is configured to rotate about the longitudinal axis together with the dose setting service element during the drug dose setting and in that the pinion and the rack have mutual abutment elements (70, 80) configured to abut with each other and prevent further rotation of the pinion after the rack has travelled an axial length correlated to the predetermined drug volume. - a cartridge housing extending along a longitudinal axis and configured to house a cartridge including a predetermined drug volume; - a dose setting mechanism configured to set a drug dose to be delivered out of the cartridge; - a dose delivery mechanism configured to deliver the drug dose set by the dose setting mechanism; wherein the dose setting mechanism comprises: - a dose setting service element configured to rotate about said longitudinal axis during the drug dose setting; - a last dose setting device configured to prevent a user to set a drug dose greater than the drug volume remaining in the cartridge after at least one previous drug dose delivery, wherein the last dose setting device comprises: - a pinion arranged coaxially to said longitudinal axis at a fixed axial position with respect to the cartridge housing; - a rack engaged with the pinion and movable along a longitudinal direction parallel to the longitudinal axis when the pinion rotates; - a dose setting service element configured to rotate about said longitudinal axis during the drug dose setting; - a last dose setting device configured to prevent a user to set a drug dose greater than the drug volume remaining in the cartridge after at least one previous drug dose delivery, wherein the last dose setting device comprises: - a pinion arranged coaxially to said longitudinal axis at a fixed axial position with respect to the cartridge housing; - a rack engaged with the pinion and movable along a longitudinal direction parallel to the longitudinal axis when the pinion rotates; - a pinion arranged coaxially to said longitudinal axis at a fixed axial position with respect to the cartridge housing; - a rack engaged with the pinion and movable along a longitudinal direction parallel to the longitudinal axis when the pinion rotates; characterized in that the pinion is configured to rotate about the longitudinal axis together with the dose setting service element during the drug dose setting and in that the pinion and the rack have mutual abutment elements (70, 80) configured to abut with each other and prevent further rotation of the pinion after the rack has travelled an axial length correlated to the predetermined drug volume.