Hershey's Chocolate Cake with Cream Cheese Filling
In this article
This Hershey's chocolate cake with cream cheese filling is the ultimate indulgence—a moist, deeply chocolatey layer cake with a tangy, creamy center that cuts through the richness. The recipe uses the classic Hershey's cocoa formula, which is known for its tender crumb and intense flavor, while the filling adds a luscious surprise in every slice. It's perfect for birthdays, celebrations, or whenever you need a showstopper dessert that's easier than it looks.
Ingredients
- 2 cups (400 g) granulated sugar
- 1 ¾ cups (220 g) all-purpose flour
- ¾ cup (75 g) Hershey's unsweetened cocoa powder
- 1 ½ teaspoons baking powder
- 1 ½ teaspoons baking soda
- 1 teaspoon salt
- 2 large eggs, at room temperature
- 1 cup (240 ml) whole milk, at room temperature
- ½ cup (120 ml) vegetable oil
- 2 teaspoons vanilla extract
- 1 cup (240 ml) boiling water
- For the cream cheese filling:
- 8 oz (226 g) cream cheese, softened
- ¼ cup (57 g) unsalted butter, softened
- 2 cups (240 g) powdered sugar, sifted
- 1 teaspoon vanilla extract
- For the chocolate frosting (optional but recommended):
- ½ cup (113 g) unsalted butter, softened
- ⅔ cup (65 g) Hershey's cocoa powder
- 3 cups (360 g) powdered sugar, sifted
- ⅓ cup (80 ml) whole milk
- 1 teaspoon vanilla extract
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
- In a large mixing bowl, whisk together the sugar, flour, cocoa powder, baking powder, baking soda, and salt until well combined.
- Add the eggs, milk, oil, and vanilla extract. Beat on medium speed for about 2 minutes, until the batter is smooth and well blended.
- Carefully stir in the boiling water. The batter will be thin—that's correct. Pour the batter evenly into the prepared pans.
- Bake for 30 to 35 minutes, or until a toothpick inserted in the center comes out clean. Let the cakes cool in the pans for 10 minutes, then turn out onto wire racks to cool completely.
- While the cakes cool, make the cream cheese filling: In a medium bowl, beat the softened cream cheese and butter until smooth and creamy. Gradually add the powdered sugar and vanilla, beating until light and fluffy. Set aside.
- If making the chocolate frosting, beat the butter in a large bowl until creamy. Add the cocoa powder and mix well. Alternately add the powdered sugar and milk, beating until smooth. Stir in the vanilla.
- Once the cakes are completely cool, place one layer on a serving plate. Spread the cream cheese filling evenly over the top, leaving a small border around the edge.
- Place the second cake layer on top. Frost the top and sides with the chocolate frosting, or simply dust with powdered sugar if you prefer a lighter finish.
- Chill for at least 30 minutes before slicing to help the filling set. Serve at room temperature for best flavor.
Tips
- Substitutions: You can use buttermilk instead of whole milk for a slightly tangier crumb. For a dairy-free version, use almond milk and vegan butter, but note the texture may be slightly denser.
- Don't overmix: Once you add the flour mixture, mix just until combined. Overmixing can develop gluten, making the cake tough.
- Boiling water is key: The hot water helps bloom the cocoa, intensifying the chocolate flavor. Don't skip it or substitute with cold water.
- Room temperature ingredients: Eggs and milk should be at room temperature to emulsify properly, creating a smooth, even crumb.
Serving Suggestions
Serve this cake as the centerpiece at a birthday party, or slice it for a casual weekend dessert. It pairs beautifully with a scoop of vanilla ice cream or a dollop of freshly whipped cream. For a festive touch, garnish with chocolate shavings, fresh berries, or a drizzle of caramel sauce.
Variations
- Peanut butter swirl: Add ½ cup of creamy peanut butter to the cream cheese filling for a Reese's-inspired twist.
- Mint chocolate: Add ½ teaspoon of peppermint extract to the chocolate frosting and sprinkle crushed candy canes on top.
- Berry layer: Spread a thin layer of raspberry or strawberry jam over the cream cheese filling before adding the top cake layer.
- Cupcakes: Bake the batter in lined muffin tins for about 20 minutes, then fill each cupcake with a small spoonful of cream cheese filling using a piping tip.
Storage and Reheating
Store the cake in an airtight container in the refrigerator for up to 5 days. Because of the cream cheese filling, it must be kept chilled. Let slices sit at room temperature for 15–20 minutes before serving to soften the crumb and filling. To freeze, wrap unfrosted cake layers tightly in plastic wrap and freeze for up to 3 months; thaw overnight in the fridge before assembling. Frosted cake can also be frozen (without the cream cheese filling—add that after thawing) for up to 2 months.
Frequently Asked Questions
Can I use Dutch-processed cocoa instead of Hershey's?
Yes, but the leavening may need adjustment. Hershey's is natural cocoa, which reacts with baking soda. If you use Dutch-processed, reduce baking soda to 1 teaspoon and add ½ teaspoon of baking powder to compensate.
Why is my cake dense or dry?
Overmixing the batter or overbaking the layers are the most common culprits. Mix just until smooth and start checking for doneness at 30 minutes. Also, be sure to measure flour correctly—spoon it into the cup and level off, rather than scooping directly.
Can I make this cake ahead of time?
Absolutely. Bake the cake layers a day ahead, wrap them tightly in plastic wrap, and store at room temperature. The cream cheese filling can also be made a day ahead and refrigerated. Assemble the cake the day you plan to serve it for the freshest result.
Can I skip the chocolate frosting?
Yes, the cake is delicious with just the cream cheese filling and a dusting of powdered sugar. If you want a lighter alternative, try a whipped cream frosting or a simple ganache.
How do I prevent the cream cheese filling from oozing out?
Make sure the cakes are completely cool before spreading the filling. Also, leave a ½-inch border around the edge so the filling doesn't squeeze out when you place the top layer. Chilling the assembled cake for 30 minutes helps it set.
Can I use a different pan size?
Yes, you can bake this in a 9x13-inch pan for about 35–40 minutes. For cupcakes, fill liners ⅔ full and bake for 20–22 minutes. Adjust the filling amount accordingly—you may have extra.