Baking is a science in and of itself. A lot of things may go wrong while creating a cake. I’ve lost count of the number of frantic emails and messages I’ve received about cake mishaps over the years. I prepared this cake troubleshooting guide to make our lives simpler.
Although I always try my best to address your problems, I thought I’d simplify the process by offering troubleshooting methods for the most prevalent cake difficulties.
It’s also helpful to have images of frequent difficulties to assist you figure out what went wrong if your cake turned out less than ideal.

This essay mostly addresses issues with the preparation of cake batter and the baking of cake layers.
It does not address ingredient replacements, which may have a significant influence on the outcome of a recipe.
That’s a whole other problem, which I’ve addressed in a separate piece on ingredient replacements!
My hope is that this cake troubleshooting guide will help you understand what caused your problem and empower you to bake amazing cakes in the future. Well, without further ado, let’s get started!
Why is my cake dense or gummy?
What might have happened:
- Too much flour was added to the batter.
- The cake batter was over-mixed.
- The ingredients weren’t at room temperature.

How to prevent this in the future:
- Be careful to fluff your flour before spooning and leveling each cup, or use a digital kitchen scale.
- When you’ve added your flour, mix your batter just until the ingredients are combined. Over-mixing the batter causes strong gluten strands to form, which give your cake that dense texture.
- If some of your ingredients are cold, they make it more difficult to mix together your batter and can impact the rise of your cake. Set out chilly ingredients ahead of time so that everything is at room temperature when it’s time to prepare your cake.

Why is my cake dry?
What might have happened:
- The cake layers were baked too long.
- The dish lacks moisture and requires simple syrup.

How to prevent this in the future:
- Take your cake layers out a few minutes sooner, or as soon as a toothpick inserted into the center comes out with a few wet crumbs. If the toothpick comes out completely clean, your cake is probably overbaked. Remember that your cake layers will continue to bake for a few minutes once they’re out of the oven as they cool in the pans. For this reason, I usually aim to err on the side of underbaking.
- Various recipes produce various sorts of cake. For example, my vanilla cake recipe is a luscious butter cake that doesn’t use simple syrup. But sponge cake recipes bake up quite a bit fluffier and drier because they use a lot of eggs. These cake recipes are designed to bake that way and are then supposed to be doused in simple syrup to add moisture after they’re baked.
Why did my cake layers sink in the middle?
What might have happened:
- The cake layers are underbaked.
- When the layers cooked, the oven door was opened and banged.
- The batter contains an excessive amount of leavening agent (baking powder / baking soda).
- Your oven temperature is off.

How to prevent this in the future:
- Bake the cake layers for a few minutes more, or until a toothpick inserted into the center comes out with a few moist crumbs.
- While it’s common practice to rotate cake pans part way through baking, if the oven door is slammed this can cause partially baked cake layers to sink in the middle. If you need to rotate your pans, shut your oven door tightly afterward.
- Be sure to thoroughly read and measure the amount and kind of leavening agents specified in a recipe. The recipe might possibly be faulty! If you attempt it a few times and it still happens, you may want to try a different recipe.
- With an oven thermometer, check the temperature of your oven. If yours runs cold, adjust the temperature of your oven to ensure it bakes the cake layers at the actual temperature the recipe calls for.
My cake layers are stuck in my pans! How do I get them out?
What might have happened:
- The cake pans weren’t properly greased.
- Your cake pans weren’t lined with parchment paper.
- The cake layers fully cooled in the pan.

How to prevent this in the future:
- Grease your cake pans generously with nonstick spray or a coating of butter and flour.
- When a recipe instructs you to line your pan with parchment paper, do so! I love to use pre-cut parchment rounds to simplify the process, but you can also cut out your own parchment rounds.
- If your cake layers cool fully in the pan they can get stuck as the cake firms up. To assist loosen it from the pan, run an offset spatula over the edges. Then dip the bottom of the pan in hot water. This should allow it to come out without damaging the cake layer.
Why are my cake edges so dark and caramelized?
What might have happened:
- The pans used to bake the layers are made of the wrong material.
- Your oven runs hot.
- The pans are overcrowded in the oven.

How to prevent this in the future:
- The material used to make your cake pans has a significant influence on how your cake layers bake. Dark metals absorb and spread heat more efficiently than lighter-colored pans which causes cakes to over brown on the sides. Glass pans also become very hot once heated and can cause cake layers to over-brown or caramelize too. Choose a light-colored metal pan, such as these cake pans, which distribute heat more evenly.
- With an oven thermometer, check the temperature of your oven. If yours runs hot, turn the temperature of your oven down to ensure it bakes the cake layers at the actual temperature the recipe calls for.
- To help them bake evenly, make sure your pans are spaced out in the oven and not too near to the walls. To avoid browning, you may alternatively use cake strips. I don’t like using them, yet others swear by them!
Why do my cake layers have big holes / tunnels in them?
What might have happened:
- The batter was over-mixed.
- The batter was mixed at too high of a speed.
- The components were either improperly combined or not at room temperature.

