# Why does pasta really boil over?

I was making pasta, and I noticed the pasta boiling over. I thought about it some more, and I realized I had no idea why this was happening. When the lid is on, the foam rises. When the lid is off, the foam dies back. Clearly there's some surfactant at work allowing bubbles to form, and the bubbles are mostly full of steam. If you remove the lid, they cool and condense down to a tiny size. This article is honestly just not specific enough. Why is the starch important?(It also happens with potatoes) How does a polysaccharide, a hydrophilic molecule, become a surfactant(if indeed it does)? Is it phospholipids from the cells that became pasta? Do starch molecules form a polymer and trap steam underneath like a balloon? Is it some kind of hybrid where bubbles are stabilized by viscosity? What's going on here?

This question on seasoned advice tries to tackle it but gets surface tension wrong(I think) so that makes me a little wary of it. Surfactants like soap reduce the surface tension, allowing bubbles to form by letting water molecules spread out into thin films. They also keep your alveoli in your lungs from collapsing. If starches increased the surface tension, wouldn't that reduce the likelihood of forming bubbles by increasing the energetic penalty? High surface tension materials act like mercury.

This answer is all over the internet but doesn't make any sense to me. You need less surface tension for bubbles, surely?

If it's just phospholipids acting as detergent, could I 'boil over' pasta in cold water with a whisk? (I tried this, you can't.)

I considered putting this on seasoned advice, but I'm not interested in how to prevent boil-over(or really any practical results), and the supplied answer there lacks scientific rigor.

## 3 Answers

The starch forms a loosely bonded network that traps water vapor and air into a foamy mass, which expands rapidly as it heats up.

Starch is made of glucose polymers (amylopectin is one of them, shown here):

Some of the chains are branched, some are linear, but they all have $\ce{-OH}$ groups which can form hydrogen bonds with each other.

Let's follow some starch molecules through the process and see what happens. In the beginning, the starch is dehydrated and tightly compacted - the chains are lined up in nice orderly structures with no water or air between them, maximizing the hydrogen bonds between starch polymers:

As the water heats up (or as you let the pasta soak), water molecules begin to "invade" the tightly packed polymer chains, forming their own hydrogen bonds with the starch:

Soon, the polymer chains are completely surrounded by water, and are free to move in solution (they have dissolved):

However, the water/starch solution is not completely uniform. In the middle of the pot of water, the concentration of starch is low compared to water. There are lots and lots of water molecules available to surround the starch chains and to keep them apart. Near the surface, when the water is boiling, the water molecules escape as vapor. This means that near the surface, the local concentration of starch increases. It increases so much as the water continues to boil, that the starch can collapse back in on itself and hydrogen bond to other starch molecules again. However, this time the orderly structure is broken and there is too much thermal motion to line up. Instead, they form a loosely packed network of molecules connected by hydrogen bonds and surrounding little pockets of water and air (bubbles):

This network is very weak, but it is strong enough to temporarily trap the air as it expands due to heating - thus, the bubbles puff up and a rapidly growing foam forms. Since they are very weak, it doesn't take much to disrupt them. Some oil in the water will inhibit the bubbles from breaking the surface as easily, and a wooden spoon across the top will break the network mechanically as soon as it touches it.

Many biomolecules will form these types of networks under different conditions. For example, gelatin is a protein (amino acid polymer) that will form elastic hydrogen-bonded networks in hot water. As the gelatin-water mixture cools, the gel solidifies, trapping the water inside to form what is called a sol-gel, or more specifically, a hydrogel.

Gluten in wheat is another example, although in this case the bonds are disulfide bonds. Gluten networks are stronger than hydrogen-bonded polysaccharide networks, and are responsible for the elasticity of bread (and of pasta).

DISCLAIMER:

• pictures are not remotely to scale, starch is usually several hundred glucose monomers long, and the relative size of the molecules and atoms isn't shown.
• there aren't nearly enough water molecules - in reality there would be too many to be able to see the polymer (1,000's).
• the starch molecules aren't "twisty" enough or showing things like branching - the real network structure and conformations in solution would be much more complicated.

