The shelf life of cupcakes will vary depending on the type of frosting they have. Unfrosted cupcakes can last up to three days at room temperature. Meanwhile, those with a buttercream or cream cheese frosting can last up to five days. If you'd like your cupcakes to last longer, try storing them in the fridge.