Cupcakes that are stored in a sealed container and kept at room temperature can last one to 14 days, depending on the item and how it was prepared. Packaged cupcakes last about one to two weeks, while homemade cupcakes last one to two days.
For cupcakes that have fresh fruit on them, do not store them for longer than one day in a sealed container unless it is in the refrigerator. In this case, it lasts one to two days, or two to four months in the freezer. Cupcakes with cream cheese or whipped cream frosting last one to two days at room temperature, two to three days in the refrigerator, or two to four months in the freezer.