The present specification relates to a subassembly for a drug delivery device, the subassembly comprising:a housing adapted to contain a drug container with a needle,a cap, anda spacer,wherein the housing has an inner surface forming a cavity configured to retain the drug container,wherein the cap is configured to be releasably connected to the housing, andwherein the spacer is arranged between the cap and the housing.