Coffee Custard Pie with Cocoa Pastry Recipe
Introduction
This coffee custard pie combines a rich chocolate crust with a smooth, espresso-infused custard filling. It’s a delightful dessert that balances deep chocolate flavors with the comforting warmth of coffee, perfect for any special occasion or cozy night in.

Ingredients
- 1 cup (120 grams) all-purpose flour
- ¼ cup (28 grams) unsweetened cocoa powder
- ½ cup (56 grams) powdered sugar
- Pinch salt
- ½ cup (113 grams) unsalted butter, cold and diced
- 1 large egg
- 1 cup (227 grams) whole milk
- 1 cup (227 grams) heavy cream
- ⅓ cup (70 grams) packed brown sugar
- 1 heaping tablespoon espresso powder
- ¼ teaspoon kosher salt
- 2 large eggs
- 2 large egg yolks
- ⅓ cup (70 grams) granulated sugar
- 2 teaspoons vanilla extract
Instructions
- Step 1: Prepare the chocolate pastry by adding the flour, cocoa powder, powdered sugar, and pinch of salt to a food processor. Pulse to combine.
- Step 2: Add the cold, diced butter and pulse about 7 times until the mixture resembles coarse crumbs.
- Step 3: In a small bowl, whisk the egg. With the processor running, pour in the egg and process until the dough forms a cohesive ball.
- Step 4: Scrape the dough out, wrap it tightly in plastic wrap, and form it into a disk. Roll it out between two sheets of plastic wrap to seal tightly, then refrigerate for about 2 hours or overnight.
- Step 5: When ready, preheat the oven to 400ºF. Roll out the pastry on a lightly floured surface to an 11-inch circle. Transfer to a 9-inch pie plate, crimp edges, and line with parchment and pie weights (rice, beans, or lentils work well).
- Step 6: Bake the crust for 25 minutes. Remove parchment and weights, then bake for an additional 5 minutes. Set aside to cool.
- Step 7: Lower oven temperature to 325ºF to prepare the filling.
- Step 8: In a medium saucepan, heat the milk, cream, brown sugar, espresso powder, and kosher salt over medium heat until small bubbles form around the edges (about 120ºF).
- Step 9: In a separate bowl, whisk together the eggs, egg yolks, granulated sugar, and vanilla extract.
- Step 10: Temper the eggs by slowly whisking 1–2 cups of the warm milk mixture into the eggs, then gradually whisk the egg mixture back into the saucepan.
- Step 11: Cook gently for 2–3 minutes until the custard thickens slightly and reaches about 160ºF. To test, coat a wooden spoon with custard and draw a line with your finger; if it holds, it’s set.
- Step 12: Strain the custard through a fine mesh strainer twice to remove any cooked egg bits. Let it cool for 5 minutes, stirring occasionally.
- Step 13: Pour the warm filling into the cooled pie crust. Pop any bubbles on the surface.
- Step 14: Bake the pie on the middle oven rack for 35–40 minutes, until the custard is set about 2 inches from the edge but slightly wobbly in the center. The temperature should be around 180ºF.
- Step 15: Remove from the oven and cool on a rack. Refrigerate completely before serving.
- Step 16: Serve chilled with whipped cream and a dusting of powdered sugar for a perfect finish.
Tips & Variations
- For a deeper coffee flavor, use freshly brewed espresso in place of espresso powder.
- You can substitute half the cocoa powder in the crust with finely ground toasted nuts for added texture.
- If you don’t have pie weights, uncooked rice or dried beans work well for blind baking.
- Be careful not to overheat the custard or it will curdle; gentle whisking is key during tempering and cooking.
Storage
Store the pie covered in the refrigerator for up to 3 days. Reheat is not recommended as it may affect the custard’s texture. Serve chilled for the best flavor and consistency.
How to Serve

