The present invention relates to a drug delivery device. The drug delivery device includes a housing that has a surface adapted to be placed against a user's skin during use of drug delivery device, and an attachment mechanism for holding the drug delivery device on the user's skin. The drug delivery device also has a needle assembly, which includes a needle that protrudes from the surface for delivery of the drug to the user and a shield that surrounds the needle after the drug delivery device has been used. The needle assembly can be detached from the housing for disposal.