How to prevent this in the future:
- Tunneling can happen in your cake layers when the gluten strands are too strong, which traps air bubbles inside the cake. To prevent this, mix your cake batter on low speed only until the ingredients are incorporated.
- Unless a recipe specifically calls for mixing batter at a high speed (like a sponge cake, or when creaming together butter and sugar), you shouldn’t be mixing your batter that fast. Follow the recipe directions exactly and mix the batter at the speed specified.
- Concentrated baking powder or baking soda regions in your batter might cause large holes in your cake layers. Be sure your ingredients are at room temperature to help the batter mix together better and sift your dry ingredients if a recipe calls for it.
Why is my cake falling and crumbling apart when I try to frost it?
What might have happened:
- The cake layers weren’t fully cooled.
- You’re not using the right tools.
- The frosting you’re using is too stiff.

How to prevent this in the future:
- Before frosting the cake layers, allow them to cool completely. Otherwise, you’ll have a genuine shambles on your hands! Let them to cool for a couple of hours at room temperature on a wire rack, or place them in the freezer to speed up the process. Before decorating a cake, I prefer to chill my cake layers in the freezer for approximately 20 minutes, so they’re chilly to the touch. This reduces crumbing and makes them so much easier to stack and frost.
- When it comes to cake decorating, an offset spatula makes all the difference. Trying to spread icing over cake layers using a rubber spatula, on the other hand, is a bad idea. The lack of control and accuracy makes spreading the frosting much more difficult and increases the danger of ripping cake layers.
- If your frosting consistency is excessively thick, it will be difficult to spread. The resistance provided by the frosting’s thickness might cause cake layers to break. If the frosting seems difficult or too thick to work with, add in additional heavy cream or milk 1 tablespoon at a time until the consistency is more spreadable.
Why are my cake layers overcooked or under-baked?
What might have happened:
- Your oven temperature is off.
- The pans are overcrowded in the oven.
- You made different-sized cake layers than called for in the recipe.

How to prevent this in the future:
- With an oven thermometer, check the temperature of your oven. If yours runs hot or cold, adjust the temperature of your oven to ensure it bakes the cake layers at the actual temperature the recipe calls for.
- To help them bake evenly, make sure your pans are spaced out in the oven and not too near to the oven’s walls.
- If you create different-sized cake layers than the recipe asks for, the baking time may vary. Keep an eye on your cake layers and test them with a toothpick if necessary. When a toothpick comes out with a few moist crumbs, remove them from the oven.
Why didn’t my cake layers rise more?
What might have happened:
- Your leavening agents are old.
- The recipe isn’t meant to rise much.
- The batter was over-mixed.
- You accidentally used baking powder instead of baking soda.

How to prevent this in the future:
- Baking powder and baking soda have a long shelf life, but they don’t stay good forever. If you’re worried about yours, you can test baking powder by adding a little bit into a small bowl of hot water (or vinegar if testing baking soda). They should respond quickly and begin to fizzle. They’re no longer useful if they don’t.
- Some recipes are designed to rise dramatically, while others are not. My chocolate layer cake recipe and vanilla cake recipe are designed to bake flat without a big dome. As long as the texture and taste are good, it’s ok if your cake layers don’t rise up a ton. That’s how they’re intended to be sometimes!
- Over-mixing your batter prevents the leavening agent from rising up like normal and traps it inside the batter where it creates tunnels and big holes. To make light and fluffy cake layers, blend the ingredients only till incorporated.
- Check that you’re using the correct leavening agent. Baking soda is about 3x more potent than baking powder, and they are not interchangeable.
Why is my frosting bubbling or bulging out between the cake layers?
What might have happened:
- The cake layers weren’t leveled.
- The frosting you’re using is too thin.
- Before pouring the final layer of icing, the cake had not settled.

How to prevent this in the future:
- With a serrated knife, level the cake layers. It makes it way easier to assemble a layer cake and help prevent air from getting trapped between the cake layers and escaping through the frosting later.
- Check that your frosting has the proper consistency. If it’s too thin, it may be pushed out between the cake layers as they settle. Next time you make frosting either add more powdered sugar or use less milk/heavy cream. If you’re not sure what consistency you’re looking for, you can check out this detailed post on frosting consistency.
- After leveling and filling your cake, allow it to rest for a number of hours, ideally overnight, before applying the second layer of icing.
Why is my frosting cracking on my cake?
What might have happened:
- Air was trapped between your cake layers.
- The cake layers weren’t leveled.
- Your cake was not settled before the final coat of frosting was applied.
- Your cake is made with a filling that’s too soft.

How to prevent this in the future:
- Press down on the top layer with your hands to push out any air that might be trapped in the frosting between your cake layers. Then crumb coat your cake and go about your business as normal!
- Leveling your cake layers with a serrated knife makes layer cakes much simpler to create and allows the cake to settle quickly and without large changes that might fracture your icing.
- Let the cake to rest for a few hours, ideally overnight, before applying the second layer of icing.
- If your cake has a soft filling, it may leak out when the cake rests. Pipe a frosting dam around the edge of each cake layer if you plan to use a softer filling in your cake.
