If you’re looking for a homemade chocolate pie recipe that’s rich, silky, and made completely from scratch, well this one’s for you. No box-mixes or shortcuts, I’ll show you how to make a smooth, homemade chocolate pudding topped with a cloud of fresh whipped cream. It’s also a great make-ahead option that’s even better the next day. Recipe includes a how-to video!

Classic Chocolate Pie (From Scratch, No Box Mix!)
A true classic, I feel a good chocolate pie recipe is often overshadowed by holiday heavy-hitters like my pumpkin pie and my pecan pie recipe. But one bite, and you’ll wonder how anyone could overlook this masterpiece. It’s everything a great pie should be: rich, silky, decadent with a sliceable texture somewhere between a custard and a pudding.
Why This Chocolate Pie Recipe WORKS
- No box mixes or shortcuts. I’m sharing all my tips and tricks to make a real, indulgent and homemade chocolate pudding filling from scratch, and also link to my (favorite) flaky, buttery and homemade pie crust. When it’s done chilling, I suggest you take it a step further and serve with a dollop of homemade whipped cream!
- Sets perfectly so it’s sliceable (not scoopable!). The secret’s in just the right ratio of cream to milk, cooking low and slow until the filling til perfectly thickened, and chilling the pie for several hours to overnight.
- Real chocolate, not just cocoa. Melted chocolate adds body, stability, depth, and silky, melt-in-your-mouth finish that you just can’t get from cocoa powder.
- Perfect for making in advance. The pie will need to chill in the refrigerator for at least 6 hours before serving, making this an ideal dessert to prep a day ahead of time (I love doing this for Thanksgiving!).
Ingredients

- Chocolate. Opt for dark chocolate (my favorite, I love the slightly more bitter notes of a 60% or even 72% bar) or semisweet (for a sweeter pie). While chocolate chips will work in a pinch, for best flavor and texture I recommend using a quality chopped chocolate bar.
- Granulated sugar. This not only serves as a sweetener, but it also melts as the pudding filling cooks, ultimately thickening the pie and contributing to its silky smooth and sliceable texture.
- Cornstarch. While many chocolate pie recipes use flour as a thickener, cornstarch thickens without the pasty heaviness you can sometimes get from flour.
- Eggs. You’ll need five egg yolks for this recipe. Save the whites to make meringues, Oreo cake, a few batches of candied pecans, or put them towards an angel food cake!
- Milk & heavy cream. A blend of whole milk and richer, thicker cream is another contributor to a silky smooth, yet sturdy pie. Stick with whole milk and heavy cream, double cream, or heavy whipping cream for this recipe.
- Butter. I use unsalted butter and add salt separately. We’ll add this along with the chocolate after cooking; it adds the final finishing touch and contributes to a glossy consistency and smooth texture.
This is just an overview of the ingredients I used and why. For the full chocolate pie recipe please scroll down to the bottom of the post!
How to Make Chocolate Pie
I recommend prepping all of your ingredients before you move over to the stovetop–things move pretty quickly after cooking! Chop your chocolate and butter, measure your vanilla, and place your strainer in your heatproof bowl before you even turn on the stove.

- Step 1: Cook the filling. Add the dry ingredients to a heavy-bottomed saucepan and whisk until combined. Whisk together the egg yolks, milk, and cream in a separate liquid measuring cup, then slowly pour into your cornstarch mixture. Whisk again until you have a smooth, lump-free consistency. Cook over medium heat, whisking frequently, until thickened.

- Step 2: Add the butter, chocolate, and vanilla. Remove from heat and whisk in the chocolate, butter, and vanilla until you have a smooth, glossy chocolate mixture.

- Step 3: Pour into the (cooled) crust. Pour the custard through a fine mesh strainer into a heatproof bowl. This will catch any lumps or any tiny bits of egg, ensuring your chocolate pie is smooth! After straining, pour the filling into your prepared crust.

- Step 4: Cover and chill. Smooth the top of your pie with the back of a spoon or spatula, then press a piece of plastic wrap against the surface (this prevents a skin from forming). Place in the fridge to chill for at least 6 hours before topping with whipped cream and serving.

