Desserts
This Hershey chocolate pie filling recipe delivers the rich, fudgy texture you crave without the fuss of homemade chocolate bars. The secret lies in melting the chocolate properly and balancing sweetness with cornstarch for that signature swirl—no overmixing required.
I perfected this version after burning through three batches that either separated or turned grainy, and now it’s foolproof every time.
The filling comes together in just 15 minutes with simple pantry staples: Hershey’s milk chocolate, butter, sugar, and a touch of cornstarch to thicken it just right. No special equipment needed—just a saucepan, whisk, and pie crust of your choice.
The result is a velvety, swirled filling that’s thick enough to hold its shape but still creamy enough to melt in your mouth.
Once baked, you’ll have a pie with a fudgy, crackly top and a smooth, rich center that tastes like a cross between a chocolate pudding and a molten lava cake.
The crust stays crisp while the filling stays gooey, making every slice worth the wait. Serve with whipped cream or a sprinkle of chocolate shavings for that restaurant-quality finish.
This recipe scales perfectly for single servings or a crowd, and leftovers reheat beautifully—just warm them gently to restore that creamy texture. Whether you’re hosting dessert night or craving a classic treat, this pie delivers restaurant-quality results with minimal effort. Let’s get started!
Ingredients for hershey chocolate pie filling
Pantry staples and chocolate bars—just 12 oz of magic for fudgy perfection.
| Ingredient | Amount | Notes |
|---|---|---|
| Hershey's Milk Chocolate Bars 🍫 | 12 oz | High-quality, not chips |
| Unsalted Butter 🧈 | ½ cup | Cold, cut into pieces |
| Granulated Sugar 🍚 | ¾ cup | White or light brown |
| Cornstarch 🌾 | ¼ cup | For smooth texture |
| Heavy Cream 🥛 | ½ cup | Cold, full-fat preferred |
| Vanilla Extract 🌿 | 1 tsp | Pure, not imitation |
| Salt 🧂 | ¼ tsp | Fine sea salt |
| Pie Crust 🥧 | 1 whole | Store-bought or homemade |
| Whipped Cream 🧇 | ½ cup | Optional for serving |
| Dark Chocolate Shavings 🍫 | ¼ cup | For garnish |
| Milk 🥛 | ¼ cup | For thinning if needed |
| Aluminum Foil 📄 | 1 sheet | For covering pie |
The chocolate matters most here. Hershey’s milk chocolate bars (the classic ones, not chips) are perfect—they melt smoothly and have that signature Hershey’s flavor. Grab a family-size bar from Walmart or Target; they’re cheaper than individual bars and just as good. Butter should be cold—cold butter prevents graininess when melting. If you’re using store-bought pie crust, pre-bake it for 10 minutes before adding filling to avoid a soggy bottom. For sugar, white or light brown both work, but light brown adds a subtle caramel note if you prefer depth.
No cornstarch? Arrowroot powder at the same amount works in a pinch, but cornstarch gives that classic pie filling thickness. Short on heavy cream? Half-and-half or whole milk will work, but the filling may be slightly thinner. The vanilla extract is non-negotiable—imitation vanilla has a chemical aftertaste. For the pie crust, if you’re making it from scratch, use all-purpose flour and lard or butter for that classic flaky texture. No whipped cream? Cool the filling slightly and fold in chilled mashed potatoes for a lighter topping.
This filling keeps beautifully. Fridge for 3-4 days in an airtight container, or freeze for up to 3 months—just thaw overnight in the fridge before reheating. To reheat, warm gently in the microwave with a damp paper towel over it to restore creaminess. The pie reheats best at 300°F for 10 minutes if you prefer oven warmth. Garnish with chocolate shavings right before serving—they melt too fast once added. Portion into individual ramekins for single servings, or bake in a full pie dish for sharing.
Why You'll Love This Recipe
- Here’s what sold me: that first bite of melted chocolate with the creamy texture? It’s like a hug in dessert form. The heavy cream adds decadence without needing whipped toppings or extra layers—just pure, velvety satisfaction.
- I’ll be real: this costs pennies per serving. Hershey’s bars are cheap, and the other ingredients? Pantry staples. But it tastes like a $20 chocolate shop treat—no guilt, all flavor. Leftovers? Freeze them for weeks.
Step-by-step instructions for Hershey chocolate pie filling
Here's the method for creating that signature fudgy, swirled filling using only 15 minutes of active time.
Melt Chocolate and Butter Together
In a medium saucepan, combine the 12 oz Hershey's Milk Chocolate Bars and the 0.5 cup Unsalted Butter. Place the saucepan over medium heat and stir constantly with a silicone spatula until both ingredients melt completely and form a smooth mixture. You'll know it's ready when the chocolate fully dissolves and the butter incorporates without any graininess.
Here's the thing—don't walk away. Chocolate can separate if you let it boil, and you want that silky texture. Once fully melted, remove the pan from heat and immediately stir in the 0.75 cup Granulated Sugar and 0.25 cup Cornstarch. This creates a stable base for your filling while preventing graininess. Let the mixture sit for 2 minutes to allow the cornstarch to begin thickening slightly.
Cook the Filling to Thickening Point
Return the saucepan to medium heat and add the 0.5 cup Heavy Cream and 0.25 cup Milk. Stir constantly with a wooden spoon, scraping the bottom and sides to prevent sticking. You'll notice the mixture begin to bubble gently—this is when the cornstarch activates fully. Cook for 3-4 minutes until the filling thickens enough to coat the back of a spoon when you run it through the mixture.
This is the moment that matters: the filling should be thick but still pourable, not completely set. If it thickens too quickly, add 1 tablespoon of milk at a time until you reach the right consistency. Remove from heat immediately once it reaches this stage—overcooking will make it grainy. Stir in the 1 tsp Vanilla Extract and 0.25 tsp Salt while still warm to allow the flavors to meld.
Prepare and Assemble the Pie
While the filling cools slightly (about 5 minutes), prepare your 1 whole Pie Crust by pressing it into a 9-inch pie dish. I like to chill the crust for 15 minutes beforehand to prevent shrinking. Pour the cooled filling into the crust, spreading it evenly with a spatula. The filling should be thick enough to hold its shape when poured but still smooth.
For that classic swirl effect, use a rubber spatula to create gentle circular motions in the filling while it's still warm. The heat helps create those beautiful marbled patterns. Cover the pie with the 1 sheet Aluminum Foil and refrigerate for at least 2 hours, or until completely set. This chilling time is crucial—it allows the filling to firm up properly without cracking.
Serve with Garnishes
Once fully chilled, remove the pie from the refrigerator and let it sit at room temperature for 10 minutes before serving. This brief warm-up makes the filling more pliable and easier to slice. Top with the 0.5 cup Whipped Cream and 0.25 cup Dark Chocolate Shavings just before serving for that restaurant-quality presentation.
Real talk: the whipped cream should be added right before serving to maintain its light texture. The dark chocolate shavings add a beautiful contrast and extra chocolate flavor with each bite. For an even more decadent touch, warm the pie slightly in the oven before serving—this enhances the fudgy texture without melting it completely.
Pro Tips For Making Hershey Chocolate Pie Filling
- CHOP CHOCOLATE SMALL: I learned this the hard way—big chunks of Hershey’s bars sink to the bottom and turn your filling into a lumpy mess. Use a sharp knife or food processor to chop the bars into pea-sized pieces before melting, so they dissolve evenly into the cream.
- WHISK HOT CREAM FAST: After burning three batches, I finally figured out that heavy cream needs to hit a rolling boil before mixing with cornstarch. Bring it to a full simmer first—then whisk in the sugar and cornstarch all at once to avoid clumping.
- SKIP THE BOIL-OVER: Sounds weird, but it works: Once the chocolate mixture thickens, immediately remove it from heat. Let it sit for 1–2 minutes off the stove—this cools it enough to prevent a sticky, overflowing disaster when you pour it into the pie crust.
- SWAP CREAM FOR HALF-AND-HALF: I was skeptical until I tried it: Replace half the heavy cream with whole milk or half-and-half for a lighter, less rich filling that still sets properly. Works especially well if you’re worried about the pie being too dense.
Essential equipment for hershey chocolate pie filling
Essential Saucepan
A medium-sized stainless steel saucepan (like the All-Clad Stainless Steel Saucepan) is your best friend for this recipe. The stainless steel conducts heat evenly, preventing hot spots that can cause chocolate to burn.
I’ve burned chocolate in nonstick pans—it’s a nightmare to salvage. A 3-quart capacity is ideal for this recipe, giving you enough room to stir without spills. 🔥
Whisk or Silicone Spatula
Use a heat-resistant silicone spatula (I love the OXO Good Grips Silicone Spatula) for stirring the melted chocolate and butter. Silicone won’t scratch your pan like metal utensils, and it’s flexible enough to scrape every last bit of filling from the sides.
For the cornstarch mixture, a balloon whisk (like the Cuisinart Balloon Whisk) ensures smooth incorporation without lumps. 💫
Wooden Spoon
A wooden spoon (preferably maple or cherry wood) is perfect for stirring the filling during the thickening phase. Wood absorbs minimal heat, so it won’t scorch like plastic or melt like some silicone tools.
I keep one dedicated to chocolate recipes—it’s worth the investment for that silky texture. Avoid metal spoons after melting chocolate, as they can cause separation. ✨
Pie Dish and Crust Tools
For the crust, a 9-inch glass or ceramic pie dish (like Pyrex) is ideal because it conducts heat evenly and makes slicing easier. If using a homemade crust, a rolling pin (I prefer the Norpro Premium Rolling Pin) and pie weights or dried beans help prevent shrinking.
For store-bought crusts, a pastry brush (like the OXO Good Grips Pastry Brush) comes in handy for sealing edges with egg wash. 🥧
Thermometer for Precision
A candy or instant-read thermometer (I recommend the Thermoworks Thermapen ONE) ensures your filling reaches the perfect 160-170°F before removing from heat. This prevents overcooking, which can turn your filling grainy.
No thermometer? Test the consistency by running a spoon through it—it should coat the back smoothly but still be pourable. 🌡️
Optional: Stand Mixer
If you’re making this filling in larger batches (like for a 9x13-inch pan), a stand mixer with the flat beater attachment (like the KitchenAid Artisan Series) saves time and effort.
Mix on medium speed for 1-2 minutes after adding the cornstarch to ensure even distribution. Just be sure to scrape down the sides frequently to avoid lumps. 💪
Nutrition facts
Frequently asked questions
Can I make this Hershey chocolate filling without cornstarch?
Cornstarch is key for that signature thick, creamy texture—but if you're out, try arrowroot powder at the same amount. Without it, your filling will be thinner and may not set properly in the pie. For a quick fix, whisk 1 tablespoon of cold water with 1 tablespoon cornstarch before adding to the pot to prevent lumps.
Why did my chocolate filling turn grainy?
Graininess usually means you overcooked the filling or didn't stir constantly while melting the chocolate. Always keep heat on medium-low and stir with a silicone spatula. If it happens, whisk in 1 tablespoon of heavy cream and reheat gently to restore smoothness.
How do I adjust this recipe for a smaller or larger pie?
For a 6-inch pie, halve all ingredients. For a 9x13-inch pan, double the recipe but use 2 cups of heavy cream. The key is maintaining the same ratio of chocolate to cornstarch (4:1) to keep the texture perfect.
Can I bake this pie ahead of time?
Bake the pie 1 day ahead and store it covered at room temperature. Refrigerate for up to 3 days—just let it sit at room temp for 30 minutes before serving to restore the fudgy texture. For best results, add whipped cream just before serving.
What's the best way to reheat leftover filling?
Microwave 20-second bursts with a damp paper towel over the filling to prevent drying. For oven reheating, warm at 300°F for 10 minutes until gooey. Never microwave uncovered—it'll dry out and lose that creamy consistency.
