Decided in the bowl, not the tin

Why do my cookies go hard, and how do I keep them soft?

An airtight tin slows the drying. What decides whether there was much water to lose in the first place is the brown sugar, and that is fixed before the dough is mixed.

Every other page on this question tells you how to store the cookie. This one starts with what the cookie is made of. Below: the mechanism behind all the storage tricks, the one formula decision that outlasts them, and what to do about a batch that has already gone hard.

Read against 619 published chocolate chip cookies recipes and 10,058 reports from cooks who changed one thing.

An open tin of cookies with a soft fresh one and a drier day-old one set out in front.
Grammy's Kitchen · illustration
The mechanism, stated plainly

What actually keeps a cookie soft

Not a container. A ratio, fixed before the dough is even mixed.

Start here 799 bakes

Push the brown sugar up

Brown sugar carries molasses, which holds on to water, and water kept in the crumb is what a soft cookie physically is.

Recipes with a higher share of it come out chewier. Being straight about the edge result: it runs crisper, not softer, so this is not the tidy “everything gets softer” story a page like this would like to tell. A more tender bite and retained water are close to the same physical fact, and retained water is the raw material a cookie has to spend over the days that follow.

What we did not measure: nobody in these reviews baked the same recipe twice and timed how long it stayed soft. The bite result is the closest fitted stand-in we have, which is why the recipe built for chew is where we would point you if staying soft matters more than the edge.

Do it anyway

Seal them, and do not expect a rescue

An airtight container slows the water leaving the crumb.

This is correct, it costs nothing, and it is the entire content of almost every other page on this question. What a tin cannot do is put back water a low-brown-sugar formula never held in the first place. It slows a loss that a different ratio would have slowed from the inside.

Already hard?

Weigh the flour before you blame the sugar

Flour scooped by volume packs unpredictably and can run well over the weight the recipe was written for.

Extra flour ties up more of the dough's water in gluten and starch, leaving less of it free to keep the baked crumb soft. That is the same water the brown-sugar ratio is working to hold on to, lost a different way. It is the cheapest check available, and it comes before any change to the formula.

Where the fix actually lives

Most recipes already split the difference

If a recipe is going stale fast, this is the number worth checking before anything else.

Each tick is one of the 619 recipes, from all white sugar on the left to all brown on the right. The shaded band is the middle half; that is where most published recipes already sit.

The typical recipe puts a little over half its sugar in as brown, the midpoint sits at 59%. 71 of the 619 we compared use no brown sugar at all, and those are the ones most likely to be the "goes hard by tomorrow" recipe someone is complaining about. Not because the recipe is broken, but because nothing in it was ever going to hold water in the crumb. 48 go all the way to brown; if the more tender bite our data measures is the whole goal, that end of the range is where to look, and the full effect and its trade-offs are here.

Freezing cookies

What cooks actually do for the long term

The freezer questions in our reviews are almost all about dough, not baked cookies. That gap is itself useful to know.

Notice what is missing: we have no reports in these reviews of cooks freezing already-baked cookies, only dough. We are not going to invent advice for a question our own cooks did not answer; see the honesty section below.

Dry and crumbly, specifically

Is crumbly the same problem as hard?

They are related, not identical

Our model tracks whether a cookie reads sturdier or more crumbly as its own outcome, separate from chew. It is a real axis in how we score a cookie. It is also one we could not fit to any ingredient ratio in this corpus: no lever for it survived the fitting the way the brown-sugar effects did.

The physics we do have

Flour protein plus available water plus agitation builds an elastic network that resists the bite. That is the mechanism behind gluten, and gluten is what keeps a bite pulling instead of falling apart. It is the same reasoning behind the flour-weighing report above: too much flour, or too little water reaching it, and the crumb has less holding it together as well as less water in it to begin with.

Dry is usually hard's earlier cousin

A cookie going dry and a cookie going hard are both water leaving the crumb; dry is what it feels like on day one, hard is the same process further along. The brown-sugar ratio above is the formula-level answer to both. If yours feels dry straight out of the oven rather than a day later, that is more likely to be over-baking than storage or formula. Worth a look at the problems hub if that is the case.

Straight with you

Where we would be guessing

So you know how far to trust the rest of this page.

There is no shelf-life number here

How many days a cookie stays soft, in a tin or out of one, is not something these recipes can tell us. Nobody reported baking the same recipe and timing when it went stale. The reasoning above is sound chemistry applied to a question we did not measure directly, and that is a different thing from a measured result.

Nothing on containers, wrapping or the bread trick

Bread in the tin, wax paper against plastic, glass against metal: none of it is in our data and we are not going to rank it for you. What we can say is that all of it works the same way, slowing loss from the outside, which is the smaller half of the problem.

Direction, not a day count

799 bakes point to more brown sugar giving a crisper edge and a more tender bite, not a softer cookie across the board. They do not come with a dose. Treat this as which way to move the ratio rather than a number to hit.