Skip to main content
Zimt

Home baking recipes and cinnamon favourites

Homemade Moon Pie Chocolate Recipe

Moon pies are a nostalgic confectionery treat consisting of two soft chocolate cake layers sandwiching a thick, pillowy marshmallow center, all coated in a smooth chocolate shell. Making them at home allows you to control the quality of the cocoa and the texture of the marshmallow, resulting in a much richer experience than store-bought versions. This recipe works because it balances the density of a cocoa-infused sponge with the airy lightness of a stabilized marshmallow fluff.

Ingredients

  • For the Chocolate Cake Layers:
  • 2 cups all-purpose flour
  • 3/4 cup unsweetened cocoa powder (high quality preferred)
  • 1 1/2 teaspoons baking powder
  • 1 1/2 teaspoons baking soda
  • 1 teaspoon salt
  • 1 cup granulated sugar
  • 1/2 cup unsweetened cocoa powder (additional for cake)
  • 2 large eggs (room temperature)
  • 1 cup whole milk
  • 1/2 cup vegetable oil
  • 2 teaspoons vanilla extract
  • 1 cup boiling water
  • For the Marshmallow Filling:
  • 3 large egg whites (room temperature)
  • 1 1/2 cups granulated sugar
  • 1/4 cup water
  • 1/4 teaspoon cream of tartar
  • 1 teaspoon vanilla extract
  • For the Chocolate Coating:
  • 12 oz semi-sweet chocolate chips or chopped baking chocolate
  • 2 tablespoons coconut oil (helps with smooth dipping)
  • 1/2 cup vegetable shortening (optional, for a softer bite)

Instructions

  1. Prepare the Cake Layers: Preheat your oven to 350°F (175°C). Grease and flour two 6-inch round cake pans or one large sheet pan if you prefer to cut rectangles later. In a large mixing bowl, sift together the flour, 3/4 cup cocoa powder, baking powder, baking soda, and salt. Add the sugar and the remaining 1/2 cup of cocoa powder. Whisk these dry ingredients thoroughly to ensure no lumps of cocoa remain.
  2. Mix the Wet Ingredients: In a separate medium bowl, whisk the eggs, milk, vegetable oil, and vanilla extract until well combined. Gradually pour the wet mixture into the dry ingredients, whisking constantly on medium speed until the batter is smooth.
  3. The Boiling Water Step: Carefully pour the 1 cup of boiling water into the batter. The batter will be very thin; this is normal and is essential for a moist, tender crumb. Whisk by hand until the water is fully incorporated. Pour the batter into the prepared pans. Bake for 30-35 minutes, or until a toothpick inserted into the center comes out clean. Allow the cakes to cool completely in the pans before attempting to remove them. For the best results, wrap the cooled cakes in plastic wrap and chill in the refrigerator for at least an hour before assembling; this makes them easier to handle.
  4. Make the Marshmallow Filling: This step requires precision. In a small saucepan, combine the 1 1/2 cups of sugar and 1/4 cup of water. Heat over medium, stirring until the sugar dissolves. Once it reaches a boil, stop stirring and use a candy thermometer to monitor the temperature. You are aiming for the "soft ball stage," which is between 235°F and 240°F (112°C-115°C). While the syrup is heating, place your egg whites and cream of tartar in a clean, grease-free metal or glass bowl.
  5. Whip and Combine: Once the sugar syrup reaches the target temperature, slowly pour the hot syrup in a thin stream into the egg whites while simultaneously beating the whites with a stand mixer on medium-high speed. Continue beating after the syrup is fully incorporated until the mixture is thick, glossy, and the bowl feels cool to the touch. This usually takes 7-10 minutes. Add the vanilla extract during the final minute of whipping.
  6. Assembly: Place a layer of cake on a piece of parchment paper. Using a piping bag with a large round tip, pipe a thick, even layer of the marshmallow fluff onto the cake. Ensure the marshmallow reaches near the edges but leaves a small margin to prevent it from oozing out too much during coating. Place the second cake layer on top, pressing down very gently to flatten the marshmallow. Use a knife to trim the edges of the sandwich so they are neat and uniform. Chill the assembled sandwiches in the refrigerator for at least 2 hours to allow the marshmallow to set firmly.
  7. Chocolate Coating: Melt the chocolate chips and coconut oil together using a double boiler or in the microwave in 30-second increments, stirring between each to avoid burning. Once smooth, let the chocolate cool slightly so it isn't boiling hot, but is still fluid enough to dip.
  8. The Dipping Process: Using a fork or a toothpick, lift a chilled moon pie and submerge it into the chocolate. Lift it out, tapping the fork against the side of the bowl to let excess chocolate drip off. Place the coated moon pie onto a wire rack set over parchment paper. Repeat with the remaining sandwiches. Allow the chocolate to harden completely at room temperature or in the refrigerator if you are in a hurry.

