Cap for a portable medical delivery device having an axial direction defining a first end and a second end of the cap comprising an opening (14) for receiving a front part of a medical delivery device defined at the first end of the cap, a socket (11) for covering a needle mounting portion (21) of the medical delivery device, characterized in that the cap further comprises a first receptacle (12) being designed for storing at least one spare needle (32) in the interior of the cap, and a medical delivery device comprising such a cap.