Cakes, cookies, pastries and baked goods

Cake

A sweet baked dessert made from a batter of flour, sugar, eggs and fat, raised by beaten air, baking powder or baking soda.

Cake: A tall, frosted two-layer vanilla cake on a cake stand with one slice cut out to show the soft crumb and filling

At a glance

Type
Sweet baked dessert made from batter
Texture
Tender crumb, rich to airy
Key ingredients
Flour, sugar, eggs, butter or oil, milk, baking powder
Leavening
Air, eggs, baking powder or baking soda
Best eaten
Within a day or two of baking

Overview

Cakes fall into two broad families. Butter cakes are made by creaming fat and sugar, then adding eggs, flour and liquid; they are rich and tender. Foam cakes such as sponge, genoise and angel food rely mostly on whipped eggs for lift and are lighter.

Most cakes bake at about 325 to 350°F (165 to 175°C). A cake is done when a skewer comes out clean or with a few moist crumbs and the center springs back when pressed lightly.

What makes it distinctive

Cake sits at the soft, sweet end of the baked-goods family. Its batter is richer in sugar, eggs and fat than bread dough and looser than cookie dough, so it bakes into a fine, tender crumb rather than a chewy or crisp one. Mixing is kept gentle once flour goes in, so little gluten forms and the crumb stays soft.

How the batter is aerated decides the style. Butter cakes trap air by creaming fat with sugar and usually get help from baking powder or soda. Foam cakes such as sponge, genoise and angel food depend on whipped eggs. Most cakes are baked in pans and then filled, frosted or simply dusted with sugar.

Key ingredients

  • Flour gives structure; lower-protein cake flour makes a softer, finer crumb
  • Sugar sweetens, keeps the cake moist and helps hold beaten air
  • Eggs bind the batter, add lift and set the crumb as they bake
  • Butter or oil adds richness and tenderness; butter brings flavor, oil keeps cakes moist longer
  • Baking powder or baking soda produces gas in the oven for extra rise

How it's made

  1. Heat the oven and grease and line your pans before you start mixing.
  2. Cream softened butter and sugar until pale and fluffy, then beat in the eggs one at a time.
  3. Fold in the dry ingredients alternately with the liquid, mixing only until the batter looks smooth.
  4. Spread the batter evenly in the pans and bake in a moderate oven.
  5. Test with a skewer and a light press on the center, then cool briefly in the pan.
  6. Turn out onto a rack and let the cake cool completely before frosting.

Baker's tips

ProblemLikely causeFix
Dense, heavy crumbButter too cold to cream, or batter overmixed after adding flourUse soft butter, cream well, and fold flour in gently
Dry, crumbly cakeBaked too long or too much flour measuredCheck early; spoon flour into the cup and level it
Tall dome with a crackOven too hot or pan too smallLower the heat slightly and use the size of pan the recipe calls for

Variations

  • Layer cakes, stacked and filled with buttercream, jam or whipped cream
  • Cupcakes, the same batter baked in single-serving lined cups
  • Sheet cakes and loaf cakes for easy slicing and serving a crowd
  • Flavors such as vanilla, chocolate, almond, citrus or maple
  • Gluten-free versions made with nut flours, and dairy-free versions made with oil and plant milk

Storage and serving

Most unfrosted or buttercream-frosted cakes keep well at room temperature for a day or two, covered so they do not dry out. Cakes with whipped cream, cream cheese or custard fillings belong in the refrigerator. Let chilled cake sit out for a while before serving, since a cold crumb and frosting taste muted and feel firm.

For longer storage, wrap cooled, unfrosted layers tightly and freeze them. Thaw them still wrapped so moisture settles back into the cake, then fill and frost as usual.

Bake it at VanillaGoods

Tools for this

As an Amazon Associate, VanillaGoods earns from qualifying purchases. We only suggest tools that help with this.

Common questions

Can you freeze cake?

Yes. Unfrosted layers freeze best: cool them completely, wrap tightly and freeze. Thaw in the wrapping, then frost. Buttercream-frosted cakes also freeze reasonably well, but whipped cream and custard fillings usually weep once thawed.

What is the difference between butter cake and sponge cake?

Butter cake gets its lift from creaming butter with sugar, often with baking powder, and has a rich, tender crumb. Sponge cake relies mainly on whipped eggs, uses little or no fat, and turns out lighter and springier.

Why did my cake sink in the middle?

It was usually underbaked, so the center collapsed as it cooled, or the oven door was opened too early. Too much leavening can also make a cake rise fast and then fall. Bake until the center springs back when pressed lightly.