Leavening agents are substances that make dough and batter rise by producing gas, creating the airy, porous texture you expect in bread, cakes, muffins, and pastries. The gas is usually carbon dioxide, though air and steam also play major roles depending on the method. Every leavening agent falls into one of three categories: biological (yeast), chemical (baking soda and baking powder), or mechanical (physically beating air into a mixture).
How Leavening Actually Works
Regardless of type, every leavening agent does the same basic thing: it generates or traps gas bubbles inside a batter or dough. As those bubbles expand during baking, especially from the heat of the oven, they push the surrounding structure outward. The proteins and starches in flour then set around those air pockets, locking in the risen shape. Without leavening, most baked goods would be flat, dense, and tough.
The three gases responsible are carbon dioxide, steam, and air. Carbon dioxide comes from yeast fermentation or chemical reactions. Steam forms as water in the dough heats past its boiling point. Air gets incorporated through mixing, whisking, or folding. Most baked goods rely on a combination of these, but one source usually dominates.
Biological Leavening: Yeast
Yeast is a single-celled fungus that feeds on sugars in dough and releases carbon dioxide as a byproduct. This is fermentation, and it’s the oldest form of leavening. Commercial baker’s yeast (the packets or jars you buy at the store) is a standardized strain bred for reliable, predictable gas production. It works relatively quickly, raising a loaf of bread in one to two hours under the right conditions.
Sourdough starters take a completely different approach. A sourdough culture is a living ecosystem of wild yeast and lactic acid bacteria, maintained by regularly feeding it fresh flour and water. Traditional sourdough (sometimes called Type I) depends on this “backslopping” technique, where a portion of the old culture inoculates each new batch. The process is slower, requiring 6 to 24 hours per cycle, and the culture can be maintained for years or even decades.
The lactic acid bacteria in sourdough don’t contribute much to the rise itself, but they produce lactic acid (a mild, fresh sourness) and acetic acid (a sharper tang) that give sourdough its distinctive flavor. The wild yeast and bacteria also work in symbiosis, each influencing the flavor compounds the other produces. This complexity is why sourdough bread tastes so different from bread made with commercial yeast, even when the basic ingredients are the same. Industrial bakeries sometimes use simplified sourdough processes for speed, but these don’t produce the same depth of flavor as a traditional starter.
Chemical Leavening: Baking Soda and Baking Powder
Chemical leaveners release carbon dioxide through an acid-base reaction rather than fermentation. They work much faster than yeast, which is why they’re the go-to for quick breads, muffins, pancakes, and cookies.
Baking Soda
Baking soda is pure sodium bicarbonate. It needs an acidic ingredient to activate: buttermilk, yogurt, lemon juice, vinegar, molasses, or even natural cocoa powder. When the base meets the acid, the reaction produces carbon dioxide immediately and vigorously. That’s why recipes using only baking soda tell you to get the batter into the oven fast. The gas is already escaping, and if you wait too long, you lose the rise.
Because baking soda is a strong base, using too much leaves a soapy, metallic taste. Recipes are carefully balanced so the acid in the batter neutralizes the soda completely, producing carbon dioxide and a neutral salt as byproducts.
Baking Powder
Baking powder is a pre-mixed combination of baking soda, an acid (typically cream of tartar), and a starch like cornstarch that keeps the two from reacting during storage. The ratio is roughly two parts cream of tartar to one part baking soda. Because it already contains its own acid, baking powder doesn’t need an acidic ingredient in the recipe. It just needs moisture.
Most commercial baking powder is “double-acting,” meaning it reacts twice: once when it gets wet during mixing, and again when it hits oven heat. This gives you a wider window between mixing and baking, which is more forgiving than baking soda alone.
Substituting One for the Other
If you’re out of baking powder, you can make your own by combining 1/4 teaspoon of baking soda with 1/2 teaspoon of cream of tartar. That equals roughly one teaspoon of commercial baking powder. Going the other direction is trickier. You can’t simply swap baking powder for baking soda because baking soda is about three to four times stronger, and removing it may throw off the acid balance in the recipe.
Mechanical Leavening
Mechanical leavening uses physical force to trap air in a batter or dough. No chemical reaction, no fermentation. Whipping egg whites into stiff peaks for a soufflé, creaming butter and sugar together for a cake, or folding layers of butter into puff pastry dough are all forms of mechanical leavening.
In creaming, beating softened butter with sugar creates tiny air pockets that expand in the oven. In whipped egg whites, proteins unfold and form a network of thin films around air bubbles, which is why overbeating (or a trace of fat) can collapse a meringue. Puff pastry relies on steam: thin layers of butter melt in the oven, the water in that butter turns to steam, and the steam pushes the dough layers apart into hundreds of flaky sheets.
Many recipes use mechanical leavening alongside chemical or biological methods. A classic layer cake, for example, starts with creamed butter (mechanical), uses baking powder (chemical), and also gets a boost from steam in the oven.
Shelf Life and Storage
Leavening agents lose potency over time, and expired leaveners are one of the most common reasons for flat baked goods.
- Baking soda has an essentially indefinite shelf life when kept dry and sealed. Once the box is opened and exposed to moisture and odors (especially if you keep one in the fridge), it gradually loses strength.
- Baking powder is best used within 18 to 24 months. Because it already contains both an acid and a base, any moisture that gets into the container can trigger a slow reaction, using up the leavening power before it ever reaches your batter.
- Yeast in sealed, nitrogen-flushed packaging stays viable for about a year at room temperature, and longer if refrigerated or frozen. Once opened, dry yeast should be refrigerated and used within a few months.
How to Test if Your Leaveners Are Still Good
Each agent has a simple kitchen test that takes under a minute (or about 10 minutes for yeast).
For baking soda, stir half a teaspoon into a small amount of vinegar. It should fizz immediately and vigorously. If the reaction is gentle or slow, the soda is spent.
For baking powder, stir half a teaspoon into a small amount of warm water. You won’t get the same dramatic fizz as the vinegar test, but you should see definite bubbling and foaming. No bubbles means no rise.
For yeast, dissolve a packet in warm water with a pinch of sugar and wait about 10 minutes. Active yeast will start bubbling and expanding. After 20 minutes, it should be domed and frothy. If the surface stays flat and lifeless, the yeast is dead and won’t leaven anything.
Why Recipes Use Specific Leaveners
The choice of leavener isn’t arbitrary. It depends on the texture, flavor, and timeline the recipe demands. Yeast breads need time for gluten development and flavor from fermentation, so a slow biological rise makes sense. Pancakes need to go from bowl to griddle in minutes, so fast-acting chemical leaveners are the right tool. Angel food cake relies entirely on whipped egg whites because any fat from butter or oil would collapse the foam, and the recipe needs the lightest possible crumb.
Some recipes deliberately combine types. A pizza dough might use yeast for the primary rise and get additional lift from steam in a very hot oven. Certain soda breads use both baking soda (reacting with buttermilk) and baking powder (for a second rise from oven heat) to compensate for the lack of yeast development time. Understanding what each leavener does helps you troubleshoot when something goes wrong: a dense cake might mean expired baking powder, while a sour, sluggish bread dough might mean dead yeast.

