Why are there sometimes large holes inside of cake?

Did you slice into a cake and find there are large holes inside of it or uneven bubbles? Holes in cake and cake tunnelling are definitely a sign that something’s off in your recipe or in your method. Let’s see what causes large holes inside a cake.

I’ve listed all the possible sources for large holes and tunnelling in cakes that I’ve come up with so far, based on a lot of reading and a lot of thinking. If you have any thoughts on this (or if you also contemplate the bubbles in cake like I do!), feel free to leave me a comment because I would LOVE your opinion on the subject.

Earl Grey tea layer cake - inside-

What are the bubbles in cakes?

Like any sane person, I lie in bed at night wondering what the inside of a cake should actually look like. More specifically, I think about the bubbles and cake texture problems. Because every time I make a layer cake, when I cut off the tops of each layer of cake to level them and even them out, I get a glimpse of what the interior of the cake looks like, the bubbles, and the “crumb”.

Sometimes the bubbles are teeny tiny, quite even, and hardly noticeable. Other times, the bubbles are uneven, mostly tiny but with a few larger holes, even though I was careful to bang the filled tins on the counter several times to push out trapped air before sliding the layers into the oven.

Every time I slice off the top of a cake, I ask myself: is this what cake is supposed to look like inside? I think, in a perfect world, every time we slice into a homemade cake, the bubbles would all be teeny tiny and quite even. We know the obvious source of bubbles in most cakes would be chemical leaveners, like baking soda and baking powder, which react to release a gas and make your cakes rise.  So I had to ask the question: what’s up with the bigger bubbles in some (but not all) of my cakes? 

Gluten can lead to large air pockets in cakes

Leveled cakes-top view

See the difference in the bubbles in 3 cakes made with the same recipe, but different mixing methods! Clockwise from top left: muffin method of mixing, creaming method of mixing, two-stage reverse mixing method (used in high ratio cakes usually)

Consider the mixing method you are using. The number one culprit is, most likely, gluten. Gluten is a network of proteins (made up of glutenin and gliadin proteins). The network forms when all-purpose flour comes into contact with water and it’s all mixed well together. The combination of stirring and water allow glutenin and gliadin to assemble into the gluten network, giving batters and doughs elasticity, plasticity, and strength.

We think of gluten mainly when we made bread doughs: you have to knead the dough and work it to “develop” the gluten, essentially to help those proteins assemble correctly into a strong network. That network is key—gluten helps bread doughs rise and stay risen (on the counter and in the oven). Without gluten, the pockets of air would break through the dough and escape too easily and your breads wouldn’t rise as well as they should.

In bread, gluten is a good thing. In cakes, not so much.

Overmixing a cake batter can lead to gluten formation, especially if your cake recipe includes water or milk (remember gluten forms when you mix flour and water, and work them together). Gluten in a cake would mean that as the baking powder does its job of forming carbon dioxide so that your cakes will rise, that gluten network will trap those air bubbles and instead of forming lots of tiny bubbles, you will end up with bigger bubbles that stretch out and develop as gas forms and water evaporates.

Slices of apple bundt cake served on small dessert plates

You know you’ve overmixed, when you see “tunnelling” in cakes and muffins because often if you slice into a cake baked from an overmixed batter, you will see tunnels where air bubbles were trapped and therefore pushed through the crumb, basically tunneling through your cake. Tunnelling is considered a bad thing, and from my experience, the more tunnelling you see, the harder (less fluffy and spongy) the cake is and the more gluten was formed from overmixing the batter. Soft, squishy cakes that were mixed just enough have less gluten formed from mixing.

Too much chemical leavener, like baking powder, can lead to large air bubbles in cakes

The other source of uneven holes in cakes could be the baking powder and the chemical leaveners you are using. If the baking powder (or baking soda) isn’t mixed evenly throughout the batter, there could be pockets of it in your batter, which would lead to patches where more carbon dioxide is released, leading to bigger bubbles.

