What went wrong

Cake raw in the middle

A cake that is dark at the edges, domed and cracked on top, and wet in the middle has almost always been baked too hot. The outside set and browned long before the heat reached the centre.

If your question is about whether food is safe to eat, FoodHQ is not the source. Check your national food safety authority.

Heat has to get to the middle, and cake is a poor conductor

Cake batter conducts heat badly. The outside reaches oven temperature quickly and sets; the centre warms slowly by conduction from the edges inwards.

A hotter oven does not speed this up in a useful way. It sets and browns the outside faster while the centre warms at much the same rate, so the gap between them widens. The result is exactly this fault.

The distance from the edge to the centre is therefore the number that matters. A deep tin, a small-diameter tin, or a doubled recipe in the same tin all make the centre further from the heat.

What is causing it

Fixing it, now and next time

  1. If it is still in the oven: cover the top loosely with foil and drop the temperature. Give it considerably longer and test with a skewer.
  2. If it is out and cooled: it cannot be re-baked successfully — the outside will dry long before the middle cooks.
  3. Salvage it as a trifle, a cake-and-custard pudding, or by cutting out the cooked outer ring and using that.
  4. Next time, check the oven with a thermometer before blaming the recipe.
  5. Drop the temperature and extend the time for any deep or large cake. Slower and lower is nearly always the answer.
  6. Do not open the oven for the first two thirds of the bake.
  7. Test with a skewer in the centre, not near the edge, and look for a few moist crumbs rather than wet batter.

Tin and temperature

Deeper tin
Lower temperature and longer time. The heat has further to travel.
Larger diameter, same depth
Similar temperature, slightly less time. The centre is not much further from the top and bottom.
Loaf tin
Long and deep, and one of the commonest shapes for this fault. Drop the temperature.
Fan oven
Runs hotter and dries faster. Reduce the stated temperature by roughly twenty degrees.
Dark or non-stick tins
Absorb more heat and brown the outside faster. Drop the temperature slightly.

Common questions

Can I put it back in the oven?

Only if it has not cooled. A cooled cake dries at the edges long before the middle cooks.

How do I know when a cake is done?

A skewer in the centre comes out with a few moist crumbs and no wet batter, and the cake springs back when pressed lightly.

Is a wet middle dangerous?

It contains raw egg and flour, so it is not something to eat as batter. Cut it out and use the cooked part.

Why did it sink as well?

The centre had not set when the structure could no longer support itself — usually opening the oven early, or too much raising agent.

Should I cover it with foil?

Yes, if the top is browning too fast. It slows the surface without slowing the centre.

Try this next