Frequently Asked Questions
This can happen for several reasons: if the cooking process was rushed, if the filling wasn’t carefully watched and stirred frequently, the filling was overcooked, the stovetop heat was too high, or if the pie isn’t given enough time to chill. Any ingredient substitutions could also result in a runny chocolate pie.
To prevent this, make sure you go slow, stir often, keep a watchful eye, and always chill for at least six hours before serving.
While both are incredibly rich and chocolatey (and even use similar ingredients), they’re actually quite different desserts. Traditional chocolate pie is thickened on the stovetop with egg yolks and cornstarch (or, sometimes, flour) and the resulting custard has a dense but creamy pudding-like texture. Alternatively, French silk pie has a lighter, silkier texture thanks to the fact it’s made with heavy cream that’s been whipped to stiff peaks. French silk pie is also often made with raw eggs, but in my French silk pie recipe I cook them so you can enjoy without worry.
Unfortunately I don’t recommend it. The chocolate pudding filling doesn’t always thaw nicely and can end up watery or grainy. I recommend keeping the pie refrigerated and enjoying within 3 days of preparing.

Tips & Troubleshooting
- Don’t rush it. Cooking the filling takes time. Do not crank up your heat to speed up the cooking process! The sugar needs to melt slowly so that the pie sets properly, and cooking it too fast will end up cooking your eggs (similar to what can happen to pastry cream or banana pudding). Have patience!
- Do use a heavy-bottomed saucepan. Or at least don’t use a thin, flimsy one. The thicker bottom helps keep the filling from over-heating and allows you to gently cook the eggs for a perfectly thick, silky, chocolate pie filling. I linked to one of the pans I often use in the recipe card, or an enameled cast iron saucepan is another good choice.
- Mise en place. Prepare/measure all of your ingredients before you begin. Have your heatproof bowl and fine mesh strainer ready to go. Once the chocolate pie filling thickens, you need to move quickly so the filling doesn’t overcook, so be ready!
- If your filling is too runny. It just needs more time to cook! Keep whisking until the mixture is thickened and starts to bubble. Exactly how long this takes will vary from kitchen to kitchen, but if it’s been over 15 minutes and nothing is happening, it’s OK and even advisable to turn up your heat a little bit!
- If your filling turned grainy or is too thick. Unfortunately the filling was likely cooked too much or on a heat that was too high, causing the eggs to cook. Next time keep the heat lower and stir frequently to keep the chocolate pie filling from getting too hot.
- Crust options. I love my classic pie crust, but you can swap this for a sourdough pie crust or make things easier with a graham cracker crust or an Oreo crust. Note that if you are using a store-bought crust, the filling may not all fit in and you may have some filling left over. Just enjoy it with a spoon!
More Indulgent Chocolate Recipes
Check out my full collection of pie recipes for more incredible slices!
Enjoy!
Let’s bake together! Watch my step-by-step pie recipe below 💜

