Hi hat cupcakes are a retro bakery classic: a rich chocolate cupcake topped with a tall, glossy swirl of marshmallow frosting that is dipped in chocolate and left to set into a crisp shell. The contrast between the soft cake, airy meringue, and snappy chocolate coating makes every bite feel special. This recipe uses a stable Swiss meringue for the hat, so it holds its shape without being sticky, and the chocolate dip seals it for that iconic look.
Ingredients
- For the chocolate cupcakes:
- 1 ½ cups (190g) all-purpose flour
- ¾ cup (65g) unsweetened cocoa powder (natural or Dutch-process)
- 1 ½ teaspoons baking powder
- ½ teaspoon baking soda
- ½ teaspoon salt
- ½ cup (115g) unsalted butter, softened
- 1 cup (200g) granulated sugar
- 2 large eggs, at room temperature
- 2 teaspoons vanilla extract
- ½ cup (120ml) buttermilk, at room temperature
- ½ cup (120ml) hot coffee or hot water
- For the marshmallow frosting (Swiss meringue):
- 3 large egg whites (about 90g)
- ¾ cup (150g) granulated sugar
- ¼ teaspoon cream of tartar
- 1 teaspoon vanilla extract
- For the chocolate dip:
- 8 oz (225g) semisweet or dark chocolate, finely chopped
- 2 tablespoons (30g) coconut oil or vegetable shortening (optional, for shine)
Instructions
- Make the cupcakes: Preheat your oven to 350°F (175°C). Line a 12-cup muffin pan with paper liners.
- In a medium bowl, whisk together the flour, cocoa powder, baking powder, baking soda, and salt. Set aside.
- In a large bowl, beat the butter and sugar with an electric mixer on medium speed until light and fluffy, about 2–3 minutes. Add the eggs one at a time, beating well after each, then beat in the vanilla.
- With the mixer on low, add the dry ingredients in three additions, alternating with the buttermilk, starting and ending with the dry ingredients. Mix until just combined—do not overmix.
- Slowly pour in the hot coffee (or water) and mix on low until the batter is smooth. The batter will be thin; that’s correct.
- Divide the batter evenly among the cupcake liners, filling each about ⅔ full. Bake for 18–22 minutes, or until a toothpick inserted into the center comes out clean. Let cool in the pan for 5 minutes, then transfer to a wire rack to cool completely.
- Make the marshmallow frosting: Place the egg whites, sugar, and cream of tartar in a heatproof bowl set over a pot of simmering water (make sure the bowl doesn’t touch the water). Whisk constantly until the sugar is fully dissolved and the mixture reaches 160°F (71°C) on a thermometer—about 3–4 minutes.
- Remove the bowl from the heat. Using an electric mixer, beat the mixture on high speed until stiff, glossy peaks form and the bowl feels cool to the touch, about 5–7 minutes. Beat in the vanilla.
- Transfer the meringue to a piping bag fitted with a large round tip (like Ateco 808 or a ½-inch plain tip). Pipe a tall, swirled hat on each cupcake, starting from the edge and spiraling upward to a peak. Refrigerate the frosted cupcakes for 30 minutes to firm up.
- Make the chocolate dip: Melt the chopped chocolate and coconut oil (if using) in a heatproof bowl over simmering water, or in the microwave in 20-second bursts, stirring until smooth. Let cool to about 90°F (32°C)—it should be slightly warm but not hot.
- Dip each chilled cupcake upside-down into the chocolate, covering the meringue completely. Let the excess drip off for a second, then turn upright and place on a wire rack. Let the chocolate set at room temperature for about 10 minutes, or refrigerate for 5 minutes to speed it up.
- Store in an airtight container at room temperature for up to 2 days, or refrigerate for up to 4 days. Serve at room temperature for the best texture.
Tips
- Use a thermometer for the meringue: Heating the egg whites to 160°F ensures they are safe to eat and gives the meringue stability. Do not skip this step.
- Chill the frosted cupcakes before dipping: A cold meringue will hold its shape better and the chocolate will set faster, preventing the hat from sliding.
- Don’t overmix the batter: Overmixing develops gluten, making the cupcakes tough. Mix just until the flour disappears.
- If the chocolate dip is too thick: Add a teaspoon of coconut oil at a time until it flows easily. If it’s too thin, let it cool slightly.
Serving Suggestions
Serve these cupcakes as a showstopper at birthday parties, bake sales, or afternoon tea. They pair beautifully with a glass of cold milk, a hot espresso, or a glass of red wine. For a fancy touch, dust the tops with a little cocoa powder or add a sprinkle of sea salt before the chocolate sets.
Variations
- Mint chocolate: Add ½ teaspoon peppermint extract to the frosting and use dark chocolate for the dip. Crush a candy cane on top.
- Orange chocolate: Add 1 tablespoon orange zest to the cupcake batter and use orange extract in the frosting. Dip in milk chocolate.
- Peanut butter: Swirl 2 tablespoons of creamy peanut butter into the cupcake batter before baking, and add a drizzle of melted peanut butter over the chocolate dip.
- Gluten-free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture will be slightly more crumbly but still delicious.
Storage and Reheating
Store the finished cupcakes in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 4 days. The chocolate shell will soften slightly in the fridge, so let them sit at room temperature for 20 minutes before serving. You can freeze the unfrosted cupcakes for up to 3 months; thaw overnight in the fridge, then frost and dip as directed. Do not freeze frosted cupcakes—the meringue will weep and the chocolate will crack. To reheat, warm a single cupcake in the microwave for 10 seconds, but note that the chocolate will melt—this is best done only if you don’t mind the mess.
Frequently Asked Questions
Can I use a different frosting instead of Swiss meringue?
Yes, you can use a classic marshmallow fluff or a stabilized whipped cream, but Swiss meringue holds its shape best and gives that authentic shiny, tall hat. Italian meringue also works, but it’s more complicated.
Why did my meringue collapse?
If the meringue deflates, it’s usually because the sugar wasn’t fully dissolved before beating, or the bowl had traces of fat or yolk. Make sure your bowl and whisk are spotless, and heat the mixture to 160°F.
Can I make these cupcakes ahead of time?
Yes, you can bake the cupcakes up to 2 days ahead and store them unfrosted in an airtight container. Frost and dip them on the day you plan to serve for the freshest look.
What if I don’t have buttermilk?
Mix ½ cup of whole milk with 1½ teaspoons of lemon juice or white vinegar, and let it sit for 5 minutes. This is a perfect substitute.
Can I use milk chocolate for the dip?
Yes, but milk chocolate is softer and may not set as hard as dark chocolate. If using milk chocolate, you can add a little extra coconut oil to help it firm up.
How do I get a perfect swirl on top?
Use a large round piping tip and start piping from the outer edge, moving in a spiral upward. Keep the tip slightly buried in the meringue and lift as you go. Practice makes perfect—don’t worry if it’s not flawless.