A cake that sinks in the middle usually does so because the structure didn't set fast enough to support the weight of the batter, or because something interrupted the baking process before the proteins and starches locked into place. The good news is that most sunken cakes are entirely preventable once you understand what's happening inside the oven.
Key takeaways
- Underbaking is the most common cause: the center stays liquid while the edges set, then collapses as it cools.
- Opening the oven door too early drops the temperature and halts starch gelatinization before the structure is stable.
- Too much leavening creates oversized air bubbles that rise fast, then deflate when the batter can't support them.
- Incorrect oven temperature throws off the timing between gas expansion and protein coagulation.
- Using the wrong pan size changes batter depth and baking time, leaving the center raw.
The short answer
Why did my cake sink in the middle? The center sinks because the structure (proteins from eggs and starch from flour) didn't finish setting before the leavening gases cooled and contracted, or before gravity pulled the soft batter down. This happens when the cake is underbaked, the oven temperature is off, or there's too much leavening for the amount of structure the recipe provides.
Why it happens, in plain words
When you slide a cake into the oven, three things race against each other. First, chemical leaveners (baking powder or baking soda) release carbon dioxide gas. According to Medicine LibreTexts, about fifteen percent of that gas escapes in the cold mixing stage, but eighty-five percent is released in the oven starting around 105°F (cold stage and oven stage respectively). That's what makes the batter rise.
Second, the egg proteins and flour starches heat up and transform into a rigid network. Wheat starch gelatinizes between 140°F and 167°F, locking the cake into shape, according to the same Medicine LibreTexts source (during baking process). Egg whites, which are about ninety percent water and ten percent protein, also coagulate and firm up as they heat.
Third, the gases inside all those little bubbles expand as they warm, pushing the batter upward. If the structure sets before the gases finish expanding, you get a beautifully domed cake. If the gases cool and contract while the center is still soft, the middle collapses inward. A sunken center is nearly always a sign that the race was lost: the batter rose, but the structure wasn't strong enough or set quickly enough to hold it.
How to fix it
Preventing a sunken cake comes down to controlling time, temperature, and ingredient ratios. Here's how to do it right, step by step.
1. Bake until the center is fully set. Insert a wooden skewer or cake tester into the deepest part of the cake. It should come out clean or with just a few moist crumbs, never wet batter. If your recipe says 30 minutes but the center is still wobbly, keep baking in five-minute intervals.
2. Check your oven temperature with a standalone thermometer. Home ovens often run 25°F hot or cold. If your dial says 350°F (175°C) but the real temperature is 325°F (165°C), the structure won't set fast enough and the cake will sink. Calibrate or adjust accordingly.
3. Measure leavening precisely. Too much baking powder creates an avalanche of gas that inflates the batter beyond what the structure can hold. Use a proper measuring spoon, level it with a straight edge, and follow the recipe. A typical butter cake uses about 1 to 1½ teaspoons of baking powder per cup (120 g) of flour.
4. Use the pan size the recipe calls for. A 9-inch round pan filled with batter meant for an 8-inch pan will be shallower and bake faster on the edges, but the center may still be raw when you pull it out. If you need to swap pan sizes, use the Baking Pan Size Converter and the Baking Time Adjustment Estimator to recalculate batter volume and timing.
5. Don't open the oven door in the first two-thirds of baking. A sudden drop in temperature can halt starch gelatinization before the structure is rigid. Wait until the edges look set and the surface has lost its sheen before you check doneness.
Run the numbers
Guesswork is the enemy of consistent cakes. The Cake Batter & Pan Fill Calculator tells you exactly how much batter your pan holds and whether you've over- or underfilled it. Overfilling can push batter above the structural sweet spot, leaving the center without enough support. If you're scaling a recipe up or down, the Recipe Scaling Calculator keeps all your ratios in balance so you don't accidentally end up with too much leavening or too few eggs for the job.
Common mistakes
Even confident bakers trip over a handful of recurring errors. Opening the oven to check progress at the ten-minute mark is one of the most common. The temperature plummets, the gases contract, and the still-liquid center has nothing to hold it up. Wait until at least two-thirds of the baking time has passed.
Another frequent mistake is using cold ingredients straight from the refrigerator. Cold butter and eggs don't emulsify properly, so the batter doesn't trap air as efficiently. That weak structure can't support the rise, and you end up with a sunken middle. Let your butter, eggs, and milk come to room temperature (around 65 to 70°F or 18 to 21°C) before you start mixing.
Overmixing the batter after you add the flour is also a culprit. Vigorous stirring develops too much gluten, which makes the cake dense and prone to tunneling or collapse. Mix just until the dry ingredients disappear, then stop. If you're folding in whipped egg whites, use a spatula and a light hand to preserve the air you worked so hard to incorporate.
A recipe to practice on
If you want to see these principles in action, try the Vanilla Pound Cake recipe. Pound cakes are particularly unforgiving: they rely on the creaming method to trap air, and they have less chemical leavening than layer cakes, so any misstep in mixing, temperature, or timing shows up immediately. A properly baked pound cake will dome slightly in the center and spring back when you press the top. If it sinks, you'll know exactly which variable to adjust next time.
Where vanilla comes in
Vanilla won't fix a structural problem, but it does belong in almost every cake where you want warm, rounded flavor that supports (rather than competes with) butter, eggs, and sugar. Add pure vanilla extract after you cream the butter and sugar, so it distributes evenly through the batter. For a more nuanced flavor, scrape half a Madagascar vanilla bean into the batter and save the pod for vanilla sugar. The tiny specks tell everyone you didn't use imitation, and the floral-sweet aroma fills the kitchen as the cake bakes. If you're troubleshooting a sunken cake, start with structure and temperature first, then reach for the vanilla once you've nailed the technique.
Madagascar beans are the workhorse of cake baking. They deliver that creamy, sweet vanilla character that most people expect, and they're versatile enough to work in everything from pound cake to chiffon. If you bake often, Grade A beans stay pliable and fragrant in an airtight container for months, ready whenever you need them.
Frequently asked questions
Can I fix a cake that already sank?
Once a cake has sunk, you can't reverse it, but you can disguise it. Slice off the domed edges to level the top, then flip the cake upside down so the flat bottom becomes the top. Fill the crater with buttercream, whipped cream, or jam, and no one will know. If the center is underbaked and gummy, the cake isn't safe to serve; start over.
Does altitude affect whether a cake sinks?
Yes. At higher elevations, lower air pressure lets gases expand faster and more dramatically, so cakes rise quickly and then collapse if the structure isn't strong enough. If you're above 3,000 feet, reduce baking powder slightly, increase the oven temperature by 15 to 25°F, and add a tablespoon or two of extra liquid to strengthen the batter. The Baking Powder & Baking Soda Substitution Guide can help you dial in the right amount of leavening.
Will a different pan material prevent sinking?
Pan material affects how fast heat reaches the batter. Dark metal and glass pans absorb more heat and can overbake the edges while the center is still raw, which sometimes looks like sinking. Light-colored aluminum pans heat more gently and evenly. If you're using a dark pan, reduce the oven temperature by 25°F and check doneness a few minutes early.
Why does my cake sink only in the center and not at the edges?
The edges set first because they're closest to the hot pan and oven walls. The center, insulated by a thicker layer of batter, stays liquid longer. If you pull the cake out before the center has fully gelatinized, it will collapse inward as it cools. Always test the very center with a skewer, not just the edges.
Can using too many eggs cause a cake to sink?
Extra eggs add more liquid and fat, which can make the batter too heavy for the amount of flour and leavening to support. The cake may rise beautifully, then slump as it cools because the structure is overwhelmed. Stick to the recipe's egg count, and if you need to scale up, use the Egg Size & Egg Weight Converter to keep proportions accurate.
Bake with confidence
A sunken cake is frustrating, but it's also one of the most teachable failures in baking. Once you understand the interplay between heat, structure, and leavening, you can troubleshoot almost any recipe. Check your oven temperature, measure carefully, and give the center enough time to set. The next cake will come out level, tender, and ready for frosting. For more techniques that explain the why behind the how, browse the full collection of free baking calculators and tools or start with the Classic Vanilla Layer Cake course in the Baking Academy.
Sources
- 8.2.2: Chemical Leavening, Medicine LibreTexts (cold stage and oven stage respectively; during baking process)