When I was at Le Cordon Bleu, they actually made us sift our dry ingredients 3 times, which seemed like a colossal waste of time considering I had 2 hours to somehow produce a beautiful, presentable cake from scratch. In hindsight, the chefs might have recommended triple sifting the dry ingredients together in order to evenly disperse the chemical leavener throughout the dry ingredients. Or they were just making our lives extra difficult. Either or.

Leveling cake layers | Janice Lawandi @ kitchen heals soul

See how uneven the bubbles are!
Please note: I’m a little embarrassed to show this—kinda feels like I’m exposing some deep dark shameful secret because my cake is NOT PERFECT!

Broken emulsion and inconsistent ingredient temperatures can cause air pockets in cakes

A lot of us bakers, myself included, brush over the importance of the emulsion in the first steps of cake making. An emulsion is a dispersion of tiny droplets of a liquid in another liquid, say oil in water, like when you are trying to make a vinaigrette with white vinegar (which is usually about 5% acetic acid in water) and olive oil, or mayonnaise from egg yolks and oil.

If your ingredients are at the proper temperature, and you cream the butter and sugar to aerate it before adding the eggs, slowly, to that mix, theoretically, you should end up with a light, fluffy, yellow-tinged batter that is well aerated and emulsified.

If you add the eggs too fast, you risk that the emulsion never form properly or that it breaks. You end up with glossy streaks of water/egg white separating out of the batter. The batter doesn’t look even. Furthermore, if the eggs are too cold, it is highly likely that when you add them to the creamed butter and sugar, the butter will harden and form lumps.Either way, what this means is the batter is uneven, and the crumb/air bubbles in the baked cake will be too. Temperature is key and so is your mixing technique.

The way you fill your pan with cake batter can cause air pockets

You know when you watch a baker fill a cake pan and then bang the filled pan on the counter a few times? Banging/tapping your pan before popping a cake into the oven is actually a really important step. Firstly, the banging allows the cake batter to fall into all the nooks of the pan. This is very important for bundts with intricate designs. You want to make sure the batter fills all the ridges of the pan.

The banging also helps you push out any large pockets of air that may have come from whipping the batter but also from scooping the batter to fill the pan. In pastry school, we were taught to swirl the pan on the counter, especially with fluffy genoise or sponge cake batter: sponge cakes are particularly prone to large holes. Just give it a spin! I like to spin and bang now to make sure I’ve pushed out as much unwanted air as possible. Banging may deflate your batter a little so bang with caution.

There are other possible reasons, obviously….

I’m going to stop here, but there are other culprits for the uneven bubbles inside a cake, and some of them are related to what we’ve discussed above. For example:

  • Overwhipping the eggs when they are added to the creamed mixture isn’t a good idea. Basically, mechanically incorporating too much air at this stage can lead to bigger bubbles in cakes.
  • Too much leavening agent can also be a problem, again because it’s hard to disperse evenly, but also, it can lead to too much carbon dioxide forming in your cake as it bakes. Too much gas, means too many bubbles that may merge into bigger bubbles. Too much baking soda actually lead to browning, a denser cake that rises less and a firmer texture. This is why it’s so important to be careful when measuring ingredients for baking.
  • Baking with the wrong type of flour, like bread flour, when making cakes: using a strong flour, like our beloved all-purpose flour that we use for everything. That AP flour has a higher protein content (in Canada, AP flour can have 11% protein or more!): it has more glutenin and gliadin hanging around, which means it’s easier to form gluten when it comes into contact with the other ingredients in your cake batter. There’s a reason why we don’t use bread flour when we make cakes, but perhaps all-purpose isn’t the best either? It’s rather convenient though, and I have mixed feelings about making homemade cake flour from AP flour and cornstarch (but that’s a whole other post altogether).

Comparing Vanilla cake crumb to find the best vanilla cake recipe ever

How to avoid large holes or air pockets in your cakes

