Powdered hot chocolate or cocoa mixes, on the other hand, often do expire. Because these typically contain powdered milk, they should be used within six to 12 months of purchase. Cocoa powder should be stored in a cool, dry location to extend its shelf life.