Sweet Escape
← All posts

A little dessert science

Why Do Marshmallows Puff Up When Heated?

A marshmallow can start out smaller than the graham cracker you set beside it and end up hanging over both edges. Where did the extra marshmallow come from? The candy didn’t gain more sugar. Warm gas takes up more room inside bubbles that were there all along, and the softened walls stretch to let those bubbles grow. Some of the water in the candy can also turn to vapor and add to the gas inside.

That’s the short answer, but the best clue is that a marshmallow can puff up without being heated at all. A classroom demonstration makes that happen by changing what’s pushing on the candy from the outside. Together, the two cases explain why this little foam can be springy in the bag, billowy when warmed, and quite different again in an ice cream recipe.

A marshmallow is already full of air

Pull apart an unheated marshmallow and look at the rough surface. Those little gaps are the inside of an edible foam. In a conventional gelatin marshmallow, the bubbles sit in a sugary, water-containing mixture held by a gelatin network. Whipping introduces the air before the candy sets. What looks like one solid piece is really lots of tiny spaces separated by walls soft enough to bend when you pinch it.

Food scientists Meredith Cohen and Richard Hartel measured how much that air can change the candy. In their 2025 study of aerated confectionery gels, the average density of the unwhipped samples was about 1.5 grams per cubic centimeter. The lightest group of whipped samples averaged about 0.47. The groups had similar water content. In other words, the light samples weren’t made light by drying them out; whipping made room for more air in the same volume of candy.

The researchers also pressed a probe into the samples and measured what happened as it came back out. More air reduced the work it took to pull the probe free, a way to measure stickiness. More gelatin made the tested gels stiffer. How a sample resisted the initial press depended in part on the bubbles’ size distribution, not simply the total amount of air. That’s why “squishy” is only the start of describing how a foam feels: it can give under your finger, spring back, and cling to it, and those aren’t the same measurement.

The lab also took X-ray scans. One commercial marshmallow in the comparison was lighter for its size than the lab’s whipped samples and had more evenly sized pockets in the images. The researchers could see the difference, but the scans weren’t sharp enough for them to count and size all the bubbles reliably. If you tear open a homemade one and a packaged one, a difference in the pattern wouldn’t tell you which has more gelatin. How the air got in can change that pattern, too.

What changes when the candy gets hot?

The Science Museum of Virginia’s marshmallow demonstration separates two jobs heat does in a microwave. Energy absorbed by water warms the candy and makes its sugary walls easier to stretch. At the same time the gas in the pockets warms and expands. The Science on Stage classroom notes add one more piece: as moisture evaporates into the pockets, there’s more gas in them than before. No yeast or baking powder is needed to get a puff.

Here’s a way to put the warming alone in perspective. According to Charles’s law, if the pressure and amount of gas stay the same, volume follows temperature measured from absolute zero. An imaginary pocket of dry air warming from 20°C to 60°C goes from about 293 to 333 kelvins. Its volume would grow by about 14 percent, not triple just because the number on a Celsius thermometer tripled. That’s a comparison on paper, not a temperature to aim for or a prediction of the candy’s size. The real walls stretch, water vapor can enter, and gas can leak out.

Cooling is another reason to treat the puff as temporary. As the gas cools it occupies less space under comparable pressure, and some vapor can turn back into liquid. A pocket that cracked open doesn’t refill just because the candy is cool again. The outside can wrinkle or slump, even if the marshmallow looked nearly round at its biggest. Watching the candy grow and then settle tells you more than a single picture at the end.

“How much bigger?” depends on what you measure. The museum’s lesson estimates volume from both height and width because a marshmallow can spread sideways while getting shorter. Imagine two tidy cylinders of the same height. If one is twice as wide, its footprint is four times as large, so it would have four times the volume. A real puff rarely keeps such a tidy shape, but the comparison explains why height alone can miss most of the change.

How to make it puff without heat

In a University of Washington chemistry demonstration, marshmallows grow inside a chamber as air is pumped out. Less pressure outside gives the gas inside the candy more room to expand. You don’t need to heat the candy or make more water vapor for that initial swelling. It looks like the microwave trick, but the change is outside the marshmallow instead of a temperature rise from within.

There’s a second surprise. The university notes that the candy can start to deflate even before the chamber is opened, because gas can escape. Once air is allowed back into the chamber, the marshmallows shrink again and may end up smaller than they started. An intact balloon and a cluster of tiny bubbles with fragile walls don’t always behave the same way. That’s a reason to watch the lab demonstration, not to try pulling a vacuum on a household glass jar.

For a kitchen-table observation with no equipment or heat, tear a fresh marshmallow in half and compare the torn face with the smooth outside. Press another one flat and see how much height comes back when you let go. You’re not measuring the bubbles individually, but you can see the difference between a surface that bends and one that’s been torn open.

In ice cream, the form of the marshmallow matters

Take Emma Duckworth’s toasted marshmallow ice cream. Some of the toasted marshmallows disappear into the warm custard before churning. The rest go into the already churned ice cream as separate pieces. Both parts started as the same candy, but the base doesn’t preserve the original marshmallow shape. The late addition leaves individual pockets you can find with a spoon.

Contrast that with Susan Reid’s marshmallow swirl at King Arthur Baking. It starts with a separate spread whipped from egg whites and syrup. The spread is folded into soft ice cream so it leaves streaks rather than being stirred all the way through. A ribbon of spread, an intact candy piece, and a flavor blended into the whole base are three different ways to put marshmallow into dessert. You can tell which effect a recipe is aiming for by looking at when it adds the marshmallow, and in what form.

Air matters to the ice cream, too, but it gets there separately. As the University of Guelph’s ice cream guide explains, freezing and whipping happen together as the base churns. Folding a spread in later is not how the base itself gets its air. If you’re curious about what happens to that frozen foam in storage, our ice cream shrinkage story follows a different kind of bubble puzzle.

Quick marshmallow questions

Why do marshmallows puff up without yeast?

The bubbles are already there. Heating expands the air inside them, and some of the water can become vapor and add gas. The softened candy stretches around those pockets.

Why does a puffed marshmallow shrink when it cools?

Cooling reduces the volume of the warm gas, and some water vapor can condense. If bubbles have burst or leaked, the candy may not return to its original shape.

Is a marshmallow swirl the same as mini marshmallows in ice cream?

No. A folded-in spread can leave soft streaks, while whole pieces added after churning stay in separate pockets. Check the recipe or the current label to see which form is used.

From the campfire idea to a Memphis scoop

At Sweet Escape, the S’Mores with Toasted Coconut listing names vanilla ice cream, chocolate chunks, graham cracker crumbs, and toasted coconut. The short description doesn’t name marshmallow and isn’t the full ingredient list. Our s’mores scoop guide explains what the listing tells you and what it leaves open.

The item page lists milk, wheat, and soy, plus shared equipment for peanuts, tree nuts, and eggs. For current ingredients, nutrition, and allergens, ask us to check the container label and discuss facility, equipment, handling, and cross-contact. Check the live menu before heading to Whitten Road.

See the live menu