Small Batch Chocolate Cupcakes With Sprinkles Recipe
In this article
These chocolate cupcakes are a rich, cocoa-forward treat made in a small batch for when you only need a few servings. They have a moist crumb and a sweet finish, making them suitable for a quick afternoon snack or a small birthday celebration.
Serves 6 · Prep 15 min · Cook 22 min · Total 37 min
Ingredients
- 1/2 cup (65 g) all-purpose flour
- 3/8 cup (45 g) unsweetened cocoa powder
- 1/2 cup (100 g) granulated sugar
- 1/2 tsp (3 g) baking powder
- 1/4 tsp (1 g) baking soda
- 1/8 tsp (0.5 g) salt
- 1/4 cup (60 ml) whole milk, room temperature
- 2 tbsp (30 ml) vegetable oil
- 1 large egg, room temperature
- 1/4 cup (60 ml) hot water
- 1/2 tsp (2.5 ml) vanilla extract
- 1/2 cup (115 g) unsalted butter, softened
- 2 cups (240 g) powdered sugar
- 2 tbsp (30 ml) heavy cream
- 1 tbsp (15 ml) cocoa powder (for frosting)
- 2 tbsp (15 g) rainbow sprinkles
Bake the Chocolate Cupcakes
- Preheat your oven to 350°F (175°C). Line a 6-slot cupcake tin with paper liners or grease the wells with butter to prevent sticking.
- Whisk together the all-purpose flour, cocoa powder, granulated sugar, baking powder, baking soda, and salt in a medium bowl. Because raw flour and raw eggs can contain bacteria, do not taste the batter; heat-treat the flour to 160°F (71°C) and use pasteurized eggs if you intend to consume any raw batter, though this is not recommended for pregnant people, young children, or those with weakened immune systems.
- Add the milk, vegetable oil, egg, and vanilla extract to the dry ingredients. Stir with a whisk or electric mixer on medium speed for about 1-2 minutes until the batter is smooth and combined.
- Pour in the hot water and stir by hand until just incorporated. The batter will be thin, which is normal for this style of chocolate cake.
- Divide the batter evenly among the 6 cupcake liners, filling each about 2/3 full. If you overfill them, the batter may overflow and create a flat top or spill over the edges.
- Bake at 350°F (175°C) for 18-22 minutes. To check for doneness, insert a toothpick into the center of a cupcake; it should come out clean or with just a few moist crumbs attached. The tops should spring back slightly when pressed.
- Remove the pan from the oven and let the cupcakes cool in the tin for 5-10 minutes. Transfer them to a wire rack to cool completely to room temperature. If you frost them while warm, the butter in the frosting will melt and slide off.
- Beat the softened butter with an electric mixer for 2 minutes until pale and fluffy. Sift in the powdered sugar and cocoa powder, then add the heavy cream. Beat on low speed to incorporate, then high speed for 2-3 minutes until the frosting is light and airy.
- Pipe or spread a generous swirl of frosting onto each cooled cupcake. Immediately press rainbow sprinkles into the top of the frosting before it sets.
Swap Ingredients for Different Needs
You can adjust the ingredients based on what you have in your pantry, though some changes will affect the texture. If you do not have whole milk, you can use soy milk or almond milk in a 1:1 ratio. Plant-based milks typically result in a slightly less creamy crumb but maintain the same structure. For the oil, melted coconut oil can replace vegetable oil at a 1:1 ratio, which adds a very subtle coconut scent and a firmer texture when the cupcakes are chilled.
If you prefer a deeper chocolate flavor, swap the unsweetened cocoa powder for Dutch-processed cocoa powder at a 1:1 ratio. Dutch-processed cocoa is treated with an alkaline solution to neutralize its acidity, resulting in a darker color and a smoother, less tart chocolate taste. If you use Dutch-processed cocoa, you may find the cupcakes rise slightly differently because the baking soda relies on acid to react; however, the baking powder in this recipe provides enough lift to compensate.
For the frosting, you can replace the heavy cream with whole milk if you need a slightly less rich frosting. Use a 1:1 ratio. If the frosting feels too soft to pipe, add 1-2 tablespoons of powdered sugar at a time until it holds its shape. If it is too stiff, add a teaspoon of cream. To change the flavor of the frosting, omit the cocoa powder and add 1 teaspoon of vanilla extract or 1/2 teaspoon of almond extract for a vanilla or almond buttercream.
Scale the Batch Size
This recipe is designed for exactly 6 cupcakes. If you need to adjust the amount, use the following ratios. When doubling, ensure you use a larger mixing bowl to avoid splashing. When halving, you will need to use 1/2 of a large egg, which can be done by cracking the egg into a bowl, whisking it, and measuring out about 1.5 tablespoons (22 ml).
| Batch Size | Yield | Flour Amount | Sugar Amount | Egg Amount |
|---|---|---|---|---|
| Half Batch | 3 cupcakes | 1/4 cup (32 g) | 1/4 cup (50 g) | 1/2 egg (approx 22 ml) |
| Standard Batch | 6 cupcakes | 1/2 cup (65 g) | 1/2 cup (100 g) | 1 large egg |
| Double Batch | 12 cupcakes | 1 cup (130 g) | 1 cup (200 g) | 2 large eggs |
Keep the Cupcakes Fresh
Store these cupcakes in an airtight container to prevent the cake from drying out. Once the frosting has set, you can keep them at room temperature for about 2 days. However, because the buttercream contains dairy, it is safer to refrigerate them if your kitchen is above 90°F (32°C). In the refrigerator, the cupcakes will stay fresh for 3-5 days. Note that the cake may firm up in the fridge; let them sit at room temperature for 30 minutes before eating to restore the soft texture.
For longer storage, you can freeze the cupcakes. It is best to freeze them without frosting. Place the unfrosted cakes in a single layer on a baking sheet and freeze for 1 hour, then transfer them to a freezer-safe bag or container. They will keep for about 3 months. To thaw, leave them in the refrigerator overnight or on the counter for 2 hours. Frost them after they have completely thawed. If you freeze them with frosting, the sprinkles may bleed their color into the buttercream over time, and the frosting may develop a slight crust.
When reheating a cupcake, avoid the microwave if it is frosted, as the frosting will melt instantly. If you are reheating an unfrosted cupcake, microwave it for 5-10 seconds just to take the chill off. Any leftover cupcakes that have been left out at room temperature for more than 2 hours (or 1 hour if the temperature is above 90°F/32°C) should be discarded to avoid foodborne illness.
Pair and Serve the Treats
These cupcakes pair well with drinks that balance the sweetness of the chocolate and buttercream. A cold glass of whole milk or an unsweetened almond milk is a classic pairing that cleanses the palate. For adults, a cup of black coffee or a double espresso provides a bitter contrast that enhances the cocoa notes of the cake. A glass of cold raspberry milk or a strawberry smoothie also works well, as the tartness of the berries complements the chocolate.
When serving, place each cupcake on a small dessert plate or a decorative cupcake liner. To make them look professional, use a piping bag with a star tip to create a high swirl of frosting. If you are serving these for a party, you can vary the sprinkles by using gold dragees, chocolate jimmies, or colored sanding sugar. To keep the cupcakes stable on a platter, you can place a small dot of frosting on the bottom of the cupcake liner to anchor it to the plate.