A device for injecting a product, in particular a product for medical use, comprising: - a body receiving a hollow injection needle and a container containing the product to be injected; the needle and the container being movable relative to said body between an injection position and a retraction position; - needle holding means (5 to 7; 28, 29), holding normally the needle in the injection position, which can be released to free the displacement of the needle to said retraction position; - container holding means (39, 41, 45), holding normally the container in the position allowing the injection, which can be released to free the displacement of the container to said retraction position; and - a plunger engaged in the container, - first means for actuating said needle holding means (5 to 7; 28, 29), - second means for actuating said container holding means (39, 41, 45), - a container support slidably mounted on the body and displaceable relative to the latter to carry out the injection, said container being linked to this support by being movable relative to the latter between a position allowing the injection and a retraction position, - means (3, 47, 48) for holding the container support, holding normally the container support in the waiting position before the injection, which can be released to free the displacement of the container support and allow the injection, - means for actuating the release of the means (3, 20, 47, 48) for holding the container support allowing the injection, characterized in that: - said first actuating means are distinct from said second actuating means, said first and second actuating means (42, 32) allowing, at the end of the injection, to respectively release the needle holding means (5 to 7; 28, 29) before the release of the container holding means (39, 41, 45), or simultaneously release the needle holding means (5 to 7; 28, 29) and the container holding means (39, 41, 45). - a body receiving a hollow injection needle and a container containing the product to be injected; the needle and the container being movable relative to said body between an injection position and a retraction position; - needle holding means (5 to 7; 28, 29), holding normally the needle in the injection position, which can be released to free the displacement of the needle to said retraction position; - container holding means (39, 41, 45), holding normally the container in the position allowing the injection, which can be released to free the displacement of the container to said retraction position; and - a plunger engaged in the container, - first means for actuating said needle holding means (5 to 7; 28, 29), - second means for actuating said container holding means (39, 41, 45), - a container support slidably mounted on the body and displaceable relative to the latter to carry out the injection, said container being linked to this support by being movable relative to the latter between a position allowing the injection and a retraction position, - means (3, 47, 48) for holding the container support, holding normally the container support in the waiting position before the injection, which can be released to free the displacement of the container support and allow the injection, - means for actuating the release of the means (3, 20, 47, 48) for holding the container support allowing the injection, - said first actuating means are distinct from said second actuating means, said first and second actuating means (42, 32) allowing, at the end of the injection, to respectively release the needle holding means (5 to 7; 28, 29) before the release of the container holding means (39, 41, 45), or simultaneously release the needle holding means (5 to 7; 28, 29) and the container holding means (39, 41, 45).