How long do homemade cookies, brownies, bread and cakes last?
Updated
On this page6
Extension storage charts give home storage times for most baked goods: for example, North Dakota State University (NDSU) Extension says baked cookies "will keep two to three weeks in airtight container in the cupboard," baked cakes 3 to 7 days in the pantry, and bread and rolls 3 days in the cupboard [1]. These are consumer storage figures for quality, written for people keeping food at home. They are not a best-by date for a product you sell, which has to come from your own storage checks. The table below gives every figure found in the extension sources read for this page, the failure that limits each product, and the products for which no sourced figure exists.
Consumer storage figures by product
Read each figure as the source's advice for home storage of a typical product. Your recipe, package and kitchen will move the real number in either direction.
| Product | Room temperature | Refrigerator | Freezer | What usually limits it |
|---|---|---|---|---|
| Yeast bread and rolls | 3 days (NDSU cupboard chart); NDSU's baked goods table marks room storage not recommended for breads with no preservatives [1] | 2 to 3 weeks for baked breads with no preservatives; NDSU recommends refrigeration "to inhibit mold growth" [1] | 3 to 5 months (NDSU) [1]; 6 to 8 months for baked yeast breads (Clemson) [2] | Staling, then mold. The refrigerator speeds staling while it slows mold (staling and temperature) |
| Quick breads | No figure given; NDSU marks room storage not recommended [1] | 2 months for "baked quick breads," as printed by NDSU [1] | 2 to 4 months (Clemson) [2]; NDSU marks freezing not recommended [1] | Mold on the moist crumb |
| Muffins | No figure given; NDSU marks room storage not recommended [1] | 7 to 10 days (NDSU) [1] | 6 months (NDSU) [1]; 6 to 12 months (Clemson) [2] | Mold, then staling |
| Cookies | 2 to 3 weeks in an airtight container (NDSU text; its table marks the pantry cell not recommended) [1] | Not needed: "Cookies do not need to be refrigerated" (NDSU) [1] | 8 to 12 months (NDSU) [1]; 6 months (Clemson) [2] | Soft cookies harden; crisp cookies soften; nuts and whole grains go rancid |
| Brownies and bars | No sourced figure found | No sourced figure found | No sourced figure found | Drying at cut edges; mold on moist bars |
| Baked cakes, unfilled | 3 to 7 days (NDSU) [1] | 7 to 10 days (NDSU) [1] | 6 months (NDSU) [1]; 2 to 4 months for shortened (butter) cakes and 2 to 3 months for cupcakes (Clemson) [2] | Staling and drying; the frosting or filling may be the real limit |
| Angel food, chiffon and sponge cakes | No usable figure (NDSU's angel cake row is misaligned) [1] | No figure found | 6 months (egg-white cakes), 4 to 6 months (whole-egg), 2 months (egg-yolk) (Clemson) [2] | Drying |
| Fruitcake | 6 months (NDSU) [1] | 12 months (NDSU) [1] | 12 months (NDSU) [1] | Drying |
| Baked fruit pies | 1 to 2 days (NDSU) [1] | 1 week (NDSU) [1] | 8 months (NDSU) [1]; 3 to 4 months (Clemson) [2] | Soggy crust, then mold |
| Pumpkin and chiffon pies | Not recommended (NDSU) [1] | 3 to 4 days (NDSU) [1] | 1 to 2 months (NDSU) [1]; 4 to 5 weeks for pumpkin and 2 weeks for chiffon (Clemson) [2] | Refrigerated or frozen in both sources; check your state list by name (pumpkin and custard pies) |
| Custards, custard-filled pastries, cream pies | Not given; refrigerate | 3 to 4 days (NDSU) [1] | Not recommended (NDSU) [1] | Time and temperature controlled foods: a safety limit, not only quality |
| Cheesecake | No figure found in the sources read | No figure found in the sources read | No figure found in the sources read | A refrigerated item that many state lists exclude by name (cheesecake) |
Sources: NDSU Extension FN579, reviewed January 2023, rechecked November 20, 2026 [1]; Clemson Cooperative Extension Home and Garden Information Center (HGIC) 3065, updated April 20, 2012, rechecked November 20, 2026 [2]. NDSU's chart gives refrigerator temperatures as 32 to 40°F and freezer as 0°F [1].
Clemson adds handling advice that applies to everything homemade: it lists custard and cream puddings and fillings among foods that do not freeze well, notes that meringue on pies "toughens and sticks to the wrapper," and advises against egg-white frosting on cakes meant for the freezer [2]. How to freeze, thaw and sell is on freezing baked goods for sale.
Where the sources disagree, and what that tells you
NDSU and Clemson give different freezer times for the same products: cookies at 8 to 12 months against 6 months, muffins at 6 months against 6 to 12, baked fruit pies at 8 months against 3 to 4 [1] [2]. Both are consumer storage advice, and neither presents its freezer times as a safety limit. In the freezer, flavor fades, crumb dries and freezer burn sets in at rates that depend on wrapping and on how cold and steady the freezer runs, so two careful sources can land on different numbers. The difference is a reminder that these numbers describe someone else's product in someone else's freezer.
NDSU's chart also lists refrigerator times for quick breads and bread that are longer than its room temperature advice, because its concern there is mold [1]. Bread in the refrigerator will be firmer by the end of that time; the measured staling result is on the staling page.
Where NDSU marks a cell "not recommended" and Clemson gives a time (quick breads in the freezer), this page prints Clemson's figure because Clemson also gives wrapping and thawing directions for it [2].
Products with no sourced figure
No extension or federal source read for this page gives a storage time for brownies, blondies, bar cookies or cheesecake. Food media pages answer "how long do brownies last" with confident numbers, but none of those pages cites a source, and the figures vary from page to page. Brand help pages for commercial cookie and brownie companies describe their own products, made with their own formulas and packaging. Neither is a basis for a homemade product, so their numbers are not repeated here.
For a brownie or bar, reason from what limits it. A plain, fully baked brownie behaves like a soft cookie that dries at its cut edges, so wrapping or cutting close to sale matters more than the calendar. A bar with a moist fruit layer can mold. A bar with a cream cheese, custard or cheesecake layer raises a safety question that the state list decides, covered on filled and creamy bars.
Why these figures are not your best-by date
Every figure above was written for a household: a consumer who bought or baked something and wants to know how long to keep it. A seller's question is different. Your buyer may carry the item in a hot car, store it on a sunny counter or keep it longer than you expect. Your package may hold moisture better or worse than an airtight tin. And the extension figures say nothing about your particular formula, which may stale, dry or mold faster or slower than the typical product they had in mind.
So use this table as a starting expectation, then set your own date from storage trials of your product, in your package, under the conditions it will meet. The method is on setting a best-by date, and the best-by worksheet records the checks. NDSU itself frames "best if used by" dates as a quality date "(not for safety reasons)" [1], and that is the right way to think about any date you print. Keeping times for dry mixes are a separate subject with different sources, on how long dry mixes keep.
Turning these figures into a date you can print
The next step is a storage trial on your own product: read setting a best-by date for baked goods you sell. If you plan to bake ahead and freeze, read freezing baked goods and selling them thawed first, and if your goods will travel, see shipping baked goods.
Top picks
Top containers for baking and dry goods
8 oz · 89-400 · PET
12 oz · 89-400 · PET
6 oz · 70-400 · PET · Black
8 oz · 70-400 · PET
6 oz · 70-400 · PET · Amber
3 oz · 58-400 · PET
12 oz · 70-400 · PET
16 oz · 89-400 · PET
References
- North Dakota State University Extension, Julie Garden-Robinson, *Food Storage Guide Answers the Question . . .* (FN579), published January 19, 2018, reviewed January 2023; read November 20, 2026. https://www.ndsu.edu/agriculture/extension/publications/food-storage-guide-answers-question
- Clemson Cooperative Extension, Home and Garden Information Center, Pamela Schmutz and E. H. Hoyle, revised by Kimberly A. Baker and Adair Hoover, *Freezing Prepared Foods* (HGIC 3065), updated April 20, 2012; read November 20, 2026. https://hgic.clemson.edu/factsheet/freezing-prepared-foods/