An injection device for automatic dispensing including a) a housing (70, 270) having a longitudinal axis, b) a needle protection device (10, 210) which is displaceable along the longitudinal axis from a distal starting position into a proximal position and from the proximal position into a needle protection position, c) a drive device (50, 250) which is moveable in the housing (70, 270) and which is driven into a dispensing position by a drive means (60, 260), and d) an active substance container including a plunger (102, 250a, 450a) which is displaceable relative to the active substance container for product dispensing and wherein the drive means acts on the drive device and wherein the plunger (250a, 450a) is moveable in the distal direction by means of the drive device (50, 250, 450) and an active substance is dispensed from the active substance container by way of a needle, e) a rotary sleeve (40, 240) rotatable about the longitudinal axis from a first position into a second position, f) a first profile (41, 241) which is operatively connected to a second profile (51, 251), wherein the first profile (41, 241) is connected to the rotary sleeve (40, 240) and the second profile (51, 251) is connected to the drive device or to the housing and the profiles (41, 241, 51, 251) form a transmission means, characterised in that g) the needle protection device (10, 210) in the distal position blocks the rotation of the rotary sleeve (40, 240) from the first position into the second position, wherein the rotary sleeve has at least one guide rib and the needle protection device has at least one blocking rib, which block the rotation of the rotary sleeve (40, 240) when the needle protection device is in the distal starting position or in the needle protection position; and upon displacement of the needle protection device (10, 210) into the proximal position enables the rotation of the rotary sleeve (40, 240), wherein the at least one guide rib and at least one blocking rib enable the rotation of the rotary sleeve (40, 240) when the needle protection device moves into its proximal position; and h) the drive means (60, 260) rotates the rotary sleeve (40, 240) from the first position into the second position by the first profile (41, 241) and the second profile (51, 251). a) a housing (70, 270) having a longitudinal axis, b) a needle protection device (10, 210) which is displaceable along the longitudinal axis from a distal starting position into a proximal position and from the proximal position into a needle protection position, c) a drive device (50, 250) which is moveable in the housing (70, 270) and which is driven into a dispensing position by a drive means (60, 260), and d) an active substance container including a plunger (102, 250a, 450a) which is displaceable relative to the active substance container for product dispensing and wherein the drive means acts on the drive device and wherein the plunger (250a, 450a) is moveable in the distal direction by means of the drive device (50, 250, 450) and an active substance is dispensed from the active substance container by way of a needle, e) a rotary sleeve (40, 240) rotatable about the longitudinal axis from a first position into a second position, f) a first profile (41, 241) which is operatively connected to a second profile (51, 251), wherein the first profile (41, 241) is connected to the rotary sleeve (40, 240) and the second profile (51, 251) is connected to the drive device or to the housing and the profiles (41, 241, 51, 251) form a transmission means, characterised in that g) the needle protection device (10, 210) in the distal position blocks the rotation of the rotary sleeve (40, 240) from the first position into the second position, wherein the rotary sleeve has at least one guide rib and the needle protection device has at least one blocking rib, which block the rotation of the rotary sleeve (40, 240) when the needle protection device is in the distal starting position or in the needle protection position; and upon displacement of the needle protection device (10, 210) into the proximal position enables the rotation of the rotary sleeve (40, 240), wherein the at least one guide rib and at least one blocking rib enable the rotation of the rotary sleeve (40, 240) when the needle protection device moves into its proximal position; and h) the drive means (60, 260) rotates the rotary sleeve (40, 240) from the first position into the second position by the first profile (41, 241) and the second profile (51, 251).