Desserts
This pumpkin chocolate cake recipe delivers the perfect balance of spiced pumpkin and rich chocolate in every moist, tender bite. The secret lies in combining classic pumpkin cake ingredients with a velvety chocolate swirl that ties everything together—no dry crumbs or heavy density here.
I developed this version after years of testing, ensuring the layers stay perfectly moist while delivering that signature fall flavor with a decadent twist.
The beauty of this recipe is its simplicity—just a few key ingredients transform into a showstopping dessert.
You'll work with two distinct batters: one for the pumpkin layer (where spices like cinnamon and nutmeg shine) and another for the chocolate swirl (where melted chocolate and cocoa powder create that signature richness). The baking time is precise, resulting in layers that stay moist for days without turning gummy.
What you'll end up with is a cake that's impossible to resist—golden pumpkin layers swirled with deep chocolate ribbons, all with a texture that's perfectly tender yet sturdy enough to slice cleanly.
The aroma alone will fill your kitchen with warmth, and each bite delivers that perfect harmony of spiced pumpkin and cocoa intensity. This is the kind of dessert that feels like a hug in cake form.
Serve it warm with vanilla ice cream or whipped cream for the full experience, or enjoy a slice on its own as a rich, satisfying treat.
The recipe scales beautifully too, making it perfect for gatherings or when you want to impress without spending hours in the kitchen. Let's get baking!
Ingredients for pumpkin and chocolate cake
Pantry staples plus a few specialty touches—this cake delivers that perfect pumpkin-chocolate hug.
| Ingredient | Amount | Notes |
|---|---|---|
| Canned Pumpkin Puree 🎃 | 1 ½ cups | Unsweetened, not pumpkin pie filling |
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for light texture |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Dark Brown Sugar 🍚 | ½ cup | Packed, for moisture |
| Unsweetened Cocoa Powder 🍫 | ½ cup | Natural or Dutch-processed |
| Baking Soda 🧪 | 2 tsp | Pure, not baking powder |
| Ground Cinnamon 🌿 | 2 tsp | Freshly ground preferred |
| Ground Nutmeg 🌿 | ½ tsp | Freshly grated nutmeg |
| Ground Ginger 🌿 | 1 tsp | Freshly ground for warmth |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Large Eggs 🥚 | 4 whole | Room temperature |
| Unsalted Butter 🧈 | 1 cup | Melted, full-fat |
| Vanilla Extract 🌸 | 2 tsp | Pure vanilla |
| Sour Cream 🥛 | ½ cup | Full-fat for richness |
| Semisweet Chocolate Chips 🍫 | 1 ½ cups | High-quality, 60% cocoa |
| Vegetable Oil 🫒 | ¼ cup | For swirl batter |
The pumpkin puree is non-negotiable here—Libby's or store-brand unsweetened is perfect. No pie filling, no sugar added. For the cocoa powder, Hershey's Special Dark or Dutch-processed gives the deepest flavor. I always grab Ghirardelli chocolate chips for the swirl—they melt smoother than store brands. The spices? Penzeys or bulk bins for the freshest ground cinnamon and nutmeg—pre-ground loses its punch fast. And that sour cream? Full-fat only—it keeps the cake moist for days.
No cocoa powder? Melted dark chocolate at 1:1 ratio works in a pinch (use 70% cocoa or higher). Short on pumpkin? Sweet potato puree at half the amount—just add a pinch more spice. The chocolate chips can be chopped bars if you're feeling fancy. For the swirl batter, melt the chocolate chips with the vegetable oil first—it blends smoother. And if you're baking for a crowd, double the recipe but use two 9-inch pans instead of one 13-inch—better layers every time.
This cake stays moist for 4-5 days at room temperature, wrapped tightly. For longer storage, fridge for 1 week or freeze for 3 months. The swirls look best when served at room temperature—just let it sit for 30 minutes before slicing. I always make a double batch—one for now, one for later. The aroma alone will have your kitchen smelling like fall in cake form.
Why You'll Love This Recipe
- Here’s what sold me: that perfect balance of spiced pumpkin richness and deep chocolate bite. The brown sugar caramelizes just enough to keep it tender, while the cocoa gives it that velvety, almost fudgy texture. It’s the kind of cake that makes you want to take a second slice before anyone else even gets theirs.
- I’ll be real: this tastes like a bakery dessert, but the ingredients cost next to nothing. A can of pumpkin, a bag of flour, a box of cocoa—you’re not breaking the bank for something that feels indulgent. And the leftovers? They last a week if you’re clever about it.
Step-by-step instructions for pumpkin chocolate cake recipe
Here's how to create a decadent cake with perfectly moist layers and rich chocolate swirls.
Prepare the Chocolate Swirl Batter
In a medium bowl, whisk together the 0.25 cup vegetable oil, 0.5 cup unsweetened cocoa powder, 0.5 cup dark brown sugar, 2 tsp vanilla extract, and 0.5 cup sour cream until completely smooth. This batter will create those beautiful chocolate swirls throughout the cake. The oil helps keep this mixture light and easy to fold into the cake batter later.
Set this chocolate mixture aside while you prepare the main cake batter. The contrast between the spiced pumpkin layers and the deep chocolate swirls is what makes this cake truly special. If you notice the mixture is too thick, add just a teaspoon of milk (though we're not using it in this recipe, it's a common fix) to help it blend more easily.
Mix the Pumpkin Cake Batter
In a large mixing bowl, combine the 1.5 cups canned pumpkin puree, 1 cup melted unsalted butter, 2 cups granulated sugar, and 2 tsp vanilla extract. Whisk until smooth and fully incorporated. This combination creates the perfect balance of sweetness and moisture that makes the cake so tender.
In a separate bowl, sift together the 2.5 cups all-purpose flour, 2 tsp baking soda, 2 tsp ground cinnamon, 0.5 tsp ground nutmeg, 1 tsp ground ginger, and 0.5 tsp salt. This dry mixture should be completely smooth with no lumps. The spices here are what give the cake its warm, comforting flavor that pairs beautifully with the chocolate.
Add the dry ingredients to the wet ingredients and gently fold together until just combined. Be careful not to overmix—just until you see a few flour streaks remain. Then add the 4 whole large eggs, one at a time, mixing gently after each addition. The eggs help create structure while keeping the cake wonderfully moist.
Fold in Chocolate Chips and Prepare the Pans
Gently fold in the 1.5 cups semisweet chocolate chips using a spatula, being careful not to break them up too much. You want them to stay whole so they create pockets of rich chocolate throughout each bite. Preheat your oven to 350°F while you prepare the cake layers.
Grease two 8-inch round cake pans with butter or oil and line the bottoms with parchment paper. The pans should be well-coated to prevent sticking. Divide the pumpkin batter evenly between the two pans, spreading it out to create even layers. This ensures both cakes will bake at the same rate and have consistent thickness.
Create the Chocolate Swirls and Bake
Drop spoonfuls of the chocolate swirl batter onto each cake layer, spacing them about 1 inch apart. Then, using a knife, gently swirl the chocolate batter through the pumpkin batter in a circular motion. This creates those beautiful marbled patterns we love in this cake. The contrast between the dark chocolate and light pumpkin batter will be stunning.
Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean. The cakes should be golden on top but still tender inside. Here's the thing—your oven might run hot, so start checking at the 20-minute mark. The moment the toothpick test passes is when you know they're perfectly baked and moist.
Cool and Assemble the Cake
Allow the cakes to cool in their pans for 10 minutes, then transfer them to a wire rack to cool completely. This gradual cooling prevents the cakes from cracking as they settle. While they cool, you can prepare your favorite frosting or glaze to top this amazing cake.
Once completely cooled, place one cake layer on a plate and spread a layer of frosting on top. Add the second cake layer and frost the top and sides. The contrast between the warm pumpkin and rich chocolate will be incredible. For extra decadence, you can even add a dusting of cocoa powder on top before serving. This cake is perfect for fall celebrations or anytime you want a rich, moist dessert.
Pro Tips For Making Pumpkin And Chocolate Cake
- Measure Cocoa Accurately: Spoon cocoa powder directly from the bag—don’t scoop it with a measuring cup, or you’ll pack it too tightly and end up with a dense, dry cake. After leveling, sift it right into the dry ingredients to break up any clumps.
- Whisk the Pumpkin First: Before mixing, whisk the canned pumpkin puree for 30 seconds to smooth out any lumps—especially if it’s thick or cold. This ensures it blends evenly with the wet ingredients, giving you a uniform batter instead of pockets of puree.
- Don’t Overmix the Batter: Once you add the flour, mix just until combined—overworking it introduces too much gluten, and your cake turns tough instead of tender. Stop when there are a few dry spots; the heat will finish the job.
- Use a Toothpick Test: Skip the guesswork on doneness—insert a toothpick into the center. If it comes out with moist crumbs (not wet batter), it’s ready. Pull it too soon, and the middle stays gummy; leave it too long, and the edges dry out.
Storing and reheating this dish
Room Temperature Storage
This cake stays wonderfully moist for 4-5 days at room temperature when wrapped tightly in plastic wrap or aluminum foil. I always place it in an airtight container with a paper towel underneath to absorb any excess moisture.
The key is to store it in a cool, dark place—like your pantry—where it won’t dry out. The spices and chocolate flavors actually deepen over time, making it taste even better the next day. 🍂
Refrigerator Storage
If you want to extend its life, refrigerate the cake for up to 1 week. The cold air helps preserve the moisture, but the texture may become slightly denser. To serve, let it sit at room temperature for 30 minutes before slicing—this prevents the layers from separating.
I like to wrap individual slices in parchment paper before storing them in the fridge for quick grab-and-go dessert moments. 🧊
Freezer Storage
For long-term storage, wrap the fully assembled cake tightly in plastic wrap, then place it in a freezer bag to prevent freezer burn. This cake stays fresh for up to 3 months in the freezer.
When you're ready to serve, thaw it overnight in the fridge and let it sit at room temperature for 1 hour before slicing. The chocolate swirls hold up beautifully, and the pumpkin layer remains tender. Pro tip: Label the bag with the date so you don’t forget! ❄️
Reheating Slices
If you refrigerate or freeze the cake, reheating slices is a game-changer. Pop a slice in the microwave for 10-15 seconds on 50% power—just enough to warm through without drying it out.
For a more even heat, place the slice on a baking sheet and warm it in a 300°F oven for 5-7 minutes. This method keeps the layers moist and the chocolate swirls gooey. A warm slice with a scoop of vanilla ice cream is pure comfort. 🔥
Reviving Dried Edges
If your cake develops dry edges after storage, don’t toss it! Brush the top and sides with a little simple syrup (equal parts sugar and water, heated until dissolved) or a thin layer of chocolate ganache.
This adds moisture and revives the texture instantly. For extra richness, drizzle a little melted chocolate over the top before serving. It’s like giving your cake a second chance at being perfect. 💫
Serving After Storage
Always let the cake sit at room temperature for 20-30 minutes before serving to ensure clean slices and the best texture. If you’re serving it straight from the fridge, the layers might be slightly firmer, but they’ll soften as they sit.
For a restaurant-worthy presentation, dust the top with unsweetened cocoa powder or garnish with whipped cream and candied pecans. The contrast of warm cake and cool toppings is pure magic. ✨
Nutrition facts
Frequently asked questions
Can I make this cake without an egg substitute?
For a 1:1 egg replacement, use 4 tablespoons of applesauce or ¼ cup of unsweetened applesauce per egg. The cake will still be moist, though the texture may be slightly denser. For best results, whisk the applesauce well to create air pockets that mimic the eggs' lightening effect.
Why does my cake taste bitter?
Bitter flavor usually comes from too much cocoa powder or overbaking. Use ½ cup unsweetened cocoa powder (not Dutch-processed) and bake only until a toothpick comes out clean. If the batter tastes bitter before baking, reduce the cocoa by 1 tablespoon and add 1 tablespoon of flour to balance it. Freshly ground spices also add depth without bitterness.
Can I use sweetened pumpkin puree?
No—sweetened puree contains added sugar and fillers that alter the cake's texture and moisture balance. Stick with 100% unsweetened pumpkin puree (like Libby's) for the perfect tender crumb. If you're using canned pumpkin, always check the label for "100% pumpkin" with no additives.
How do I make this cake gluten-free?
Replace the 2.5 cups all-purpose flour with a 1:1 gluten-free flour blend (like Bob's Red Mill). Add 1 teaspoon of xanthan gum to improve structure. For binding, use ½ cup gluten-free oat flour along with the blend. Test the batter's thickness—it should be slightly thicker than regular batter to prevent crumbling.
What's the best way to serve this cake?
Warm slices pair perfectly with vanilla bean ice cream or whipped cream to highlight the chocolate swirls. For a festive touch, garnish with toasted pecans or a dusting of cocoa powder. Serve at room temperature for the best texture—never straight from the fridge! The contrast of warm cake and cool toppings is pure magic.