Serve this delicious recipe with your favorite sides.
FAQs
Can I make this pie in advance?
Yes, you can prepare the crust and custard ahead of time. Bake the crust and make the custard a day before, then assemble and chill the pie overnight.
What can I use if I don’t have espresso powder?
If you don’t have espresso powder, strong brewed coffee or instant coffee granules can be substituted. Use about 2 teaspoons of brewed coffee or 1 teaspoon of instant coffee dissolved in the cream mixture.
PrintCoffee Custard Pie with Cocoa Pastry Recipe
This Coffee Custard Pie features a rich chocolate pastry crust filled with a smooth, espresso-infused custard. The combination of bittersweet cocoa and bold coffee flavors creates a decadent dessert perfect for coffee lovers. The pie is baked to set the creamy custard inside a crisp chocolate crust, resulting in a satisfying contrast in textures.
- Prep Time: 20 minutes
- Cook Time: 1 hour 15 minutes
- Total Time: 1 hour 35 minutes plus chilling time
- Yield: 8 servings 1x
- Category: Dessert
- Method: Baking
- Cuisine: American
Ingredients
Chocolate Pastry:
- 1 cup (120 grams) all-purpose flour
- ¼ cup (28 grams) unsweetened cocoa powder
- ½ cup (56 grams) powdered sugar
- Pinch salt
- ½ cup (113 grams) unsalted butter, cold and diced
- 1 large egg
Coffee Custard Filling:
- 1 cup (227 grams) whole milk
- 1 cup (227 grams) heavy cream
- ⅓ cup (70 grams) packed brown sugar
- 1 heaping tablespoon espresso powder
- ¼ teaspoon kosher salt
- 2 large eggs
- 2 large egg yolks
- ⅓ cup (70 grams) granulated sugar
- 2 teaspoons vanilla extract
Instructions
- Prepare Chocolate Pastry: In the bowl of a food processor, combine the flour, cocoa powder, powdered sugar, and salt. Pulse until ingredients are well mixed. Add the cold, diced butter and pulse about 7 times until the mixture resembles coarse crumbs.
- Add Egg to Form Dough: In a small bowl, whisk the egg. With the food processor running, slowly pour the egg into the mixture until the dough comes together into a cohesive ball.
- Shape and Chill Dough: Scrape the dough onto a piece of plastic wrap, form into a disk, and wrap tightly. Using a rolling pin, press the dough out to the edges of the plastic wrap to maintain a tight seal. Refrigerate for about 2 hours or overnight.
- Blind Bake the Crust: Preheat oven to 400ºF. On a lightly floured surface, roll out dough into an 11-inch circle and transfer to a 9-inch pie plate. Crimp edges as desired. Line with parchment paper and fill with pie weights or dry beans. Bake for 25 minutes, then remove weights and parchment; bake for an additional 5 minutes. Set aside to cool.
- Lower Oven Temperature: Reduce oven heat to 325ºF to prepare for custard baking.
- Heat Milk Mixture: In a medium saucepan, combine milk, cream, brown sugar, espresso powder, and salt. Heat over medium until small bubbles form around the edges (approximately 120ºF).
- Mix Eggs and Sugar: In a separate bowl, whisk together eggs, egg yolks, granulated sugar, and vanilla extract until smooth.
- Temper the Egg Mixture: Slowly pour 1-2 cups of the warm milk mixture into the eggs while whisking continuously to prevent curdling. Then gradually pour the egg mixture back into the saucepan with the remaining milk mixture, whisking gently.
- Cook Custard: Cook over medium heat, stirring constantly, until the mixture thickens slightly and reaches about 160ºF. To test, coat the back of a wooden spoon and draw a line: if it holds, custard is ready. Avoid boiling to prevent overcooking.
- Strain Custard: Pour the custard through a fine mesh strainer twice to remove any cooked egg bits. Allow to cool for about 5 minutes, stirring occasionally to release steam.
- Fill Pie Crust: Pour the warm custard into the baked and cooled chocolate crust. Pop any bubbles on the surface to ensure a smooth finish.
- Bake the Pie: Place pie on the middle rack and bake for 35 to 40 minutes. The custard should be set about 2 inches from the edge and slightly wobbly in the center, reaching an internal temperature of 180ºF.
- Cool and Refrigerate: Remove pie from oven and cool on a rack. Once completely cooled, refrigerate until ready to serve.
- Serve: Serve the pie chilled with whipped cream and a dusting of powdered sugar for an extra touch of sweetness and presentation.
Notes
- For best results, chill the dough overnight to improve texture and flavor.
- Do not dock the pie dough before baking to maintain crust integrity during blind baking.
- Use a food processor to efficiently combine the pastry ingredients and achieve a tender crust.
- Be careful not to overheat the custard; temperatures above 160ºF can cause curdling.
- Straining the custard ensures a silky smooth texture and removes any cooked egg bits.
- The custard will continue to set as it cools, so slight wobbliness in the center after baking is normal.
- Allow pie to chill fully in the refrigerator before slicing to achieve clean cuts and optimal texture.
Keywords: coffee custard pie, chocolate crust pie, espresso custard pie, baked custard dessert, coffee dessert

