A drug delivery device (1) comprises a housing (2) and a cap (3) attachable onto the housing (2). The cap (3) comprises one or more snap features (33) to attach the cap (3) onto the housing (2) and one or more orientation features (34) to define the orientation of the cap (3) relative to the housing (2). At least one of the orientation features (34) is located at a rigid part of the cap (3) and at least one of the snap features (34) is located at a less rigid part of the cap (3).