Chocolate Squash Cake Recipe
In this article
A chocolate squash cake should be moist but not wet, with a crumb that holds together when cut and a chocolate flavor that is not buried under the vegetable. This method roasts or steams the squash first, purees it smooth, and uses it to replace part of the fat and liquid, which is what gives the cake its soft, close texture. The result is a single-layer cake that slices cleanly at room temperature and keeps for several days.
Chocolate Squash Cake Ingredients
Use a dense, orange-fleshed squash such as butternut, kabocha, or acorn. Delicata works but is wetter, so drain the puree before measuring. Measure the puree by weight if you can; cup measures of squash vary widely with how much water it holds.
- 250 g (about 1 cup) smooth cooked squash puree, at room temperature
- 150 g (about 3/4 cup) granulated sugar
- 100 g (about 1/2 cup packed) light brown sugar
- 2 large eggs, at room temperature
- 120 ml (1/2 cup) neutral oil, such as canola or sunflower
- 60 ml (1/4 cup) whole milk or buttermilk
- 1 tsp vanilla extract
- 180 g (about 1 1/2 cups) all-purpose flour
- 45 g (about 1/2 cup) unsweetened cocoa powder
- 1 1/2 tsp baking soda
- 1/2 tsp baking powder
- 1/2 tsp fine salt
- 1/2 tsp ground cinnamon (optional)
- 100 g (about 2/3 cup) dark chocolate chips or chopped chocolate
This makes one 9-inch round cake or one 8-inch square cake, about 10 servings. A 9-inch springform pan or a lined square pan both work; a bundt pan needs a longer bake and is not recommended for this batter because the crumb is soft.
Mixing and Baking the Cake
- Heat the oven to 350F/175C. Grease a 9-inch round pan and line the base with parchment. If using a square pan, line it with a parchment sling.
- Cook the squash until a knife slides in with no resistance: roast halved squash cut-side down at 400F/205C for 35-45 minutes, or steam cubes for 15-20 minutes. Scoop out the flesh and discard the skin and seeds.
- Puree the flesh in a food processor or mash it thoroughly with a fork until no lumps remain. Let it cool to room temperature; hot puree will curdle the eggs. If the puree looks watery, spread it in a fine sieve and let it drain for 10 minutes, then reweigh.
- Whisk the flour, cocoa, baking soda, baking powder, salt, and cinnamon in a bowl. Break up any cocoa lumps with the whisk.
- In a large bowl, whisk the sugars, eggs, oil, milk, and vanilla for about 1 minute, until the mixture is smooth and slightly thickened. Whisk in the squash puree until evenly combined.
- Add the dry ingredients to the wet in two additions, folding with a spatula until just combined. Stop as soon as the flour streaks disappear; overmixing makes the cake tough. Fold in the chocolate chips.
- Scrape the batter into the pan and smooth the top. Bake at 350F/175C for 35-45 minutes, until a skewer inserted in the center comes out with a few moist crumbs but no wet batter. The cake should spring back when pressed lightly in the center.
- Cool in the pan for 15 minutes, then turn out onto a rack and cool completely before slicing, about 1 hour. Cutting warm cake gives a gummy edge.
If the top browns deeply before the center sets, tent the pan loosely with foil after 25 minutes. If the cake domes sharply, the oven rack is too high; move it to the middle position next time.
Swaps and Ratios
Each swap below keeps the total liquid and fat roughly balanced, which is what the crumb depends on.
- No buttermilk: stir 1 tsp lemon juice or white vinegar into 60 ml (1/4 cup) whole milk and let it stand 10 minutes. Use the full amount in place of the buttermilk.
- Less oil: replace up to half the oil with an equal volume of cooled melted butter or neutral yogurt; beyond half, the cake turns denser.
- Different squash: pumpkin puree works cup for cup. Sweet potato puree also works but is sweeter, so reduce the brown sugar by 25 g (about 2 tbsp).
- No cocoa: do not substitute drinking chocolate or hot cocoa mix; it contains sugar and milk solids and will throw off the liquid. Use unsweetened cocoa only.
- Gluten-free: use a 1:1 gluten-free all-purpose blend plus 1/2 tsp xanthan gum if the blend does not already contain it. Expect a slightly crumblier crumb.
- Chips: chopped chocolate or raisins can replace the chips at the same weight.
Equipment, Serving and Storage
Pans and tools
A 9-inch round pan, an 8-inch square pan, or a 9-inch springform all work; the batter fills them to about two-thirds depth. A glass pan browns the base faster, so drop the oven to 325F/165C and add 5-10 minutes. A food processor or potato masher handles the puree; a blender needs more liquid and is a poor choice for thick squash. A digital scale is the most useful tool here because squash puree weight varies so much.
Serving
Serve at room temperature with a spoonful of lightly whipped cream or a dusting of cocoa. A tangy accompaniment such as creme fraiche or plain yogurt balances the sweetness better than frosting; if you frost it, a thin layer of cream cheese frosting is enough. The cake is sweet but not heavy, so it suits an afternoon table as well as dessert.
Storage
Wrap the cooled cake tightly or keep it in a sealed container at room temperature for up to 3 days. Refrigerate for up to 5 days; bring slices to room temperature before serving. Freeze whole or in slices, wrapped first in plastic and then foil, for up to 2 months, and thaw overnight in the fridge. Discard any cake that smells sour or shows mold. Leftover squash puree keeps in a sealed container in the fridge for up to 4 days or frozen for up to 3 months.
Raw flour and raw eggs in the batter are not safe to eat before baking; do not taste the batter. Wash hands, bowls, and utensils after contact with raw batter.