Chocolate Pie Recipe (Blue Ribbon Winner!)
Ingredients
- 1 prepared (baked) 9" pie crust click the link for my homemade recipe, see note 1
- 1 ½ cups (300 g) granulated sugar
- 5 Tablespoons (40 g) cornstarch
- ¼ teaspoon salt
- 5 large egg yolks² (see note 2 for recipes that you can make with your leftover egg whites)
- 2 cups (473 ml) whole milk
- 1 cup (236 ml) heavy cream
- 6 oz (170 g) dark chocolate bar³ finely chopped
- 4 Tablespoons (56.5 g) unsalted butter cut into pieces
- 1 ½ teaspoon vanilla extract
- 1 batch homemade whipped cream for topping. Optional but recommended. click the link for my recipe
Recommended Equipment
Instructions
- In a medium-sized, heavy-bottomed saucepan, whisk together sugar, cornstarch and salt.1 ½ cups (300 g) granulated sugar, 5 Tablespoons (40 g) cornstarch, ¼ teaspoon salt
- In a separate bowl or large measuring cup, whisk together egg yolks, milk, and heavy cream until well-combined and egg yolks are well broken up.5 large egg yolks², 2 cups (473 ml) whole milk, 1 cup (236 ml) heavy cream
- While whisking the dry ingredients, drizzle the egg yolk mixture into the dry ingredients until completely combined.
- Transfer saucepan to stovetop over medium heat and whisk frequently until ingredients begin to thicken⁴ (see note 4, this will take several minutes, do not crank up the heat or your filling may not thicken properly).
- Once mixture has thickened (it should have a pudding-like consistency) whisk constantly, remove from heat and immediately add chopped chocolate, butter, and vanilla extract. Stir until chocolate and butter are completely melted and mixture is smooth.6 oz (170 g) dark chocolate bar³, 4 Tablespoons (56.5 g) unsalted butter, 1 ½ teaspoon vanilla extract
- Pour pie filling through a fine mesh strainer into a medium-sized heatproof bowl.
- Pour filling over prepared pie crust and place a piece of clear wrap or parchment paper directly against the surface of the chocolate to prevent a skin from forming on the surface of the pie as it cools. Allow to chill in the refrigerator at least 6 hours or overnight before slicing and serving.1 prepared (baked) 9" pie crust
- Top with whipped cream just before serving. I like to use an Ateco 848 or Wilton 2D tip to decorate the pie slices in the photo, but a big mound of whipped cream right on top of the pie works just as well!1 batch homemade whipped cream
Notes
¹Pie crust
This recipe was written to be made with my prepared (blind-baked) homemade pie crust in a 9 or 9.5″ pie plate. You may instead make this recipe using my graham cracker crust or Oreo crust or use a store-bought crust but keep in mind they are often smaller and may not fit all of the filling. You can pour the excess into mini tart shells or just enjoy as a pudding.²Recommendations for leftover egg whites
If you don’t want to waste your egg whites, store them in a clean, completely dry and grease-free container and use them to make meringue cookies, white cake, or coconut macaroons!³Chocolate
A 60 or 70% cacao bar works great and is my preference, I often use Ghirardelli which is available right next to the cocoa powder in the baking section. While chocolate chips will work in a pinch, I really recommend using a quality chocolate bar that you enjoy the taste of. Semisweet chocolate will yield a pie that’s sweeter and not as richly chocolate. I don’t recommend using unsweetened chocolate, which could make the pie too bitter. This recipe has not been tested using cocoa powder instead of chocolate.⁴Thickening the pie filling
It’s important that you have patience for this step, slowly thickening over medium heat is key to allow the sugars to melt properly and the filling to thicken properly. The filling should be clearly thickened before moving on to the next step and should be thick enough to coat the back of a spoon or spatula. I demonstrate this above in the post and in my video.Storing
Cover with plastic wrap and store in the refrigerator for up to 4 days. I don’t recommend freezing, as the filling can turn grainy or watery once it thaws.Nutrition
Nutritional information is based on third-party calculations and should be considered an estimate only. Actual nutritional content will vary based upon brands used, measuring methods, cooking method, portion sizes, and more.










