The present invention refers to a pen cap, being capable of covering a distal end of a drug delivery device comprising at least one protruding element located inside the pen cap which prevents that the rim of an outer needle cap, while being a protective casing for the needle at the distal end of the drug delivery device, can get stuck within a part of the pen cap if the user puts the pen cap on the drug delivery device. The inner diameter of the pen cap is reduced by means of the at least one protruding element, such that the inner diameter of the pen cap is smaller than the largest outer diameter of the outer needle cap. Furthermore, the invention relates to a drug delivery device comprising a pen cap with the described protruding elements.