Shoofly Pie Recipe: Molasses Custard Pie

Updated November 22, 2026

Total time
1 hr 20 min
prep 25 min · cook 55 min
Serves
8
portions as written

Jump to recipe

Shoofly pie is a classic Pennsylvania Dutch dessert with a gooey, molasses-based bottom layer and a crumbly, streusel-like topping. It’s a surprisingly simple pie that balances the deep, slightly bitter flavor of molasses with a sweet, buttery crumb. This recipe produces a traditional “wet-bottom” shoofly pie, which is the most beloved version, with a soft, sticky filling that contrasts beautifully with the crisp crumb topping.

Ingredients

  • 1 unbaked 9-inch (23 cm) pie crust (homemade or store-bought)
  • 1 cup (125 g) all-purpose flour
  • 2/3 cup (135 g) packed light or dark brown sugar
  • 1/2 teaspoon ground cinnamon
  • 1/4 teaspoon salt
  • 1/4 cup (55 g) cold unsalted butter, cut into small pieces
  • 1/2 cup (170 g) molasses (not blackstrap)
  • 1/2 cup (120 ml) boiling water
  • 1/2 teaspoon baking soda
  • 1 large egg, lightly beaten
  • 1 teaspoon vanilla extract

Instructions

  1. Preheat your oven to 375°F (190°C). Place the unbaked pie crust in a 9-inch (23 cm) pie pan, crimp the edges, and refrigerate while you prepare the filling.
  2. In a medium bowl, mix the flour, brown sugar, cinnamon, and salt. Add the cold butter pieces and use your fingers or a pastry blender to work the butter into the dry ingredients until the mixture resembles coarse crumbs. Set aside.
  3. In a separate large bowl, combine the molasses and boiling water. Stir until the molasses is fully dissolved. Add the baking soda and stir well – the mixture will foam up slightly. Let it sit for 1 minute.
  4. Whisk the beaten egg and vanilla into the molasses mixture until smooth.
  5. Pour the liquid filling into the chilled pie crust. It should fill the crust about three-quarters full.
  6. Sprinkle the crumb topping evenly over the filling. It will sink partially and form a crust as it bakes.
  7. Bake for 15 minutes at 375°F (190°C), then reduce the oven temperature to 350°F (175°C) and bake for an additional 40-45 minutes, until the top is deep golden brown and the center is set but still slightly jiggly.
  8. Remove from the oven and cool completely on a wire rack, at least 2 hours, before slicing. The filling will thicken as it cools.

Tips

  • Use regular molasses, not blackstrap. Blackstrap is more bitter and less sweet, which will make the pie taste harsh. If you only have blackstrap, use 1/3 cup (115 g) blackstrap and 1/4 cup (60 ml) light corn syrup or maple syrup to balance the flavor.
  • Chill your pie crust. A cold crust holds its shape better and doesn’t shrink during baking. If you’re using a store-bought crust, keep it in the fridge until the last minute.
  • Don’t overmix the crumb topping. You want some larger crumbs for texture. Overworking the butter will make the topping dense and greasy.
  • Check for doneness. The center should be slightly jiggly when you shake the pie – it will set as it cools. Overbaking can cause the filling to crack and become tough.

Serving Suggestions

Shoofly pie is delicious on its own, but it’s even better with a dollop of lightly sweetened whipped cream or a scoop of vanilla ice cream. The creamy coolness contrasts nicely with the sticky, rich filling. A cup of strong black coffee or black tea is the traditional accompaniment, as it cuts through the sweetness.

Variations

  • Dry-bottom shoofly pie: For a firmer, more cake-like texture, increase the flour to 1 1/4 cups (155 g) and reduce the molasses to 1/3 cup (115 g). Bake as directed – the filling will be less gooey.
  • Add spices: Add 1/4 teaspoon of ground ginger or nutmeg to the crumb topping for extra warmth.
  • Chocolate shoofly pie: Stir 2 tablespoons (15 g) of unsweetened cocoa powder into the flour mixture for a chocolate-molasses twist.
  • Gluten-free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture will be slightly more tender.

Storage and Reheating

Store leftover shoofly pie loosely covered at room temperature for up to 2 days, or in the refrigerator for up to 4 days. The filling will firm up when chilled – let it sit at room temperature for 20 minutes before serving. To reheat, place a slice on a baking sheet and warm in a 300°F (150°C) oven for 5-8 minutes, or microwave for 15-20 seconds. Avoid reheating the whole pie, as it can make the crust soggy.

Frequently Asked Questions

Why is it called shoofly pie?
The name’s origin is disputed. Some say it comes from the need to shoo flies away from the sweet, sticky pie while it cooled on the windowsill. Others suggest it may be a corruption of an old French or German word. There’s no definitive answer, but the name has stuck since the late 19th century.

What’s the difference between wet-bottom and dry-bottom shoofly pie?
Wet-bottom has a gooey, custard-like layer that remains soft and sticky after baking. Dry-bottom is firmer and more cake-like, with less molasses and more flour. This recipe makes a wet-bottom, which is the most common and loved version.

Can I use a store-bought pie crust?
Yes, a store-bought crust works perfectly to save time. Just make sure it’s unbaked and thawed if frozen. You can also use a graham cracker crust for a different twist, though it’s not traditional.

Why did my filling overflow?
This can happen if you overfill the crust or if the baking soda reacts too vigorously. Make sure you only fill the crust three-quarters full, and don’t skip the 1-minute rest after adding the baking soda – it allows the foam to settle before baking.

Can I freeze shoofly pie?
Yes, you can freeze the baked, cooled pie for up to 3 months. Wrap it tightly in plastic wrap and then foil. Thaw in the refrigerator overnight and serve at room temperature or reheat slices as directed.

What molasses is best?
Use unsulphured, mild or robust molasses (often labeled “original” or “full flavor”). Avoid blackstrap, which is too bitter for this pie. If you’re unsure, choose a mild molasses for a sweeter, milder result.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).