Hershey Chocolate Bar Pie Recipe: Fudgy Swirls and Crunchy Walnut Topping

Desserts

Hershey Chocolate Bar Pie Recipe: Fudgy Swirls and Crunchy Walnut Topping

This Hershey Chocolate Bar Pie delivers the iconic fudgy swirls and crunchy walnut topping you crave—without the effort of homemade chocolate bars.

The secret lies in melting those classic Hershey bars directly into the filling, creating a rich, velvety texture that stays perfectly gooey at the center while developing a crisp, caramelized crust.

I perfected this recipe after years of testing, ensuring every slice captures that nostalgic Hershey’s flavor with a satisfying snap from the walnut topping.

The process is simpler than it sounds: a buttery pie crust gets a quick blind bake, then a luscious chocolate filling made with melted Hershey bars, eggs, and a touch of corn syrup for that signature Hershey’s sweetness.

The walnuts toasted in brown sugar and butter create a crunchy contrast that balances the fudgy filling. With just 30 minutes of active time and 1 hour of baking, you’ll have a pie that looks like it came from a bakery—no fancy techniques required.

What you’ll end up with is a deep chocolate pie with swirls of melted chocolate throughout and a golden, crunchy walnut topping that stays crisp even after cutting.

The aroma alone will have everyone gathering in the kitchen, and the first bite delivers that perfect balance of creamy, fudgy chocolate and nutty crunch. This pie is the ultimate crowd-pleaser, whether you’re serving it at a holiday gathering or treating yourself to a classic dessert.

For extra indulgence, chill the pie for at least 4 hours before serving—this lets the flavors meld and the texture set just right. Pair it with a scoop of vanilla ice cream or a dollop of whipped cream for the full Hershey’s experience. Let’s make this pie!

👨‍🍳
Difficulty
Medium
🔥
Calories
Med Cal

Ingredients for hershey chocolate bar pie

Classic chocolate bars, buttery crust, and toasted walnuts—just 15 ingredients for a pie that tastes like nostalgia.

Ingredient Amount Notes
Hershey's Milk Chocolate Bars 🍫 12 oz Classic milk chocolate bars, chopped
All-Purpose Flour 🌾 2 ½ cups For pie crust, all-purpose preferred
Unsalted Butter 🧈 1 cup Cold, cut into small pieces
Granulated Sugar 🍚 ½ cup For pie crust, plus extra for sprinkling
Large Eggs 🥚 1 whole Cold, for pie crust
Light Corn Syrup 🍯 ½ cup For Hershey’s signature sweetness
Large Eggs 🥚 2 whole For chocolate filling
Light Corn Syrup 🍯 ¼ cup Extra for filling sweetness
Light Corn Syrup 🍯 ¼ cup For chocolate filling
Light Corn Syrup 🍯 ¼ cup For walnut topping
Walnuts 🥜 1 ½ cups Chopped, for crunchy topping
Light Brown Sugar 🍚 ¼ cup Packed, for walnut topping
Salt 🧂 ¼ tsp Fine sea salt for balance
Vanilla Extract 🌿 1 tsp Pure vanilla for depth
Heavy Cream 🥛 ½ cup For chocolate filling richness

The Hershey’s bars are non-negotiable here. Grab the classic milk chocolate bars—the ones with the orange wrapper—from any grocery store. They’re everywhere, but Costco sells them in bulk if you’re making this for a crowd. Chop them into small pieces before melting, and don’t skip the corn syrup—it’s what gives that signature Hershey’s sweetness. For the walnuts, Trader Joe’s or Walmart usually have pre-chopped ones, but if you’re feeling fancy, toast them yourself for extra crunch. The butter? Use unsalted—you control the saltiness here, and trust me, it matters.

No Hershey’s bars? Use a mix of milk chocolate chips and white chocolate chips—about 10 oz total—though it won’t be exactly the same. Running low on corn syrup? Honey or maple syrup work in a pinch, but reduce the amount by a tablespoon or two since they’re sweeter. For the walnut topping, pecans or almonds swap in nicely if walnuts aren’t your thing. The heavy cream can be subbed with half-and-half, but it’ll be slightly lighter. And if you’re out of vanilla? Vanilla bean paste adds a deeper flavor—just use half the amount since it’s more concentrated.

This pie tastes even better the next day, so make it ahead. The filling sets up nicely, and the walnut topping stays crisp if you store it properly. Keep it covered at room temperature for up to 2 days, or refrigerate for up to 5 days. For longer storage, freeze the whole pie (without the topping) for up to 3 months. Just thaw it overnight in the fridge before serving. Pro tip: Sprinkle extra walnuts on top right after baking—they’ll stay crispier that way.

❤️

