The Feast

Home cooking recipes for everyday dinners and easy entertaining

Why Cake Has Holes

· 5 min read · Baking and Desserts

Holes in cake are usually caused by trapped air bubbles that expand during baking and leave tunnels or craters once the cake sets. The most common culprit is overmixing the batter, which develops too much gluten and traps large air pockets. Another frequent cause is opening the oven door too early, which makes the cake collapse and form a dense, holey crumb.

What Creates the Holes in the First Place?

Air gets into cake batter in two ways: from the creaming step (beating butter and sugar) and from the leavening agents (baking powder or baking soda) releasing carbon dioxide. When the batter is mixed too vigorously or too long, those air bubbles combine into large pockets. During baking, the heat makes the bubbles expand and rise; if the cake structure sets before the bubbles can escape evenly, they leave behind tunnels and holes.

The other big factor is the oven temperature. If the oven is too hot, the outside of the cake sets quickly while the inside is still rising, which forces the steam and air to push up through the center, creating a crater or large holes. If the oven is too cool, the cake rises slowly and can collapse, leaving a dense, holey texture.

How to Prevent Holes in the Next Cake

Start by mixing the batter only until the flour is just incorporated—no more than 30 seconds of gentle folding after adding the dry ingredients. Overmixing is the fastest way to a holey cake. Use a spatula or the lowest speed on your mixer, and stop as soon as you no longer see streaks of flour.

Next, check your oven temperature with an oven thermometer. Many home ovens run 25°F (14°C) hotter or cooler than the dial shows. Set the oven to the recipe’s temperature, but trust the thermometer. Bake the cake on the center rack, and do not open the oven door for at least the first two-thirds of the baking time—usually 20 minutes for a 9-inch round. Opening the door lets cold air rush in, which can make the cake sink and leave holes.

Use the Right Pan Size and Fill Level

Fill the pan only two-thirds full. If you pour in too much batter, the center rises high, then falls, leaving a hole. If you use a pan that’s too small, the batter will overflow and the structure will be uneven. For a standard 9-inch (23 cm) round pan, that’s about 4 cups (960 ml) of batter; for a 9x5-inch (23x13 cm) loaf pan, about 6 cups (1.4 liters).

What to Do With a Cake That Already Has Holes

If your cake comes out with a few holes, you can often fix it before serving. If the holes are small (under ½ inch), just fill them with frosting or a thin layer of jam, then frost the whole cake. For bigger holes, cut the cake into layers and fill the gaps with frosting or fruit—no one will notice once it’s assembled.

If the holes are large and the cake is crumbly, you can turn it into a trifle or cake pops. Crumble the cake, mix it with a little frosting or milk, and layer it with whipped cream and berries. That way, the texture becomes a feature, not a flaw.

Does the Type of Cake Matter?

Yes. Dense cakes like pound cake or banana bread are more prone to holes because they have a heavier structure. The batter is thick, so air bubbles get trapped easily. For these, mix even more gently and consider tapping the filled pan on the counter a few times before baking—this releases large bubbles that would otherwise become holes.

Light, airy cakes like sponge or angel food cake are less likely to have holes if you fold the egg whites correctly. Overfolding deflates the batter, which can cause dense spots and tunnels. Fold until just combined, and use a large metal spoon or spatula to cut through the batter gently.

How Long Should You Mix Cake Batter?

As a general rule, after you add the flour, mix only until the batter is smooth—about 20 to 30 seconds on low speed or 15 to 20 folds with a spatula. If the recipe says “mix until just combined,” that’s your cue to stop. Overmixing not only creates holes but also makes the cake tough.

For the creaming step (butter and sugar), beat for 3 to 5 minutes until light and fluffy. That’s fine—the air you incorporate there is what gives the cake lift. The problem starts when you keep mixing after the flour goes in, because gluten develops and traps large bubbles.

What About Baking Powder or Baking Soda?

Too much leavener creates large, uneven holes. If you used old baking powder (more than 6 months past the date on the can), it may not work properly, causing a dense, holey texture. Test your baking powder by stirring 1 teaspoon into ½ cup (120 ml) hot water—if it fizzes vigorously, it’s still good. If not, replace it.

Also, make sure you measure leaveners accurately. Use measuring spoons, not a regular spoon, and level off the top. Too much baking soda or powder will make the cake rise too fast, then collapse, leaving tunnels.

Does the Oven Rack Position Matter?

Yes. Bake the cake on the center rack so heat circulates evenly around the pan. If the rack is too low, the bottom gets too hot, which can cause the cake to dome and crack, creating holes near the top. If it’s too high, the top browns too fast and the center stays underbaked, which can also lead to sinking and holes.

Also, avoid placing the cake near the oven’s heating element or too close to the back wall where hot air might be stronger. Rotate the pan halfway through baking only if your oven has hot spots—but do it quickly and gently, without slamming the door.

How to Check If the Cake Is Done Without Opening the Oven

Use the oven light and look through the glass window. A done cake will be golden brown on top, slightly pulling away from the pan sides, and a toothpick inserted into the center will come out clean or with a few moist crumbs. If you must open the oven, do it only after the minimum baking time has passed—usually 25 minutes for a 9-inch round at 350°F (177°C).

If you don’t have a window, wait until the timer goes off, then open the door just a crack and slide the toothpick in quickly. Close the door immediately if it’s not done. Remember, every time you open the oven, you lose heat and risk a sunken, holey cake.

In this article
  1. What Creates the Holes in the First Place?
  2. How to Prevent Holes in the Next Cake
  3. What to Do With a Cake That Already Has Holes
  4. Does the Type of Cake Matter?
  5. How Long Should You Mix Cake Batter?
  6. What About Baking Powder or Baking Soda?
  7. Does the Oven Rack Position Matter?
  8. How to Check If the Cake Is Done Without Opening the Oven