The invention relates to an autoinjector (1) comprising:a housing (30, 30a, 30b), a container movable within said housing between an initial position and an insertion position, said movement being prevented when the container is in its passive state, and permitted when the container is in its active state, anda safety shield (40) movable with respect to said housing between a first position and a second position, said movement placing the container in its active state,first retaining means (61, 52) for maintaining said container in its passive state,characterized in that it comprisesfirst deactivating means (50, 51), capable of rotating with respect to said first retaining means from a first position, in which said first retaining means maintain said container in its passive state, to a second position, in which said first retaining means allow the passage of said container in its active state, said rotation being caused by movement of said safety shield from its first position to its second position under distal pressure exerted on said housing.