These chocolate cupcakes are light, moist, and infused with a subtle coffee‑like depth, while the toasted coconut cream frosting adds a tropical, buttery finish that balances the richness of the cocoa. The combination works because the airy crumb of the cupcake lets the dense, silky frosting shine without becoming heavy, making each bite feel celebratory yet comforting.
Ingredients
- 1 cup (125 g) all‑purpose flour
- 1/4 cup (25 g) unsweetened cocoa powder
- 1 tsp baking powder
- 1/2 tsp baking soda
- 1/4 tsp fine sea salt
- 1/2 cup (113 g) unsalted butter, softened
- 3/4 cup (150 g) granulated sugar
- 1/4 cup (50 g) packed light brown sugar
- 2 large eggs, room temperature
- 1 tsp pure vanilla extract
- 3/4 cup (180 ml) buttermilk, room temperature
- 1/4 cup (60 ml) hot water (just off the boil)
- 1 cup (240 ml) heavy whipping cream, chilled
- 1/2 cup (60 g) powdered sugar, sifted
- 1/4 cup (60 ml) coconut cream (the thick layer from a chilled can)
- 2 tbsp unsweetened cocoa powder (for the frosting)
- 1/2 tsp vanilla extract (for the frosting)
- Pinch of salt (for the frosting)
- 1/2 cup (50 g) sweetened toasted coconut flakes
Instructions
- Preheat the oven to 350°F (177°C). Position an oven rack in the middle and line a 12‑cup muffin tin with paper liners. Lightly dust the liners with a thin layer of flour; this helps the cupcakes release cleanly.
- In a medium bowl whisk together the flour, 1/4 cup cocoa powder, baking powder, baking soda, and salt. Set aside. Whisking the dry ingredients ensures the leaveners are evenly distributed and prevents pockets of cocoa.
- In a large mixing bowl using a handheld mixer or stand‑mixer fitted with the paddle attachment, beat the softened butter, granulated sugar, and brown sugar on medium‑high speed for 2–3 minutes, until the mixture is pale, fluffy, and has increased in volume. This process incorporates air, which is essential for a light crumb.
- Add the eggs one at a time, beating for about 30 seconds after each addition. Scrape down the sides of the bowl to ensure even incorporation. Then add the vanilla extract and continue mixing for another 15 seconds.
- Reduce the mixer speed to low and add the dry‑ingredient mixture in three additions, alternating with the buttermilk. Begin and end with the dry ingredients. Mix each addition just until incorporated; over‑mixing can develop gluten and make the cupcakes dense.
- Finally, drizzle the hot water into the batter while the mixer is on low. The hot water melts any remaining cocoa lumps and creates a glossy batter. Mix for 10–15 seconds – the batter will look thin, but that is normal for chocolate cupcakes.
- Divide the batter evenly among the prepared liners, filling each about 2/3 full. This amount yields a rounded top without spilling over.
- Bake for 18–22 minutes, or until a toothpick inserted into the center of a cupcake comes out clean or with a few moist crumbs. The internal temperature should reach 205°F (96°C). Rotate the pan halfway through baking for even color.
- While the cupcakes are cooling, prepare the frosting. Place the chilled heavy cream, powdered sugar, coconut cream, 2 tbsp cocoa powder, vanilla extract, and a pinch of salt in a chilled mixing bowl. Using a whisk attachment, beat on medium‑high speed until soft peaks form, about 2–3 minutes. The frosting should be glossy and hold its shape.
- Toast the coconut flakes: spread them in a single layer on a rimmed baking sheet and bake in the same oven at 350°F (177°C) for 5–7 minutes, stirring once halfway through, until golden‑brown and fragrant. Watch closely; coconut can go from toasted to burnt in seconds.
- Once the cupcakes have cooled completely on a wire rack (warm cupcakes will melt the frosting), pipe or spread a generous dollop of the coconut‑cocoa frosting on each. Sprinkle the toasted coconut flakes on top for texture and visual appeal.
- Serve immediately or store as directed below. Enjoy the contrast of warm chocolate cake and cool, airy frosting.
Tips
- Ingredient temperature matters: Use room‑temperature butter, eggs, and buttermilk. Cold ingredients can cause the batter to seize, resulting in a crumbly texture.
- Don’t over‑mix: Once the flour is added, mix only until just combined. Over‑mixing develops gluten, which makes the cupcakes tough instead of tender.
- Toast coconut evenly: Spread the flakes thinly and stir once; a light golden color is the goal. If you prefer a deeper flavor, add a pinch of brown sugar before toasting.
- Frosting stability: If the frosting feels too soft on a warm day, chill it for 10 minutes before using, or add an extra tablespoon of powdered sugar to stiffen it.
Serving Suggestions
These cupcakes pair beautifully with a strong espresso or a cup of black coffee, as the bitterness cuts through the sweetness of the frosting. For a festive touch, drizzle a thin ribbon of melted dark chocolate over the frosting just before adding the toasted coconut. You can also serve them alongside fresh berries—raspberries or strawberries add a bright acidity that lifts the cocoa flavor.
Variations
- Espresso boost: Add 1 tsp instant espresso powder to the dry ingredients for a mocha twist.
- Chocolate chip surprise: Fold 1/3 cup mini dark chocolate chips into the batter after the final mix.
- Dairy‑free version: Substitute the butter with equal parts coconut oil and use canned coconut milk (full‑fat) in place of heavy cream; the frosting will retain its coconut character.
- Mini cupcakes: Use a mini‑muffin pan and bake for 12–15 minutes. Adjust frosting quantity accordingly.
- Gluten‑free: Replace the all‑purpose flour with a 1‑to‑1 gluten‑free flour blend that contains xanthan gum.
Storage and Reheating
Store the cupcakes in an airtight container at room temperature for up to 2 days; the frosting will stay soft and the cake will remain moist. For longer storage, refrigerate the cupcakes (still covered) for up to 5 days. When refrigerated, allow them to come to room temperature for 20–30 minutes before serving, or give each cupcake a 10‑second burst in the microwave to re‑soften the frosting.
Freezing is also an option: wrap each cupcake individually in plastic wrap, place them in a freezer‑safe bag, and freeze for up to 2 months. Thaw overnight in the refrigerator, then let sit at room temperature for 30 minutes before frosting. Frosted cupcakes can be frozen as well; just make sure the frosting is firm before wrapping.
Frequently Asked Questions
Can I use regular coconut milk instead of coconut cream?
Regular coconut milk is much thinner and will make the frosting runny. If you only have coconut milk, simmer it gently until it reduces to a thick, creamy consistency, then cool before using. Adding a little extra powdered sugar can also help achieve the right texture.
How do I know when the cupcakes are fully baked?
Insert a thin toothpick into the center; it should emerge clean or with just a few moist crumbs. For a more precise check, use an instant‑read thermometer—cupcakes are done at an internal temperature of 205°F (96°C). Avoid pulling them out early, as they will continue to set as they cool.
My frosting turned grainy. What went wrong?
Graininess usually results from powdered sugar not being fully dissolved or from the cream being too cold. Make sure the cream is chilled but not frozen, and beat the frosting for at least 2 minutes on medium‑high speed. If needed, add a teaspoon of liquid (milk or more coconut cream) and continue beating until smooth.
Is it safe to use raw eggs in this recipe?
Because the eggs are baked to an internal temperature of 205°F (96°C), they reach a safe temperature that eliminates salmonella risk. If you are serving vulnerable populations (young children, pregnant people, immunocompromised), you may prefer pasteurized eggs, which are sold in the refrigerated section of many grocery stores.
Can I make the frosting ahead of time?
Yes. The frosting can be prepared up to 24 hours in advance and stored in the refrigerator. Before using, let it sit at room temperature for 15–20 minutes and then re‑whip briefly to restore its airy texture.
What’s the best way to toast coconut without an oven?
Heat a dry skillet over medium heat, add the coconut flakes, and stir constantly for 3–5 minutes until golden and fragrant. Transfer immediately to a cool plate to stop the cooking process, as the residual heat will continue to toast the coconut.