Why You'll Love This Recipe

  • No-Fuss Assembly: I swear, this pie comes together faster than a microwave mug cake. Just melt those chocolate bars, mix in the eggs and sugar, then pour into a crust—no fussing with tempering or temperamental custards.
  • Rich Without Effort: That Hershey’s chocolate? It’s the star—smooth, slightly sweet, and melts into a velvety layer that feels indulgent but doesn’t taste heavy. The buttery crust ties it all together like a hug.
  • Crowd-Pleaser Any Day: Between us, this pie is my go-to for birthdays, potlucks, or even a "I just need dessert" Tuesday. It’s not too fancy for a weeknight but still impressive enough to serve at a dinner party.
  • Budget Luxury: I make this for under $10 and it feeds six. The chocolate bars stretch far, the crust uses pantry staples, and leftovers? They’re just as good reheated (or eaten cold—no judgment).

Step-by-step instructions for Hershey chocolate bar pie

Here's how to create that perfect balance of fudgy chocolate and crunchy walnut topping.

1

Prepare the Classic Pie Crust

In a large mixing bowl, combine the 2.5 cups all-purpose flour, 0.5 cup granulated sugar, and 0.25 tsp salt. Cut in the 1 cup unsalted butter using a pastry cutter or your fingers until the mixture resembles coarse crumbs with some pea-sized butter pieces remaining. This texture is crucial for creating a flaky crust.

Add the 1 whole large egg and mix gently until the dough just comes together. Be careful not to overwork it. Divide the dough in half and flatten each piece into a disk. Wrap in plastic wrap and refrigerate for at least 1 hour or up to 2 days. This resting time allows the gluten to relax, resulting in a tender crust.

2

Create the Signature Chocolate Filling

In a medium saucepan, combine the 12 oz chopped Hershey's milk chocolate bars, 0.5 cup light corn syrup, and 0.5 cup heavy cream. Cook over medium heat, stirring constantly, until the chocolate and cream melt completely and the mixture reaches a smooth, pudding-like consistency. This should take about 5-7 minutes.

Remove from heat and stir in the 2 whole large eggs and 1 tsp vanilla extract. Let the mixture cool slightly but keep it warm enough to pour. The filling should be thick but still pourable—if it's too thick, warm it gently over low heat for another minute or two. This is where the magic happens for that signature Hershey's flavor and smooth texture.

3

Assemble the Pie with Fudgy Swirls

Preheat your oven to 375°F. Roll out one of the chilled pie crust disks to fit a 9-inch pie dish, leaving a 1-inch overhang. Transfer to the pie dish and trim the excess. Roll out the second crust disk and cut it into 8 strips about 1-inch wide for the lattice top.

Pour the warm chocolate filling into the crust-lined pie dish. Arrange 4 of the crust strips in a lattice pattern over the filling, then arrange the remaining 4 strips to complete the pattern. Brush the lattice with a lightly beaten egg to help it brown. Sprinkle the pie with a pinch of granulated sugar for extra caramelization.

4

Prepare the Crunchy Walnut Topping

In a small bowl, combine the 1.5 cups chopped walnuts, 0.25 cup light brown sugar, and the remaining 0.25 cup light corn syrup. Mix well to coat the walnuts evenly. Spread this mixture evenly over the lattice-topped pie, pressing gently to help it adhere.

Bake the pie for 40-45 minutes, or until the crust is golden brown and the filling is set but still slightly jiggly in the center. The walnut topping should be toasted to a beautiful golden color. If the edges of the crust start to brown too quickly, cover them with aluminum foil to prevent over-browning.

5

Cool and Serve for Perfect Texture

Remove the pie from the oven and let it cool completely on a wire rack. This cooling process is crucial—it allows the filling to set properly and prevents a runny pie. Once cooled, refrigerate the pie for at least 4 hours or overnight. This chilling time enhances the flavors and creates that perfect balance between fudgy filling and crunchy topping.

To serve, slice the pie into 8 equal wedges. Each slice should have a beautiful contrast of flaky crust, rich chocolate filling, and crunchy walnut topping. The pie keeps well in the refrigerator for up to 5 days, making it perfect for meal prep or special occasions.

👨‍🍳

