The Feast

Home cooking recipes for everyday dinners and easy entertaining

Chocolate Peanut Butter Pie Cupcakes Recipe

· 6 min read · Baking and Desserts

These cupcakes combine a fudgy chocolate cake base with a creamy peanut butter pie filling and a chocolate ganache topping, yielding 12 standard cupcakes in about 1 hour 15 minutes total (20 minutes prep, 25 minutes bake, 30 minutes cooling and assembly). The filling is a no-bake peanut butter mousse that sets inside the cupcake after a quick chill. Use a 12-cup standard muffin tin and line it with paper liners.

What Makes the Filling Set Like Pie Filling?

The filling uses cream cheese and heavy cream to mimic the texture of peanut butter pie. The cream cheese provides structure, while the whipped cream adds lightness. A ratio of 8 ounces cream cheese to 1 cup heavy cream gives a stable mousse that holds its shape after 2 hours in the fridge. For a firmer, more pie-like slice, add 1 tablespoon cornstarch to the filling mixture before whipping—this is optional but helps if you plan to serve the cupcakes cold from the fridge.

Ingredients for the Chocolate Cupcake Base

  • 1 ½ cups (190 g) all-purpose flour
  • ¾ cup (65 g) unsweetened cocoa powder (Dutch-processed or natural both work)
  • 1 ½ teaspoons baking powder
  • ½ teaspoon baking soda
  • ½ teaspoon salt
  • ½ cup (115 g) unsalted butter, softened
  • 1 cup (200 g) granulated sugar
  • 2 large eggs, at room temperature
  • 1 teaspoon vanilla extract
  • ¾ cup (180 ml) buttermilk, at room temperature
  • ¼ cup (60 ml) hot coffee or hot water

Ingredients for the Peanut Butter Pie Filling

  • 8 oz (226 g) cream cheese, softened
  • 1 cup (240 ml) heavy cream, cold
  • ¾ cup (185 g) creamy peanut butter (no stir, not natural)
  • ¾ cup (90 g) powdered sugar
  • 1 teaspoon vanilla extract
  • Pinch of salt
  • 4 oz (115 g) semisweet chocolate, chopped
  • ½ cup (120 ml) heavy cream
  • 1 tablespoon light corn syrup (for shine, optional)

Step-by-Step: Bake the Chocolate Cupcakes

  1. Preheat your oven to 350°F (175°C). Line a 12-cup muffin tin with paper liners.
  2. In a medium bowl, whisk together flour, cocoa powder, baking powder, baking soda, and salt. Set aside.
  3. In a large bowl, beat butter and sugar with an electric mixer on medium speed until light and fluffy, about 2–3 minutes.
  4. Add eggs one at a time, beating well after each. Beat in vanilla.
  5. With mixer on low, add half of the flour mixture, then all of the buttermilk, then the remaining flour mixture. Mix until just combined—do not overmix.
  6. Stir in hot coffee or water by hand until the batter is smooth. The batter will be thin; that’s correct.
  7. Divide batter evenly among the 12 liners, filling each about ¾ full.
  8. Bake for 20–25 minutes, until a toothpick inserted in the center comes out with a few moist crumbs, not wet batter. Cool in the pan for 10 minutes, then transfer to a wire rack to cool completely—about 30 minutes.

How to Make the Peanut Butter Pie Filling

  1. In a large bowl, beat cream cheese with an electric mixer on medium until smooth, about 1 minute.
  2. Add peanut butter, powdered sugar, vanilla, and salt. Beat until combined, scraping down the bowl.
  3. In a separate cold bowl, whip the heavy cream with a whisk attachment on medium-high until stiff peaks form, about 2–3 minutes.
  4. Gently fold the whipped cream into the peanut butter mixture in three additions, using a spatula. Fold until no white streaks remain. Do not overmix or the filling will deflate.
  5. Cover and refrigerate the filling for at least 1 hour before filling the cupcakes. This makes it easier to pipe.

