Hershey's Cake Recipe With Cream Cheese Icing: Rich Chocolate Layers and Tangy Frosting

Desserts

Hershey's Cake Recipe With Cream Cheese Icing: Rich Chocolate Layers and Tangy Frosting

This Hershey's cake recipe with cream cheese icing delivers the perfect balance of rich chocolate layers and tangy frosting that always impresses. 💛 After years of testing variations, I've perfected a method that ensures moist cake with deep Hershey's flavor and a velvety cream cheese frosting that holds its shape without being overly sweet.

The secret lies in precise ingredient ratios and careful layering—using melted chocolate instead of cocoa powder intensifies that classic Hershey's taste, while the cream cheese frosting gets its perfect texture from room-temperature ingredients and proper mixing.

This recipe builds on a tried-and-tested approach that even novice bakers can master with confidence.

By the time you're done, you'll have a stunning three-layer cake with golden-brown edges and tender crumb, topped with smooth, tangy cream cheese frosting that's neither too sweet nor too rich.

The combination is so satisfying it becomes your new go-to dessert for birthdays, holidays, or whenever you crave that perfect chocolate-cream cheese pairing.

Whether you're serving a crowd or treating yourself, this cake keeps beautifully for up to 3 days and tastes even better the next day. The frosting stays fresh and flavorful, making it ideal for special occasions or spontaneous celebrations. Let's get baking!

👨‍🍳
Difficulty
Medium
🔥
Calories
Med Cal

Ingredients for hershey cake recipe with cream cheese icing

Twelve essential ingredients transform into decadent chocolate layers and velvety cream cheese frosting.

Ingredient Amount Notes
Hershey's Special Dark Chocolate Bars 🍫 8 oz High-quality, unsweetened chocolate
All-Purpose Flour 🌾 2 ½ cups Sifted for light texture
Granulated Sugar 🍚 2 cups Standard white sugar
Unsalted Butter 🧈 1 ½ cups Room temperature, full-fat
Large Eggs 🥚 4 whole Room temperature
Baking Powder 🧂 2 tsp Aluminum-free preferred
Salt 🧂 ½ tsp Diamond Crystal kosher
Vanilla Extract 🌿 2 tsp Pure Madagascar bourbon
Whole Milk 🥛 1 cup Room temperature
Cream Cheese 🧀 16 oz Full-fat, Philadelphia brand
Powdered Sugar 🍚 4 cups Sifted for smooth frosting
Lemon Juice 🍋 1 tbsp Freshly squeezed
Heavy Whipping Cream 🥛 1 cup Cold, heavy whipping

The chocolate bars are non-negotiable—Hershey's Special Dark delivers that signature rich flavor. Trader Joe's sells them in bulk, or grab a few from the baking aisle. Room-temperature butter is key for tender layers; let it sit for 30 minutes before mixing. The cream cheese should be full-fat Philadelphia brand—none of that low-fat nonsense. For the vanilla, Madagascar bourbon extract adds depth. Sift your flour and powdered sugar to avoid dense cake layers. Pro tip: use a kitchen scale for precise measurements—especially with the chocolate.

No Hershey's bars? High-quality dark chocolate (70% cocoa or higher) works in a pinch, but melt it separately. Running low on cream cheese? Substitute equal parts butter and powdered sugar, though texture will differ. The milk can be swapped for buttermilk or heavy cream if needed. For a lighter frosting, fold in whipped cream at the end. Prefer less sweetness? Reduce powdered sugar to 3.5 cups and add 1 tsp vanilla bean paste for extra flavor. The lemon juice brightens the frosting—don't skip it!

Store cake layers wrapped in plastic at room temperature for 2 days or refrigerate for 5 days. Frosting keeps 3 days refrigerated or 2 weeks frozen—thaw overnight before serving. Assemble the cake 4 hours before serving to let flavors meld. Leftovers? Reheat slices for 10 seconds in the microwave to revive the cream cheese frosting. Freeze unfrosted layers for 3 months—bake fresh when ready.

❤️

Why You'll Love This Recipe

  • Pantry Magic: I swear by this recipe when I’m staring at my fridge and pantry thinking, what can I actually use? Dark chocolate bars, butter, flour—stuff I always have. No fancy ingredients, no last-minute store runs.
  • Rich Twice the Fun: That deep Hershey’s chocolate flavor gets a creamy, tangy upgrade from the cream cheese icing—smooth, sweet, and just a little sharp. It’s like dessert gave itself a gourmet makeover without the effort.
  • Birthday or Breakfast: Honestly, this cake works for anything. Frosted slices for a birthday, crumbled over ice cream for a lazy afternoon, or even packed in lunches (yes, really). The icing keeps it fresh for days, too.
  • Leftovers That Win: Between us, this cake always has leftovers—and that’s a good thing. The cream cheese frosting stays soft, the chocolate stays rich, and no one ever turns down a second slice. My freezer’s seen it wrapped for weeks.

