This is a know rule when baking:
Don't open the oven until your cake is finished, otherwise it will "fall".
Why/how does this happen?
This is a know rule when baking:
Don't open the oven until your cake is finished, otherwise it will "fall".
Why/how does this happen?
A cake will rise because of a combination of chemical leavening (baking powder, baking soda) and steam. The gases released from these things (carbon dioxide or steam) inflate tiny air bubbles in the batter.
These air bubbles need to set. A protein mesh, generated from gluten (created when flour and water come into contact), is what actually holds the bubbles in place in the baked good. But gluten takes time to set correctly and when it's hot, it's still very soft and can easily collapse.
So, you have outward pressure of hot gasses in tiny air bubbles suspended in this very soft, elastic protein matrix. When you expose it to a sudden shock of cold air, the bubbles contract (cold gas takes less volume than hot gas, you can see this by inflating a balloon and then sticking it in the freezer -- it will shrink) and the protein matrix isn't firm enough to remain. So the bubbles collapse and you lose any leavening you worked hard to get.
That said, I have never had a cake fall by opening the oven door. I have, however, had it take a lot longer to bake because opening the door dropped the temperature. So perhaps the real motivation is so you don't extend the baking time. After all, who wants to wait longer for cake?