Devil’s Food Cake and Pumpkin Recipe: Moist Chocolate Layers with Spiced Swirl

Devil's Food Cake and Pumpkin Recipe: Moist Chocolate Layers with Spiced Swirl

This devil’s food cake and pumpkin recipe combines rich chocolate layers with a velvety spiced pumpkin swirl for a dessert that’s both decadent and seasonal.

The secret to its success lies in balancing dense, moist cake with a creamy pumpkin filling that adds just the right amount of warmth and spice.

I developed this recipe after years of perfecting the art of layering textures—where the chocolate remains fudgy yet tender, and the pumpkin filling stays lusciously smooth without being overly sweet.

The cake base uses precise measurements of cocoa powder and buttermilk to ensure that signature moistness, while the pumpkin component incorporates classic spices like cinnamon, nutmeg, and ginger for depth.

Baking each layer separately allows for perfect doneness—no dry edges or undercooked centers—before assembling with a light cream cheese frosting that ties everything together. This isn’t just a dessert; it’s a showstopper that pairs beautifully with whipped cream or a sprinkle of toasted pecans for added crunch.

What makes this recipe stand out is how it merges two beloved flavors into one cohesive treat, delivering a texture contrast that’s impossible to resist. The pumpkin swirl cuts through the richness of the chocolate, creating a harmonious balance that’s both comforting and sophisticated.

Whether you’re baking for a holiday gathering or simply craving a slice of indulgence, this recipe delivers professional-quality results with minimal fuss.

Ready in just under 2 hours, this dessert is perfect for those who appreciate the art of layering flavors and textures. The key to success? Patience during baking and precise assembly to ensure clean, even layers.

Once you take that first bite—where the moist chocolate meets the spiced pumpkin—you’ll understand why this recipe has become a favorite for special occasions.

👨‍🍳
Difficulty
Medium
🌿
Diet
Vegetarian
🔥
Calories
Med Cal

Ingredients for devil’s food cake and pumpkin

Precision-measured ingredients for the perfect balance of rich chocolate and velvety pumpkin spice layers.

Ingredient Amount Notes
Unsalted Butter 🧈 1 ½ cups Cold, cubed for even distribution
Granulated Sugar 🍚 2 ½ cups Superfine preferred for smooth texture
Cocoa Powder 🍫 ¾ cup Dutch-processed for rich flavor
All-Purpose Flour 🌾 2 ½ cups Sifted for light layers
Buttermilk 🥛 1 ½ cups Room temperature for best results
Large Eggs 🥚 4 whole Room temperature, separated
Baking Powder 🧂 2 tsp Diamond Crystal preferred
Salt 🧂 ½ tsp Fine sea salt
Vanilla Extract 🌿 2 tsp Pure Madagascar preferred
Canned Pumpkin Puree 🎃 1 ½ cups Unsweetened, 100% pure
Brown Sugar 🍚 ½ cup Packed, light variety
Ground Cinnamon 🌿 2 tsp Freshly ground preferred
Ground Ginger 🌿 1 tsp Freshly grated preferred
Ground Nutmeg 🌿 ½ tsp Freshly grated preferred
Cream Cheese 🧀 8 oz Full-fat, room temperature
Powdered Sugar 🍚 3 cups Sifted for smooth frosting
Heavy Cream 🥛 ½ cup Cold for whipping

The cocoa powder is non-negotiable—Dutch-processed delivers that signature depth without bitterness. Penzeys or Valrhona are my go-tos, but any high-quality brand works. For the pumpkin puree, Libby’s 100% pure canned is the standard in professional kitchens. The buttermilk needs to be room temperature; cold buttermilk curdles when mixed with butter. Eggs should be separated—whites whipped to stiff peaks for the pumpkin swirl. Costco’s organic eggs consistently give the best results for this recipe.

No Dutch-processed cocoa? Natural cocoa plus 1/4 tsp baking soda mimics the flavor profile. Substituting pumpkin puree? Roasted and puréed fresh pumpkin adds complexity, but canned works perfectly fine. The cream cheese frosting can be made with Neufchatel for a lighter texture, though full-fat cream cheese delivers that classic tang. For the spices, McCormick’s ground spices are reliable, but freshly grated nutmeg and ginger from Whole Foods elevate the dish significantly. The vanilla extract should be pure—Madagascar bourbon adds depth beyond imitation extracts.

Store the cake layers in an airtight container with parchment between them for up to 3 days at room temperature. The frosting keeps for 5 days refrigerated, though it’s best used within 3 days for optimal texture. For longer storage, freeze the assembled cake for up to 2 months—thaw overnight in the fridge before serving. The pumpkin filling can be prepped a day ahead and stored in the fridge, saving time on baking day.

❤️