But, hopefully you get the idea!

This isn't really a biology question I don't think...

As a chemist I can tell you that the rough surface of the pasta does tend to make it produce boiling over. The same can be produced with stones or wood or nearly any rough surface. Chemists use little chips of alumina or some other mineral to prevent over boiling in fact.

If you look at a sealed soda bottle you can see the same effect. Its the same scenario - in this case CO2 rather than steam is ready to come out of supersaturated liquid, but won't unless there is a Bubbles are forming at the plastic surface inside when you open the cap. If you see a stream of bubbles forming within the liquid they are always nucleating from a speck of dust or some other tiny bit of solid floating around.

The surface of mentos candy is particularly good at getting bubbles to form. I'd bet that if you dropped mentos into boiling water, at least until the mentos dissolved you'd see a bit more bubbling than pasta. I don't advise you to do this, its just a thought experiment.

But there is something you can do to prevent pasta from boiling over! Sorry for including this, but cooks are always using too much energy when cooking and its wasteful. When the water starts boiling you can turn down the heat and put a lid on the pot. Usually putting the burner on the lowest setting is enough. This lowers the amount of steam that is supercritical in the water and fewer steam bubbles will form. This saves energy too, even though the temperature of the water is the same (boiling water is always about 100 deg C), it lowers the amount of supercritical steam in the water.

• Apparently oil will also prevent boiling over, I suspect by depleting the available surfactants. Nucleation sites aren't the problem here, water will boil in my dirty scratched pots. I'm confused by the weirdly resilient temperature-sensitive foam and what it's made of, not the presence of boiling. Jul 10, 2014 at 21:20
• oil will, until it doesn't. eventually you will get spatters of steam breaking through the surface explosively if the water is taking in heat. I imagine that the foam, if its pasta cooking, is probably semi-dissolved pasta, which will tend to act like the oil - coating the bubbles with a rough nucleating surface even as it blocks some steam from coming out. Jul 10, 2014 at 21:24
• The internet hints that only small amounts of oil are required, not enough to form a complete sealing layer of oil. I'm not certain nucleation is the controlling process here. I need to try a couple of experiments involving cold water and pasta and pasta and loads of oil. Jul 10, 2014 at 21:32
• In my experience, pasta only boils over if you put a lid on the pan! As Jeremy says, a small amount of oil will prevent boiling over, even with a lid: I don't measure but I'd guess I use a couple of teaspoons at most. I certainly wouldn't expect that little oil to form a meaningful film over the surface of a pan of boiling water. Aug 11, 2014 at 9:38
• the oil helps but eventually if there is a lot more heat going in than is escaping you will get boil over. if there is no lid on the pan it has to be a LOT more heat than with one. if you turn down the heat of your burner, with or without a lid, oil or no, you can prevent boiling over. that's usually what the lowest burner settings on the stove approximate. Aug 11, 2014 at 18:47

You can regard the starch particles in the boiling water as some kind of impurity, dirt. Dirt always accumulates at phase boundaries, because this saves surface energy. If there's a surface already, might als well put the dirt there, you only need half as much additional surface in your main phases then. (Hence the use of surfactants as detergents: The surface tension/energy is lowered so much that the dirt can leave the surfaces.)

So the interfaces in the bubbles are full of starch, which stabilises them (see other answer, H-Bonds etc.). They don't mind about the steel or glass surface of your pot and lid, because those are wet and full of starch, too. What kills the bubbles is cold and dry air, which they don't see before they've raised the lid and spilled all over.

• I really wonder what so upsetting about my answer that people keep downvoting it after a year ... ;-)
– Karl
Oct 27, 2016 at 21:28
• Im guessing referring to pasta as dirt will tick some people off. Also, the generalization that impurities will collect at interfaces. Dec 10, 2018 at 15:49
• Well, that's what impurities do. I can't help it. 8-)
– Karl
Dec 10, 2018 at 20:03