How to Core and Fill the Cupcakes

  1. Once cupcakes are completely cool, use a small knife or an apple corer to cut a cone-shaped hole about 1 inch deep and ¾ inch wide from the top center of each cupcake. Reserve the removed cake pieces.
  2. Trim the pointed tip off each cake cone so you have a flat disc to replace later.
  3. Spoon or pipe the chilled peanut butter filling into each hole, filling it level with the top of the cupcake.
  4. Place the reserved cake disc back on top of the filling, pressing gently to level the surface.

Ganache Topping and Assembly

  1. Place chopped chocolate in a heatproof bowl. Heat heavy cream in a small saucepan over medium until it just simmers (bubbles around the edge, not boiling).
  2. Pour hot cream over chocolate. Let stand 2 minutes, then stir until smooth. Add corn syrup if using, and stir until glossy.
  3. Let ganache cool to room temperature, about 15 minutes, until it thickens to a pourable consistency but is not set.
  4. Spoon about 1 tablespoon of ganache over each filled cupcake, spreading gently to the edges. Let set at room temperature for 20 minutes.
  5. For a classic peanut butter pie look, sprinkle crushed peanut butter cups or chopped peanuts on top before the ganache sets.

Chill Time: Why It Matters

After assembly, refrigerate the cupcakes for at least 2 hours before serving. This allows the peanut butter filling to fully set, giving the pie-like texture. If you skip chilling, the filling will be soft and may ooze out when bitten. For best results, chill overnight. The ganache will firm up in the fridge but will soften again at room temperature.

Storage and Make-Ahead

Store frosted cupcakes in an airtight container in the refrigerator for up to 4 days. Bring to room temperature for 20 minutes before serving for the best flavor and texture. The unfilled, baked cupcakes can be frozen (without filling or ganache) for up to 2 months; wrap each in plastic wrap and place in a freezer bag. Thaw overnight in the fridge before filling. The peanut butter filling can be made 2 days ahead and kept refrigerated in a sealed container; whisk briefly before using. Ganache can be made 1 day ahead and reheated gently in the microwave in 10-second bursts.

Substitutions That Change the Result

Ingredient Swap What Changes Best For
Natural peanut butter (stirred well) Filling may be grainier and less stable; add 2 tbsp powdered sugar to compensate If you only have natural, but expect a softer set
Crunchy peanut butter Adds texture but may make piping difficult; chop peanuts finer If you like crunch in the filling
Greek yogurt instead of cream cheese Filling becomes tangier and less firm; use full-fat and strain overnight Lower-fat option, but not as pie-like
Milk chocolate instead of semisweet in ganache Sweeter, softer ganache; reduce corn syrup If you prefer a milder chocolate

How to Get Clean Holes and Even Filling

Use a ½ teaspoon measuring spoon to scoop out the center if you don’t have an apple corer—press down and twist. Keep the removed cake pieces in a single layer on a plate so they don’t stick. When piping the filling, use a large round tip (like A1) or a zip-top bag with the corner snipped to ½ inch. Fill until the filling is flush with the cupcake top; overfilling makes the cake disc pop off. If the filling is too soft to pipe, chill it for 30 more minutes.

What to Do with Leftover Filling and Ganache

Leftover peanut butter filling can be used as a dip for pretzels or spread on toast; it keeps in the fridge for up to 5 days. Leftover ganache can be refrigerated and later rolled into truffles, or reheated to drizzle over ice cream. If you have extra cake scraps, crumble them and mix with a little ganache to make cake balls.

In this article
  1. What Makes the Filling Set Like Pie Filling?
  2. Ingredients for the Chocolate Cupcake Base
  3. Ingredients for the Peanut Butter Pie Filling
  4. Ingredients for the Ganache Topping (Optional but Recommended)
  5. Step-by-Step: Bake the Chocolate Cupcakes
  6. How to Make the Peanut Butter Pie Filling
  7. How to Core and Fill the Cupcakes
  8. Ganache Topping and Assembly
  9. Chill Time: Why It Matters
  10. Storage and Make-Ahead
  11. Substitutions That Change the Result
  12. How to Get Clean Holes and Even Filling
  13. What to Do with Leftover Filling and Ganache