Desserts
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!
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.
đł 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.
đĽ 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.
đĽ 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.
đ° 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
Frequently asked questions
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.
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.
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.
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.
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.