Achieving an even crumb is simple, and yet it’s not (as you can see, I haven’t quite mastered it!).

  1. make cakes with a lower protein flour, like cake flour: This way, your cake batter will be slightly less sensitive to overmixing because there are less gluten-forming proteins around to worry about. That’s an easy fix.
  2. bang the cake pan after filling it with cake batter: You should swirl the pan on the counter, also tap/bang it down on the counter to make sure the batter falls into all the nooks and crannies of the pan.
  3. watch the temperature of your ingredients: make sure you are working with butter that is warm, but not too warm (it shouldn’t be on the verge of melting). Don’t work with eggs that are fridge cold because that won’t help either. These two ingredients and their temperatures can literally break the emulsion and the evenness of the batter.
  4. triple sift the chemical leavener with the flour and salt
  5. revisit the quantity of chemical leavener necessary in the recipe: make sure you aren’t using too much leavener in your cakes
  6. contemplate adding a touch more liquid to the batter: thick batters are harder to spread in cake pans and a thick batter is more likely to trap air pockets as it is poured or dolloped into a cake pan, which can result in gaps in cake crumb. Consider thinning out your cake batter with a little milk to see if this helps improve the texture inside your layer cakes.

The good news is that all roads lead to cake. I guess practice makes perfect, even after years and years of baking. Sigh. This just means we all need to make more layer cakes, and eat more cake! Yay!

Recipe source for cake in 1st image: Earl Grey cake
Recipe source for cake in 3rd image: Cranberry cardamom cake with cream cheese frosting

A round vanilla butter cake trimmed with a serrated knife to show the crumb and bubbles and holes in the cke and a red striped kitchen linen towel

chemical leaveners, emulsion, gluten, new