Tips

  • Temperature is Critical: For the marshmallow, if you do not reach the soft ball stage, the filling will be runny and will leak out of the sides of the cake. If you go past it, the marshmallow will become gummy and tough. Always use a candy thermometer.
  • Avoid Fat in the Whites: When making the marshmallow, ensure your whisk, bowl, and egg whites are completely free of any oil or yolk. Even a tiny speck of fat will prevent the egg whites from achieving the necessary volume and stability.
  • Cake Texture Management: If your cake layers feel too crumbly to handle, don't panic. The moisture from the marshmallow and the weight of the chocolate coating will help hold them together. Chilling the cake layers before assembly is the single best way to prevent crumbling.
  • Smooth Coating: For a professional, shiny finish, use high-quality couverture chocolate or ensure your coconut oil is fully emulsified into the chocolate. If the chocolate is too thick, it will create a clumpy shell; if it's too thin, it won't cover the cake properly.

Serving Suggestions

Moon pies are best served at room temperature to allow the chocolate to soften slightly and the marshmallow to regain its fluffiness. For a decadent dessert, serve a single moon pie alongside a cold glass of whole milk or a cup of dark roast coffee, which cuts through the sweetness. You can also serve them as part of a dessert platter alongside fresh berries to provide a tart contrast to the rich chocolate and sugar.

Variations

If you want to move away from the classic recipe, try a Peanut Butter Moon Pie by adding a thin layer of creamy peanut butter between the cake and the marshmallow. For a seasonal twist, you can add peppermint extract to the marshmallow filling and use white chocolate for the coating during the winter months. Another popular variation is the "Dark Moon Pie," which uses extra dark cocoa in the cake and a high-percentage dark chocolate (70% cocoa or higher) for the coating to reduce the overall perceived sweetness.

Storage and Reheating

Store your homemade moon pies in an airtight container at room temperature for up to 3 days. If your kitchen is warm, it is better to store them in the refrigerator to prevent the chocolate from melting or the marshmallow from softening too much. In the refrigerator, they will stay fresh for up to 1 week. Do not attempt to "reheat" moon pies in a microwave, as this will melt the marshmallow into a liquid state and destroy the structure of the cake. If the chocolate has become too hard from the fridge, simply let the container sit on the counter for 20 minutes before eating.

Frequently Asked Questions

Can I use store-bought marshmallow fluff instead of making it?

While you can use store-bought marshmallow fluff, the texture will be significantly different. Homemade marshmallow is much thicker, more stable, and holds its shape better under the weight of the cake and chocolate. Store-bought fluff is often too aerated and runny, which may cause the moon pie to collapse or the filling to squeeze out the sides during the dipping process.

Why did my chocolate coating crack when I bit into it?

Cracking usually occurs because the chocolate was cooled too rapidly or because there was a significant temperature difference between the cold moon pie and the warm chocolate. To prevent this, ensure the chocolate is not too hot when dipping, and allow the moon pies to set at room temperature rather than immediately placing them in a freezing cold refrigerator.

Is it safe to eat the raw cake batter?

Standard food safety guidelines recommend against consuming raw cake batter that contains uncooked flour or raw eggs. Raw flour can harbor bacteria like E. coli, and raw eggs can carry Salmonella. To be safe, ensure the cake is fully baked to an internal temperature of at least 190°F (88°C) and avoid tasting the batter before it has been cooked.

How do I get a perfectly smooth chocolate shell?

The secret to a smooth shell is the addition of a small amount of fat, such as coconut oil or vegetable shortening, to the melted chocolate. This lowers the viscosity and helps the chocolate flow evenly over the cake. Additionally, ensure your chocolate is melted gently to avoid seizing, which happens when moisture enters the chocolate and turns it into a gritty paste.

Can I make these in advance?

Yes, these are excellent for making ahead of time. You can make the cake layers a day in advance and wrap them tightly. You can even assemble the sandwiches (cake and marshmallow) up to 24 hours before you plan to dip them in chocolate. This actually helps the structure stabilize, making the dipping process much cleaner.

Read next