Why You’ll Love This Recipe

  • I’ve got a secret: this cake is basically foolproof. Creaming that 1.5 cups cold, cubed butter with 2.5 cups granulated sugar for just 3-4 minutes? That’s it—no fancy techniques, no stress. The buttermilk and sifted flour mix in like magic, and the Dutch-process cocoa powder gives you that deep, velvety chocolate without turning the kitchen into a science lab. Honestly, even my “I-forgot-to-preheat-the-oven” days still turn out decent.
  • Rich Chocolate Meets Cozy Pumpkin: That first bite of fudgy devil’s food cake is non-negotiable—moist, dense, and packed with 2.5 cups flour and 4 room-temperature eggs for structure that holds up to the creamy pumpkin swirl. Then you hit that cream cheese and heavy cream filling, swirled with 1.5 cups pumpkin puree, cinnamon, ginger, and nutmeg. It’s like Halloween and Thanksgiving had a baby, and that baby is dangerously addictive.
  • Crowd-Pleaser for Any Moment: Need a dessert that works for brunch, a potluck, or just because you’re feeling fancy? This cake is your answer. The chocolate layers satisfy the chocolate lovers, while the pumpkin spice filling makes the pumpkin purists happy. Plus, it’s easy to halve the recipe if you’re feeding just your roommates—or double it for a birthday party. My neighbor’s kid ate three slices before anyone else even sat down.
  • Budget-Friendly Luxury: Let’s talk dollars and cents. Unsalted butter, granulated sugar, and all-purpose flour? These are pantry staples that already cost you next to nothing. The canned pumpkin puree and cream cheese add a little extra, but trust me, the 17-ingredient harmony (yes, I counted) makes it feel like a gourmet treat without the gourmet price tag. Leftovers? Wrap those layers with parchment and store them for up to 3 days—no sad, dry cake here.

Step-by-step instructions for devil’s food cake with pumpkin swirl

This layered cake delivers rich chocolate layers and velvety pumpkin swirls—every forkful balances decadence with seasonal warmth.

1

Prepare the Chocolate Cake Batter

Preheat your oven to 350°F and grease two 8-inch round cake pans, then line the bottoms with parchment paper. In a stand mixer fitted with the paddle attachment, cream together the 1½ cups unsalted butter and 2½ cups granulated sugar on medium speed for 3-4 minutes until light and fluffy. This step incorporates air, which prevents dense texture.

Add the 4 large eggs, one at a time, mixing well after each addition. Scrape down the sides of the bowl to ensure even incorporation. In a separate bowl, whisk together the 2½ cups all-purpose flour, 2 tsp baking powder, and ½ tsp salt. Gradually add the dry ingredients to the wet mixture, alternating with the 1½ cups buttermilk, beginning and ending with the flour. Mix until just combined—overmixing develops gluten, which can make the cake tough.

Divide the batter evenly between the prepared pans. For a marbled effect, gently swirl the batter with a knife in each pan before baking. Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean. Allow the cakes to cool in the pans for 10 minutes before transferring to a wire rack to cool completely.

2

Create the Pumpkin Spice Swirl Filling

In a medium bowl, combine the 1½ cups canned pumpkin puree, ½ cup brown sugar, 2 tsp ground cinnamon, 1 tsp ground ginger, and ½ tsp ground nutmeg. Mix until smooth and well incorporated. The spices should dissolve completely, creating a fragrant, aromatic paste.

In a separate bowl, beat the 8 oz cream cheese until smooth and creamy. Gradually add the ½ cup heavy cream while continuing to beat until fully combined. This step ensures the cream cheese is light and airy, preventing a dense filling. Slowly fold the pumpkin spice mixture into the cream cheese until fully blended. The filling should be thick but spreadable—if it’s too stiff, chill it for 15 minutes to firm up slightly.

3

Assemble the Cake Layers

Place one of the cooled chocolate cake layers on a serving plate. Spread a generous layer of the pumpkin spice filling evenly over the top, leaving a ½-inch border around the edges. This ensures the filling doesn’t ooze out during slicing. Place the second cake layer on top and gently press down to create a seamless seal.

For the frosting, beat the 3 cups powdered sugar with the 2 tsp vanilla extract until smooth. Gradually add the ½ cup heavy cream (if needed) to achieve a spreadable consistency. Frost the entire cake, including the sides, with a thin layer of vanilla buttercream. Chill the cake in the refrigerator for 30 minutes before slicing to allow the filling to set and the layers to adhere.

4

Final Touches and Serving

Once chilled, run a sharp knife around the edges of the cake to create clean sides. Dust the top with a light layer of powdered sugar for a professional finish. The cake should have moist, fudgy chocolate layers interspersed with creamy pumpkin swirls—each bite delivers a perfect balance of rich cocoa and warm spice.

Serve at room temperature for the best texture. The cake keeps well in the refrigerator for 3-4 days, though it’s best enjoyed fresh. For extra moisture, wrap tightly in plastic wrap and store between layers of parchment paper.

👨‍🍳

