Pumpkin magic cake is a single-layer dessert that bakes into three distinct layers: a dense custard on the bottom, a creamy center, and a light sponge cake on top. It tastes like pumpkin pie meets a custard-filled cake, with a warm spice aroma. This version suits a fall dessert table or a weekend treat, and it is easier than it looks—the layers form on their own while baking.
Ingredients
- 4 large eggs, separated, at room temperature
- 3/4 cup (150 g) granulated sugar
- 1/2 cup (1 stick, 113 g) unsalted butter, melted and slightly cooled
- 1 cup (240 ml) pumpkin puree (not pumpkin pie filling)
- 1 tsp vanilla extract
- 1 cup (125 g) all-purpose flour
- 1 tsp baking powder
- 1 1/2 tsp pumpkin pie spice (or 1 tsp cinnamon + 1/2 tsp nutmeg + 1/4 tsp ginger)
- 1/2 tsp salt
- 1 1/4 cups (300 ml) whole milk, at room temperature
- Powdered sugar for dusting (optional)
Instructions
- Preheat oven to 350°F (175°C). Grease an 8-inch (20 cm) square baking pan and line with parchment paper, leaving overhang on two sides.
- In a large bowl, beat egg yolks and sugar with an electric mixer on medium-high until pale and thick, about 2–3 minutes.
- Add melted butter, pumpkin puree, and vanilla; beat until combined.
- In a separate bowl, whisk flour, baking powder, pumpkin pie spice, and salt. Add to the pumpkin mixture and beat on low until just combined.
- Slowly pour in milk while beating on low; the batter will be very thin—that is correct.
- In a clean bowl, beat egg whites with clean beaters on medium-high until stiff peaks form (when you lift the beater, the peak stands straight up).
- Gently fold the beaten whites into the batter with a rubber spatula, using a figure-eight motion. Do not overmix; a few streaks of white are fine.
- Pour the batter into the prepared pan. Bake for 50–60 minutes, until the top is golden brown and the center jiggles slightly when shaken. A toothpick inserted into the cake layer (not the custard) should come out clean.
- Cool completely in the pan on a wire rack, then refrigerate for at least 2 hours (or overnight) before slicing. This sets the custard layer.
- Dust with powdered sugar before serving, if desired.
How to Tell the Layers Formed Correctly
After baking and chilling, you should see three distinct layers when you cut a slice: a thin, firm custard at the bottom, a soft pudding-like middle, and a sponge cake top. The top should be golden brown and spring back when lightly pressed. If the layers are not distinct, the most common cause is overmixing the batter after adding the egg whites—the whites must be folded gently so they separate during baking.
The One Failure: Overmixing the Egg Whites
If you stir the egg whites into the batter too vigorously, they will fully incorporate and you will get a single dense, custard-like cake instead of three layers. Fold slowly and stop while a few white streaks remain. Also, ensure the egg whites are at stiff peaks before folding; soft peaks will not create the light top layer.
Worked Example: 9×9-Inch Pan
This recipe is written for an 8-inch (20 cm) square pan. If you use a 9-inch (23 cm) square pan, the cake will be thinner and may bake 5–10 minutes faster. Check at 45 minutes. The yield stays the same: 9 pieces, each about 3 inches (7.5 cm) square.
Before You Start: Checklist
- Eggs at room temperature (cold eggs make stiff peaks harder to achieve).
- Milk at room temperature (cold milk can seize the batter).
- Butter melted and slightly cooled, not hot.
- Pumpkin puree, not pie filling (pie filling is sweetened and spiced, which changes the texture).
- An 8-inch (20 cm) square pan and parchment paper.
Storing Pumpkin Magic Cake
Store leftovers covered in the refrigerator for up to 4 days. The cake must be refrigerated because it contains a custard layer with eggs and milk. For longer storage, wrap individual slices tightly in plastic wrap and freeze for up to 2 months. Thaw overnight in the refrigerator before serving. Serve cold or at room temperature; reheating will melt the custard.
Can I Make It Gluten-Free or Dairy-Free?
For a gluten-free version, replace the all-purpose flour with a 1-to-1 gluten-free baking flour blend that contains xanthan gum. The texture will be slightly more tender and the cake layer may be a bit thinner. For a dairy-free version, use a plant-based butter substitute and an unsweetened non-dairy milk such as oat or almond milk. The custard layer may be softer, so chill the cake longer (at least 4 hours) before slicing.
Why Is My Cake Soggy on Top?
A soggy top usually means the cake was underbaked. The top should be deep golden brown and feel dry to the touch. If the center still jiggles a lot after 60 minutes, bake for another 5–10 minutes. Remember that the custard layer will always be soft, but the sponge top should be firm. Also, let the cake cool completely in the pan before refrigerating—condensation can form if you cover it while warm.
Can I Use Fresh Pumpkin Instead of Canned?
Yes, but you must cook and puree the pumpkin first. Roast a small sugar pumpkin at 375°F (190°C) for 45–60 minutes until tender, then scoop out the flesh and puree in a food processor until smooth. Drain off excess liquid in a fine-mesh strainer for 30 minutes. You need 1 cup (240 ml) of thick puree; if it is watery, the cake will not set properly.
Related
- Vegan Gluten Free Pumpkin Spice Muffins
- Pumpkin Spice Infused Water Recipe
- Pumpkin Cookies Using a Cake Mix
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).