Kat
Can I use Soy milk instead of whole milk?
Sam
I haven’t tried with Soy but I would be concerned that it wouldn’t thicken properly, sorry Kat!
Sugar Spun Run
Hello, Kat! I have not tried it, so, unfortunately, I can not advise. If you do try it, let me know how it works out. ๐
S L
This recipe didn’t set for me at all. It’s more like chocolate milk.
Sam
Unfortunately that means it wasn’t cooked long enough or the mixture was heated too quickly (see notes in steps 3 & 4).
Leslie Bleau
Dark chocolate like Bakers unsweetened or like Hershey chocolate candy bar?
Sugar Spun Run
Hello, Leslie! A 60 or 70% cacao bar works great, I often use Ghirardelli which is available right next to the cocoa powder in the baking section. ๐
Sheryl
Hello, do I have to use dark chocolate? Does milk chocolate or semi sweet work?
Thank you๐ค
Sugar Spun Run
Hi Sheryl! Semisweet would work but the pie wouldnโt have quite the depth of chocolate flavor that using dark chocolate would.
Sheryl Ross
Thank you!
Rebecca
Can you use an oreo crust instead of the pie crust?
Kate
The pie tastes amazing, thank you so much for the recipe! <3 I have a question though, do you think the filling would work in a roll cake? Or would it be too runny for it?
Sam
Hi Kate! I think this wouldn’t make for a great cake roll filling, it’s just too soft (like a pudding). How about my chocolate frosting or chocolate cream cheese frosting instead? Or even ganache?
I am glad you enjoyed the pie!
Angel
do you add the milk, egg yolks, and heavy cream in the same saucepan as the sugar?
Sugar Spun Run
Hello, Angel. Yes, you do. I hope that you enjoy the pie! ๐
Janet P.
Hey again! I hope you and your husband are able to get some sleep with a new baby in the house. Sleep is so important right? I’m going to make this pie for Thanksgiving. I was wondering if you got any clumps when you made the pie. I just wanted to save a little time by skipping the step of pouring the pie filling through a fine mesh sieve. If it’s vital that I should I will. Ghirardelli is my favorite chocolate also. I’m definitely going to make the ganache to pour over the top because it looks amazing in the picture that you took. I hope you and your family has a great Thanksgiving and Christmas. Thank you for all of the wonderful recipes.
Sam
Hi Janet! So generally I don’t have any clumps but I make this pie quite a bit. I think it’s worth the effort just in case you end up getting a bit of cooked egg white in the filling, that would be a bit unpleasant in the otherwise silky-smooth texture of the pie.
Thank you so much for your kind words!
Cheryl
I noticed a drizzle of chocolate over the pie in some pics. Die you just melt semisweet chocolate or?
Sam
This was just chocolate sauce I happened to have in my fridge, but a drizzle of semisweet chocolate or even ganache (maybe especially ganache) would be a great addition!
Alex
Do you know if this could be Frozen? I want to make it ahead for Thanksgiving.
Sam
I’m not sure, Alex, I’m sorry! I’m a little worried that the texture would deteriorate in the freezer, unfortunately ๐
Jodi Mueller
Can you useCocoa powder in it?
Sam
Hi Jodi, I haven’t tried with cocoa powder. I think a little more tweaking of the recipe would be necessary to get the texture just right.
barb donovan
it didn’t turn out for me, i let it boil one minute then added chocolate, butter and vanilla, going to try it again now, it’s runny
Sam
Hi Barb! I’m sorry that happened. Make sure it thickens before it comes to a boil. If it didn’t thicken before it comes to a boil it would be runny. I hope it turns out better next time. ๐
Telena Keillor
Once I poured the filling in the crust I scraped the side of the sauce pan with my spatula just to try the filling and OMG!!!!!! This is so delicious! I followed the recipe and instructions with the exception of using the chocolate I had on hand: 4.3 oz of mini semi-sweet chips, 1 oz of a 100% cocoa baking bar and 7 oz of milk chocolate chips.
Thank you for sharing this yummy recipe! Will be making again soon:)
Sugar Spun Run
Thank you so much, Telena! I am so glad that you enjoyed the chocolate pie. ๐
Ann Watson
What kind of dark chocolate? Unsweetened? Semi-sweet?
Sam
Hi Ann! I like to use Ghirardelli 60% cacao baking bars. Semisweet would work but the pie wouldn’t have quite the depth of chocolate flavor that using dark chocolate would, and unsweetened chocolate would make it too bitter.
Moriah
Hello! I haven’t made this recipe yet, but i want to make it as something special for my boyfriend. But! I wanted to consider adding candied pineapple to it. Only because his favourite fruit is pineapple and i want to do something really special – not because i think the recipe needs any editing at all. So, first, i have no idea if this would even be good. And second, if i were to do this, i think a good way would be to use dark chocolate so it’s bitter mixed with sweet and bright. And id want to really crush the pieces up so it’s smooth. I hope you don’t mind my idea, but I’ve put it through to ask for your opinion on my idea’s success. Thank you!
Sam
Hi Moriah! It sounds interesting and a little adventurous. I’m not sure how it would turn out if you incorporated them into the chocolate pie. My best recommendation would be to put them on top as a garnish. ๐