Step-by-step instructions for Hershey's cake with cream cheese icing

Here's the method—moist layers, fudgy chocolate intensity, and that perfect tangy-sweet frosting.

1

🍳 Step 1: Melt Chocolate and Prepare Cake Batter

Line two 9-inch round cake pans with parchment paper and grease lightly with the 1.5 cups unsalted butter (save the rest for later). Melt the 8 oz Hershey's Special Dark Chocolate Bars over a double boiler or in 30-second bursts in the microwave, stirring between each until completely smooth. Let cool slightly—it should be thick but still pourable.

In a large mixing bowl, whisk together the 2.5 cups all-purpose flour, 2 tsp baking powder, and 0.5 tsp salt. In another bowl, beat the 2 cups granulated sugar and 1.5 cups unsalted butter until light and fluffy—this should take 3-4 minutes with an electric mixer. Add the 4 whole large eggs, one at a time, mixing well after each. Stir in the 2 tsp vanilla extract and the melted chocolate until fully combined.

Alternate adding the dry ingredients and 1 cup whole milk, beginning and ending with the dry mix. Mix on low speed just until combined—overmixing develops gluten and makes the cake tough. Pour the batter evenly into the prepared pans.

2

🔥 Step 2: Bake to Perfect Moisture

Preheat your oven to 350°F. Bake the cakes for 30-35 minutes, or until a toothpick inserted into the center comes out clean with just a few moist crumbs. Here's the thing—don't overbake! The cakes will continue setting as they cool, and you want them tender, not dry. Rotate the pans halfway through for even baking.

Let the cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely. This cooling step is critical—warm cakes will melt the frosting and make assembly messy. While the cakes cool, make a start on the frosting to save time later.

3

🥘 Step 3: Whip Cream Cheese Frosting

In a large mixing bowl, beat the 16 oz cream cheese and 1 cup heavy whipping cream together on medium speed until smooth and creamy—about 2-3 minutes. Gradually add the 4 cups powdered sugar, mixing on low to avoid a sugar cloud. Once incorporated, add the 1 tbsp lemon juice and 2 tsp vanilla extract, mixing until fully combined.

Beat on high speed for 3-4 minutes until light and fluffy. The frosting should hold its shape when spread—if it's too soft, chill the bowl in the freezer for 10 minutes while you finish assembling the cake. This step is where the magic happens—the lemon juice brightens the richness of the cream cheese, creating that perfect tangy balance.

4

🍰 Step 4: Assemble and Frost Like a Pro

Place one cake layer on a serving plate. Spread a generous layer of frosting over the top, then place the second cake layer on top. Frost the sides of the cake, then spread the remaining frosting on top. Use a spatula to create smooth, even strokes—press gently against the sides to create clean edges.

For that restaurant-quality finish, pipe decorative rosettes or swirls around the edges using a piping bag fitted with a star tip. Chill the cake in the refrigerator for 30 minutes before slicing—this helps the frosting set and makes for cleaner cuts. Serve at room temperature for the best texture and flavor contrast between the moist cake and rich frosting.

👨‍🍳

Pro Tips For Making Hershey Cake Recipe With Cream Cheese Icing

  • MELT CHOCOLATE SLOWLY: I learned this the hard way—dumping chopped chocolate bars into hot butter makes seizing happen faster than you can say "sink the cake." Instead, melt the butter first, then reduce heat to low and stir in the chocolate in small batches. The goal is a smooth, glossy ganache, not a grainy mess that’ll make your cake taste like you rushed it.
  • SIFT THAT FLOUR: Skipping the sifting step is how you end up with dense, heavy layers instead of light, airy ones. Use a fine-mesh sieve and tap it gently over the bowl—this cuts out lumps and incorporates air, which matters more than you’d think for a cake this rich. (Yes, even if you’re impatient like me.)
  • DON’T OVERMIX THE BATTER: The moment your batter turns from streaky to uniform, stop stirring. Overmixing develops gluten, which makes the cake tough instead of tender. Give it two quick swirls after adding the eggs—just enough to combine, not enough to turn it into cake dough. Trust me, your fork will thank you.
  • COOL THE CAKE RIGHT: Popping it out of the pan too soon cracks the layers and ruins the clean slice you’re aiming for. Let it sit for 10 minutes, then run a knife around the edges before transferring to a wire rack. This guarantees neat layers and keeps the cream cheese icing from sliding off like a sad, melted puddle. (Your future self will thank you.)

