Greasing and flouring a cake tin creates a thin barrier between the batter and the tin, so the baked cake turns out cleanly. It is especially important for fluted bundt and kugelhopf tins, madeleine moulds and other shaped tins that cannot be lined with paper.

The butter

Use soft, unsalted butter, or melted butter cooled slightly. Brush it evenly over the inside of the tin with a pastry brush, paying attention to the corners, the base edge and every groove of a fluted tin. Miss a spot and the cake will stick there. A flavourless oil or a baking spray can also be used.

The flour

Spoon a tablespoon or two of plain flour into the greased tin. Hold the tin over the sink or a bin, and tilt and tap it, turning it so the flour coats the base and sides evenly. Turn the tin upside down and tap it firmly to knock out the excess; you want a thin, even dusting, not a thick layer.

Cocoa or sugar

For chocolate cakes, use cocoa powder instead of flour, which will not leave white patches on the cake. For a crisp, sweet crust, coat the buttered tin with caster sugar. Soufflé dishes are coated with butter and sugar, or with grated cheese for a savoury soufflé; see our guide to cheese soufflé.

Lining with paper

For straight-sided cake and loaf tins, lining with baking paper is more reliable still. Grease the tin, then line the base with a circle of paper and the sides with a strip; the butter holds the paper in place. Grease the paper too for very sticky cakes. Rich fruit cakes need a double layer of paper. For more, see our entry on lining.

Chilling

For shaped tins and madeleine moulds, chilling the buttered and floured tin for 10 minutes before adding the batter helps the coating set and gives a cleaner release.

Turning out

Most cakes should stand in the tin for 5 to 10 minutes after baking, then be turned out on to a wire rack. Run a thin knife around the edge first if needed. Leaving cakes in the tin too long can make them sweat and stick. See also our baking tips.