How Long Do Cupcakes Last?
Cupcakes with buttercream or no frosting last 1–2 days on the counter, up to 1 week in the fridge and 2–3 months in the freezer. Cupcakes with cream cheese frosting, whipped cream or a custard filling must be refrigerated and eaten within 3–4 days.
Cupcakes — fresh
shelf life- Fresh, cream cheese or whipped frosting: 3–4 days in the fridge
Fridge at 40°F (4°C) or below · freezer at 0°F (−18°C). Freezer times are for best quality; frozen food stays safe longer.
Cupcakes are single-serving cakes baked in paper liners and usually topped with a swirl of frosting. Their small size gives them a lot of surface for their volume, so they dry out faster than a whole cake. The frosting decides where they live: buttercream is counter-stable, while cream cheese, whipped cream and custard fillings need the fridge.
How to store cupcakes
- Use a container tall enough that the lid clears the frosting, or a cupcake carrier; plastic wrap laid over piped frosting will ruin it.
- If you are baking ahead, store the cupcakes unfrosted in an airtight container and frost them the day you serve them.
- To freeze frosted cupcakes, freeze them uncovered for 1 hour until the frosting is solid, then pack them in a rigid container.
- Thaw frozen cupcakes in the fridge in their closed container, then bring them to room temperature before serving so the crumb softens.
How to tell if cupcakes have gone bad
- Mold on the cake, often hidden under the paper liner or at the base of the frosting.
- Frosting that smells sour, has gone watery or is sliding off the top.
- A liner that peels away from a shrunken, hard cake shows the cupcake is stale and dried out.
- A fermented or off smell from a fruit, custard or cream filling.
Bacteria that cause food poisoning usually do not change the look, smell or taste of food. Go by the time limits first, and the signs above second.
Cupcakes shelf life chart
| State | Fridge | Freezer | Pantry |
|---|---|---|---|
| Fresh | 1 week | 2–3 months | 1–2 days |
| Unfrosted or topped with buttercream, ganache or fondant. Best texture is within the first 2 days. | |||
| Fresh, cream cheese or whipped frosting | 3–4 days | 1–2 months | Not safe |
| Cream cheese frosting freezes acceptably; whipped cream and custard fillings do not. | |||
Not safe = perishable: no more than 2 hours at room temperature (1 hour above 90°F / 32°C). Not recommended = possible, but quality suffers or it serves no purpose.
Frequently asked questions
Do cupcakes need to be refrigerated?
Not if they are plain or topped with ordinary buttercream; those keep 1–2 days in an airtight container at room temperature. Cupcakes with cream cheese frosting, whipped cream, custard, curd or fresh fruit do need the fridge, and should not be out for more than 2 hours in total, including time on a party table.
How do I keep cupcakes moist overnight?
Put them in an airtight container as soon as they are completely cool. Air is what dries them out, and a cardboard bakery box is not airtight. If they are unfrosted, a layer of frosting also helps by sealing the top surface. Avoid the fridge for buttercream cupcakes you plan to eat the next day.
Can you freeze cupcakes with frosting on them?
Yes, buttercream-frosted cupcakes freeze well for 2–3 months. Freeze them uncovered until the frosting is hard, then store them in a rigid airtight container so nothing presses on the tops. Unfrosted cupcakes freeze even better and can be frosted while still slightly frozen.
How long do bakery or grocery store cupcakes last?
Bakery cupcakes are at their best for 1–2 days at room temperature and keep up to 1 week refrigerated if the frosting is buttercream. Packaged supermarket cupcakes often contain preservatives and carry a printed date; follow it, and refrigerate any with whipped or cream cheese topping.
Related foods
| Food | Fridge | Freezer | Pantry |
|---|---|---|---|
| Cake Fresh |
1 week | 2–4 months | 1–2 days |
| Frosting Opened |
2–3 weeks | 2–3 months | Not recommended |
| Muffins Fresh |
1 week | 2–3 months | 1–2 days |
| Brownies Homemade |
1 week | 3 months | 3–4 days |
| Cream Cheese Opened |
2 weeks | Not recommended | Not safe |
| Cookies Homemade |
Not recommended | 6–8 months | 1–2 weeks |
More cakes: Cheesecake.
Reviewed 2026-09-20. Times follow published USDA FoodKeeper / FSIS, FDA and CDC storage guidance; where sources differ we use the shorter time. How we compile this data.