18 Responses to Why are there sometimes large holes inside of cake?

  1. Shauna February 19, 2016 at 12:02 PM #

    I’ve wondered why there was such thing as cake flour (thought it was pre-sifted) and why eggs, butter and milk are often recommended to be room temperature. I guess now I know. I don’t make too many cakes, but I’ll keep this in mind. Good to know, for sure!

  2. Sean February 19, 2016 at 1:04 PM #

    This is really fascinating. I know that Michael Pollan talked about similar issues in bread making in his book “Cooked,” though as you say, the issues for bread and cake are different. Nonetheless, he talked about the problem of gigantic holes (or sandwich-ruiners, as I like to think of them) in bread loaves. I guess it’s a relatively tricky issue to deal with.

    I’m curious – have you had more trouble with air pockets in cakes that contain small particles (e.g. the poppy seeds in the cake in the article)? I wonder if small bits could be acting as nucleating agents in the mix. That might also explain why repeated sifting is promoted, as it would break up the smaller clumps of flour or leavening.

    • Janice February 22, 2016 at 10:19 AM #

      If the poppy seeds were to blame, then wouldn’t the Earl Grey cake (that had Earl Grey tea leaves in it) also have an impact? But the Earl Grey cake didn’t seem to have as large pockets when I cut into it. Then again, the tea leaves were pretty finely ground (Twinnings tea isn’t exactly top quality whole teal leaves 😉 ). Still, it’s definitely something to think about and something I hadn’t thought about.
      I haven’t read Michael Pollan’s book “Cooked”. Maybe I should add it to my reading list 😉

    • Susan October 27, 2020 at 4:31 PM #

      thank you for the enlightenment !! I was absolutely drooling in my eagerness to dig into my Walnut Cake with Custard Filling, a recipe I found online!!! What could be better, right? 😥 Well, things didn’t turn out quite the way I planned. First off, I was a bit confused about my measurements on the baking powder. Secondly, my eggs were behaving strangely and I realized they were nearly frozen! Then, the batter was super thick, so I really banged away before slipping it into the oven…
      When it was done I danced around it for half an hour, waiting for it to cool. Bad move, because by the time it cooled, the brown sugar/walnut topping had cemented the cake to the pan. As I gamely struggled to dislodge the 10 pound cake it broke into clumps with huge tunnels that Pablo Escobar could have smuggled cocaine thru…Ah, well…All was not lost…I poured myself a big glass of milk and carried the entire mess over to the couch, crunching away and smiling…!!! Hey, maybe we can’t always win the beauty pageant…that doesn’t mean we don’t have good taste!!!

  3. Sofia | From the Land we Live on February 19, 2016 at 4:28 PM #

    Oh man…I’ve certainly had my fair share of bubbly cakes but I never took too much time to figure out why. It was all good once they were frosted and sliced 🙂 Love the detailed explanations and it’s totally humbling to be reminded that baking a science and that I should probably stop taking shortcuts and messing with all the recipes.

  4. Linda Fusire July 18, 2018 at 7:12 AM #

    Hey there
    Thank you so much for your posts they help a lot since l love baking so much
    Than yoooooouuu

  5. Christina November 15, 2019 at 12:45 PM #

    Great explanation: thank you. Just baked an orange bundt cake which not only fell in a ring at the “top” while baking, but when cut into has a hole in the middle which appears to run all the way around the cake. So each slice is like a donut with an irregular hole in the middle. I did everything you’ve suggested from room-temp eggs to banging pan gently on counter before putting into the oven. Only problem I see is that recipe called for 4 teaspoons baking powder for 2 cups of flour (and, yes, I did use the called-for pastry flour). I don’t see a way to attach a photo or I would. So next time I’ll try 3 teaspoons baking powder instead of 4 — or maybe only 2 which I think is the more standard ratio. By the way, I’ve been baking since childhood, now in my 70s, and this is the strangest result I’ve ever had.

    • Joyce lewis September 2, 2020 at 10:41 AM #

      Christina, I be been baking over 60 yrs and for the first time a lemon Bundt had a tunnel all the way around . I always bake a trail cake on a new receipt before taking it somewhere and a good thing I did LOL LOL LOOKED LIKE A DONUT So glad to hear someone else had a problem misery loves company . Do believe I over beat my batter . Thank you for writing really helped me. joyce

  6. Emily October 30, 2020 at 4:04 AM #

    Thanks for the ideas. I’ve never heard of banging the cake in the tin before baking so I’m going to try that next time.

  7. Emily October 30, 2020 at 4:04 AM #

    Thanks for the ideas. I’ve never heard of banging the cake in the tin before baking so I’m going to try that next time.


  1. Cake collapse and dropping a cake on purpose for science | Kitchen Heals Soul - March 10, 2016

    […] looking at the inside of this cake, we see that I still haven’t found a solution to my “cake bubble situation“, but writing this post made me realize a few things: given the big bubbles inside and […]

  2. Vanilla cake and milk chocolate frosting | Kitchen Heals Soul - March 17, 2016

    […] work! Plus, spending more time with the cake gave me a chance to think more about that cake bubble issue I’ve been thinking about obsessing over. I’m not even sure that “obsession” […]

  3. March 2016 desktop calendar | Kitchen Heals Soul - April 25, 2017

    […] of cake eating that has got me frustrated today, it’s that I’m still wondering about cake bubbles and cake batter emulsions. I’m frustrated because I’m suspecting there will be large […]

  4. Why do cakes sink in the middle? | Kitchen Heals Soul - January 15, 2020

    […] the way, looking at the inside of this cake, we see that I had large holes in this cake, but writing this post made me realize a few things: given the big bubbles inside and […]

  5. Everything you need to know about baking powder | Kitchen Heals Soul - January 21, 2020

    […] your cake batter as it bakes, leading to larger bubble formation. Too much baking powder will cause large holes in your cakes which might even bubble up on the surface of the cake as it […]

  6. Vanilla cake and milk chocolate frosting | Kitchen Heals Soul - February 15, 2020

    […] work! Plus, spending more time with the cake gave me a chance to think more about the large holes in cake that I’ve been obsessing over. I’m not even sure that “obsession” is a […]

  7. Best vanilla cake recipe - February 21, 2020

    […] Cake #1 was just like a pound cake. It was more dense than the others, but not right for layer cakes. It was the cake that was the most domed also, which would mean it needs a lot of trimming to use in a layer cake, which is a waste of cake though you could make cake truffles with this birthday cake truffles recipe. Cake #1 also had a lot of large holes inside the cake  […]

  8. Eggless banana bread (dairy-free, vegan, less sugar) | Kitchen Heals Soul - March 29, 2020

    […] head over to my best banana bread post where you’ll find tips and tricks. And if you notice holes in your cake, they might form because the batter is thick and so gaps in the batter will occur as you fill the […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.