The present invention relates to a protection device (1) for a needle comprising an inner casing defining a cavity and an outer casing (3) surrounding said inner casing, wherein said outer casing is provided with stabilizing means (7) capable of cooperating with a substantially horizontal surface of a support so as to maintain said inner casing in a substantially vertical direction, in which an access to said cavity is left free. The invention also relates to an assembly comprising such a protection device and a needle fixed on the needle tip of a drug delivery device.