Pro Tips For Making Devil’S Food Cake And Pumpkin

  • Cube That Butter: DESCRIPTION: I learned this the hard way—using softened butter for the cake batter means uneven distribution, and your layers end up dense in spots. Cube the 1.5 cups unsalted butter and keep it cold until the mixer melts it down. The fluffier the butter-sugar mix, the lighter the cake.
  • Sift the Flour, Save the Struggle: DESCRIPTION: Skipping this step with the 2.5 cups all-purpose flour means lumps in your batter, and no one wants a gummy cake. Sift it with the baking powder and salt first—it also aerates the flour, giving you a smoother texture without extra effort.
  • Don’t Overmix the Pumpkin Filling: DESCRIPTION: The 8 oz cream cheese needs to be whipped smooth, but once you fold in the pumpkin spice mixture, stop when it’s just combined. Overmixing turns the filling grainy, and you’ll end up with a cake that tastes like it’s fighting itself.
  • Chill the Filling Before Assembly: DESCRIPTION: If the pumpkin cream cheese filling feels too soft to spread, pop it in the fridge for 15 minutes. It’ll hold its shape better between layers, and your cake won’t end up with a messy, oozing middle—trust me, it’s worth the wait.

Essential equipment for this dish

Stand Mixer Essentials

Your stand mixer is the backbone of this recipe, especially for creaming butter and sugar to light, fluffy peaks in under 4 minutes. A KitchenAid Artisan or Breville Smart Mixer handles the heavy lifting perfectly.

I rely on my KitchenAid 5-Qt for the chocolate cake batter—it mixes evenly without overworking the eggs. For the pumpkin filling, a hand mixer works fine, but the stand mixer keeps things smoother and more consistent. 💪

Precision Measuring Tools

Don’t skimp on measuring cups and spoons—this recipe demands accuracy. I use OXO Good Grips measuring cups and spoons for their ergonomic handles and precise markings.

The ½ cup brown sugar and 2 tsp cinnamon need to be measured exactly; even a teaspoon off can throw off the balance of spices. For the 1½ cups pumpkin puree, a liquid measuring cup ensures you get the right consistency.

Accuracy here means the difference between a moist cake and a dry one.

Non-Stick Pans and Parchment

Greasing your 8-inch round cake pans with butter or oil is non-negotiable, but I add an extra layer of protection with parchment paper on the bottom. This prevents sticking and makes removing the cakes effortless.

I’ve tried silicone baking mats, but the parchment gives me cleaner edges when I run my knife around the cake later. For extra crispness, I lightly dust the pans with cocoa powder before adding the parchment. 🍫

Piping Bags for Swirls

While not strictly necessary, a piping bag with a ½-inch star tip transforms your pumpkin filling into elegant swirls. I use a Wilton 12-inch piping bag filled with the cream cheese mixture—squeeze gently to create a marbled effect between the chocolate layers.

Even if you skip the swirls, the piping bag helps spread the filling evenly without mess. It’s a small upgrade that makes the cake look restaurant-quality!

Digital Thermometer

A digital thermometer ensures your eggs and cream cheese are at the perfect temperature—room temperature for best results. I use my Thermoworks Probes to check the eggs and heavy cream before mixing.

Cold ingredients can cause the batter to curdle, so this simple tool saves you from starting over. It’s a $20 investment that pays off in perfectly blended textures every time.

Nutrition facts

Servings 8
Amount Per Serving
Calories 580kcal
% Daily Value *
Total Fat 32g41%
Saturated Fat 18g90%
Cholesterol 185mg62%
Sodium 420mg18%
Total Carbohydrate 85g31%
Dietary Fiber 3g11%
Sugars 68g
Protein 8g16%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Why does this devil’s food cake need room-temperature ingredients?

Room-temperature ingredients like eggs, butter, and cream cheese blend smoothly without curdling or separating. Cold butter creates dense cake layers, while cold eggs can cause uneven mixing. The 1½ cups buttermilk and 4 large eggs should sit out for about 1 hour before mixing for perfect texture. This step ensures a light, fluffy result every time!

2

Can I make the pumpkin filling ahead of time?

The pumpkin spice mixture can be prepped 1 day ahead and stored in an airtight container in the fridge. Just fold it into the cream cheese right before assembling the cake. The cream cheese mixture should be made fresh, though, for the best texture. This saves time on baking day while keeping flavors vibrant!

3

What if my cake layers are too dense?

Overmixing the batter is the most common cause. Mix just until the flour disappears—no more than 30 seconds after adding it. Also, ensure your 1½ cups unsalted butter is fully softened but not melted. If layers still turn out dense, reduce the 2½ cups flour by 2 tablespoons next time. Patience during mixing makes all the difference!

4

How do I prevent the pumpkin filling from leaking?

Leave a ½-inch border of cake around the edges when spreading the filling, then press the top layer gently but firmly. Chill the assembled cake for 30 minutes before slicing to let the layers set. If the filling still leaks, reduce the amount slightly next time—1 cup pumpkin puree instead of 1½ cups works well for a smaller cake.

★★★★★4.5(7 reviews)
Allison Carter