QuestionChemical reactions

Why Do Cakes Rise in the Oven? The Chemistry of Baking

Cake batter poured into a baking tin, ready for the oven
Cake batter poured into a baking tin, ready for the oven. Image: pfctdayelise (CC BY-SA 2.5), via Wikimedia Commons

Cakes rise because gas bubbles in the batter expand as the batter heats. The gas comes mainly from chemical leaveners: baking soda reacts with acidic ingredients, and baking powder carries its own acid, both releasing carbon dioxide. Air beaten into the batter and steam from its water add more lift.

Contents

The full answer

A cake batter is a thick mixture of flour, sugar, fat, eggs and liquid. Before baking it already holds many small gas bubbles, from air that was beaten in during creaming or whisking. The cook’s job is to make those bubbles grow rather than collapse. Three forces do most of the work: gas released by chemical reactions, expansion of air and water vapor as the oven heats the batter, and a protein and starch structure that sets around them.

Baking soda is sodium bicarbonate, a base. When it meets an acid such as the lactic acid in buttermilk, it releases carbon dioxide:

NaHCO3 + H⁺ → Na⁺ + H2O + CO2

Sodium bicarbonate plus an acid gives a sodium salt, water and carbon dioxide. The gas forms as soon as the wet and dry ingredients are mixed, so a batter made with baking soda should go into the oven promptly.

Baking powder is baking soda with dry acids and a starch already mixed in. Most modern powders are “double-acting”: some gas forms when the batter gets wet, and more forms when the heat of the oven triggers the second acid.

The science behind the rise

Gas expands with heat. At constant pressure, the volume of a gas is proportional to its absolute temperature, which is Charles’s law. Warming carbon dioxide from 25 °C (298 K) to 180 °C (453 K), a typical oven range for cakes, increases its volume by more than 50 percent. Air trapped in the batter and water vapor expand in the same way.

Water is the largest source of expansion. Water boils at 100 °C (212 °F), so steam forms inside the batter as it heats, and its pressure pushes the bubble walls outward. Steam also adds to the rise in cakes that rely on whipped eggs, which hold many thin air films.

Structure makes the rise last. Egg proteins begin to set at roughly 60 to 80 °C (140 to 176 °F), and starch swells and gels in the same range. These changes harden the walls of the bubbles, so they keep their shape after the gas inside has expanded. Carbon dioxide is a gas, so it does not stay in the batter once the cake is baked.

Cakes rising in everyday baking

Most readers have seen this effect in a cake tin. The batter rises unevenly at first and then domes slightly, and the top browns and firms while the middle is still soft. A sponge cake made from whipped eggs, a pound cake made with creamed butter and sugar, and a muffin made with baking powder all depend on the same basic chemistry, with different mixes of air, steam and gas.

Buttermilk and yogurt are common in cakes because their acid reacts with baking soda. Lemon juice and vinegar do the same job in some recipes. The reaction is quick, so the batter often looks noticeably puffier just after mixing. This is a useful sign that the leavening is working.

Timing matters. A cake that sinks in the middle has often been moved or had its door opened before the structure set. Cooler air rushes in, the gas shrinks, and the bubbles collapse before the walls harden. Cakes are best left undisturbed until a toothpick comes out clean.

Why baking soda is not the whole story

Some readers search for why cakes rise without baking soda or baking powder. The answer is usually eggs and creaming. Whipped egg whites hold a foam of air, and creamed butter and sugar trap tiny air pockets. Both supply lift even when no chemical leavener is present. Angel food cake depends almost entirely on whipped egg whites.

Acid balance also affects color and taste. Baking soda leaves a yellowish color and a bitter or soapy taste when there is too much of it, or too little acid to use it up. Bakers keep the amount small and match it to the acidity of the other ingredients.

For bread, the gas comes from yeast instead; see why bread rises for that process.

Common misconceptions

Baking powder and baking soda are interchangeable. They are not. Baking soda needs an acid in the recipe to release gas, and baking powder already contains one. Substituting one for the other often changes the rise and the taste.

The oven makes the gas. The heat does not create gas in most batters. It speeds up the reactions and expands the gas already present, and it sets the structure around the bubbles.

Opening the oven door helps the cake check its progress. A sudden drop in temperature can make the cake sink, because the bubbles shrink before the batter has set.

Frequently asked questions

Why do cakes rise in the oven?

Gas bubbles in the batter expand as the cake heats. The gas comes from chemical leaveners such as baking soda and baking powder, from air beaten into the batter, and from steam.

What is the difference between baking soda and baking powder?

Baking soda is sodium bicarbonate alone, and it needs an acid in the batter to release carbon dioxide. Baking powder contains sodium bicarbonate plus dry acids, so it works with moisture and heat alone.

Why do cakes sink in the middle?

A cake sinks when its structure has not set before the bubbles collapse. Opening the oven door early lets the heat escape, so the gas cools and the bubbles shrink before the batter stiffens.

Why does baking soda taste bitter or soapy in a cake?

Baking soda is alkaline, and too much of it, or too little acid to use it up, leaves a soapy taste and a yellowish color. Recipes balance it with acidic ingredients such as buttermilk or brown sugar.

What temperature do cakes set at?

The egg proteins and starch in a cake begin to set at roughly 60 to 80 °C (140 to 176 °F). The center of a finished cake usually reaches about 96 °C (205 °F), below the 100 °C (212 °F) boiling point of water.

Do cakes rise because of yeast?

Most cakes do not use yeast. Their lift comes from chemical leaveners, trapped air and steam, while bread relies on yeast fermentation to produce its gas.

Sources and further reading

  • Harold McGee, "On Food and Cooking: The Science and Lore of the Kitchen"
  • OpenStax, "Chemistry 2e"
  • Encyclopaedia Britannica, "Baking powder"

Cite this page

“Why Do Cakes Rise in the Oven? The Chemistry of Baking.” Atoms & Forces, https://science.bigworldlist.com/questions/why-do-cakes-rise-in-the-oven/.

More about Carbon dioxide