Pro Tips For Making Hershey Chocolate Bar Pie

  • CHOP CHOCOLATE SMALL: Use a sharp knife and cut the Hershey’s bars into tiny, even cubes—about ¼-inch pieces. I learned this the hard way: bigger chunks melt unevenly and leave you with a pie that’s more "chocolatey spots" than smooth perfection.
  • MELT BUTTER SLOW: Warm the butter gently over low heat until it’s just melted but not browned—you’re making a custard, not caramel. After burning three batches, I finally realized rushing this step turns your filling into a grainy mess.
  • WHISK EGGS COLD: Mix the eggs and sugar over an ice bath while whisking—this keeps the eggs from scrambling. I was skeptical until I tried it: the custard stays silky, not lumpy, and sets up like a dream.
  • SKIP THE OVERBAKE: Pull the pie from the oven when the center is just set (a knife should come out clean but slightly wet). Let it cool completely—overbaking turns the chocolate filling into a dry, rubbery slab. (Yes, even if you’re impatient like me.)

Pro cooking tips for this recipe

Chocolate Melting Mastery

Melting the Hershey bars properly is the foundation of this pie. Chop them into ½-inch pieces before melting to ensure even heat distribution. Use a double boiler (saucepan with a heatproof bowl) or a microwave in 20-second bursts to avoid burning.

Stir constantly over medium heat until completely smooth—this prevents graininess in your filling. I like to add the corn syrup and cream first to help dissolve the chocolate faster. 🔥

Filling Consistency Check

The filling should be thick enough to coat the back of a spoon but still pourable. If it’s too thin, simmer for another 1-2 minutes; if too thick, whisk in 1 tablespoon warm cream at a time.

The eggs should be added off heat to prevent scrambling. I’ve ruined fillings by overheating—always test the temperature with your finger before adding eggs. Aim for 160°F internal temp.

Lattice Perfection

For a classic look, use a 9-inch pie dish. Roll out the second crust disk to 1/8-inch thickness. Cut strips with a pizza cutter or sharp knife—keep them 1-inch wide.

Weave them in a classic lattice by placing strips perpendicular to each other, overlapping slightly. Brush with beaten egg before baking to create a golden, crisp finish. 💫

Walnut Topping Secrets

Toast the walnuts in a dry skillet over medium heat for 3-4 minutes, stirring constantly, until fragrant. Mix with brown sugar and corn syrup while warm for better adhesion.

Spread the topping immediately before baking—it should stick to the lattice without sliding. For extra crunch, sprinkle with flaky sea salt.

Baking Temperature Control

Bake at 375°F, but watch closely after 30 minutes. The walnut topping should be golden in 10-15 minutes. If the crust browns too fast, cover edges with foil.

The filling is done when it’s set but still slightly jiggly—it’ll firm up as it cools. A toothpick inserted should come out with moist crumbs, not wet filling. ⏰

Cooling and Chilling

Let the pie cool completely on a wire rack for 1 hour. Then refrigerate for at least 4 hours. This chilling step is non-negotiable—it develops the fudgy texture and prevents a runny pie.

For best results, chill overnight. The contrast between warm filling and cold crust is what makes this pie unforgettable. 💡

Nutrition facts

Servings 8
Amount Per Serving
Calories 580kcal
% Daily Value *
Total Fat 36g46%
Saturated Fat 22g110%
Cholesterol 110mg37%
Sodium 210mg9%
Total Carbohydrate 62g22%
Dietary Fiber 3g11%
Sugars 50g
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

Can I substitute white chocolate for the Hershey bars?

While you can use white chocolate, it won't deliver the same rich, milk chocolate flavor that makes this pie special. For a closer match, blend equal parts milk and white chocolate chips, but expect a slightly lighter texture. The corn syrup in the recipe helps mimic Hershey's signature sweetness, so keep that ingredient if you're experimenting with substitutions.

2

Why does my pie filling look grainy after baking?

Graininess usually means the chocolate wasn't melted completely or cooled too quickly. Always melt chocolate gently over low heat or in short microwave bursts, stirring constantly. Let the filling cool slightly before adding eggs (around 160°F) and avoid overheating. For extra smoothness, whisk vigorously after mixing all ingredients.

3

Can I make this pie without a lattice crust?

For a simpler approach, roll out the second crust disk to cover the filling completely, then cut slits for steam to escape. Brush with egg wash and sprinkle with sugar. The walnut topping will still work perfectly—just spread it directly on the top crust. This version is great for beginners or when you're short on time.

4

How do I prevent the walnut topping from getting soggy?

Toast the walnuts until fragrant before mixing with sugar and corn syrup. Spread the topping immediately before baking and avoid overloading—use about 1.5 cups total. For extra insurance, chill the pie completely before serving. The lattice crust helps too, as it creates air pockets that keep the topping crisp.

5

What's the best way to reheat leftover slices?

For best results, serve pie at room temperature. If reheating is necessary, warm slices in a 350°F oven for 5-7 minutes or microwave for 10-15 seconds. Cover with a damp paper towel to prevent drying. The walnut topping may soften slightly, but the filling will retain its fudgy perfection.

★★★★★4.8(11 reviews)
Categories Desserts