Dietary considerations for this hershey cake recipe with cream cheese icing

Gluten-Free Adaptation

Swap the all-purpose flour for a 1:1 gluten-free flour blend like Bob's Red Mill or King Arthur Measure for Measure. Add 1 tsp xanthan gum to help bind the layers—this prevents crumbling.

I also recommend reducing the milk by 2 tbsp since gluten-free batters can be drier. Use the same baking time, but check for doneness at 28 minutes—gluten-free cakes often bake faster. 🌾

Dairy-Free Options

For a dairy-free version, replace the butter with 1.5 cups dairy-free margarine (like Miyoko's) or coconut oil. Use 16 oz dairy-free cream cheese (such as Kite Hill) and substitute the heavy cream with full-fat coconut cream.

The frosting will still be rich, though slightly denser. Chill the frosting longer—15 minutes—to achieve the right consistency. 🥥

Lower-Sugar Frosting

Reduce the powdered sugar to 3.5 cups and add 2 tbsp maple syrup or 1 tbsp vanilla bean paste for moisture. This keeps the frosting tangy without being overly sweet.

For extra richness, fold in ½ cup whipped coconut cream at the end. The cake layers can stay the same, but the frosting will have a lighter texture. 🍯

Nut-Free Considerations

This recipe is naturally nut-free, but always double-check labels on ingredients like vanilla extract and cream cheese for cross-contamination warnings. If using a gluten-free blend, ensure it’s processed in a nut-free facility.

Store-bought chocolate bars (like Hershey's) are typically nut-free, but check for allergen advisories. For extra safety, bake in a clean oven and use separate utensils. 🚫

Egg Substitutes

Replace the eggs with 4 tbsp ground flaxseed mixed with 10 tbsp water (let sit for 5 minutes to thicken). This adds fiber and works well in moist cakes. For the frosting, no substitutes are needed—the cream cheese base doesn’t require eggs.

If you’re also avoiding dairy, use aquafaba (chickpea brine) whipped with powdered sugar for a vegan alternative. 🌱

Allergen-Friendly Storage

Store gluten-free or dairy-free versions in airtight containers with parchment paper between layers to prevent sticking. Refrigerate for up to 3 days—the frosting stays fresher longer in cooler temps.

Freeze unfrosted layers for 3 months (wrap tightly in plastic wrap + foil). Thaw overnight in the fridge before assembling. Always label containers with ingredient notes for safety. ❄️

Nutrition facts

Servings 12
Amount Per Serving
Calories 580kcal
% Daily Value *
Total Fat 36g46%
Saturated Fat 22g110%
Cholesterol 145mg48%
Sodium 390mg17%
Total Carbohydrate 62g23%
Dietary Fiber 2g8%
Sugars 52g
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 your recipe use melted chocolate instead of cocoa powder?

Melted chocolate bars create a richer, more intense Hershey's flavor that cocoa powder can't match. The fat content in the chocolate keeps the cake moist longer, and it adds that signature melt-in-your-mouth texture. For best results, use high-quality dark chocolate bars—it makes all the difference in that chocolatey depth.

2

Can I make this cake in a single layer instead of three?

For a single-layer cake, use a 9-inch pan and reduce the batter by ⅓ (about 1.5 cups). The baking time stays the same (30-35 minutes), but you'll need about ½ the frosting (roughly 2 cups). This works perfectly for smaller gatherings or when you want a taller, dramatic single slice.

3

How do I fix runny frosting?

If your frosting is too soft, chill the bowl in the freezer for 10-15 minutes while you finish assembling the cake. For extra stability, add 1 tbsp cornstarch mixed with 1 tsp cold water and whisk it in—this thickens without altering the flavor. Avoid overmixing the sugar, as that can also make the frosting too thin.

4

Can I make this cake ahead of time?

Yes! Bake the layers 1 day ahead and store them wrapped in plastic at room temperature. Assemble the cake 4 hours before serving—this lets the flavors meld beautifully. The frosting stays fresh for 3 days refrigerated or 2 weeks frozen. For extra insurance, store assembled cake in an airtight container in the fridge.

5

What's the secret to smooth frosting edges?

Use a long, flexible spatula (or offset spatula) and press firmly against the sides of the cake as you spread. Work in small sections, smoothing as you go. For perfect clean edges, dip your spatula in warm water between strokes—this helps the frosting adhere better. Chill the cake for 30 minutes before slicing to prevent smudging.

★★★★★4.5(1 review)
Categories Desserts