Description
Delicious and colorful Cosmic Rainbow M&M Cupcakes that bring fun and joy to any occasion.
Ingredients
Scale
- 1 cup (130 g) all-purpose flour
- 1 cup (200 g) granulated sugar
- 6 tbsp (30 g) cocoa powder
- 1 tsp baking powder
- ½ tsp baking soda
- ¼ tsp salt
- ½ cup (120 ml) vegetable oil
- ½ cup (120 ml) buttermilk (or ½ cup milk + 1 tsp vinegar, rested 5 min)
- 2 large eggs
- 1 tsp vanilla extract
- ½ cup (120 ml) hot water
- 1 cup (226 g) unsalted butter, softened
- 4 cups powdered sugar
- 2–3 tbsp heavy cream or milk
- 1 tsp vanilla extract
- Gel food coloring (red, blue, yellow, green, purple, etc.)
- Mini M&Ms or regular M&Ms for decoration
Instructions
- Preheat oven to 350°F (175°C). Line a 12-cup muffin tin with cupcake liners.
- In a bowl, whisk together flour, sugar, cocoa powder, baking powder, baking soda, and salt.
- Add oil, buttermilk, eggs, and vanilla. Mix until smooth. Stir in hot water (batter will be thin).
- Divide batter evenly into cupcake liners, filling about ⅔ full.
- Bake for 18–20 minutes, or until a toothpick inserted in the center comes out clean. Cool completely before frosting.
- Beat butter until creamy. Add powdered sugar gradually, alternating with cream, until fluffy. Stir in vanilla.
- Divide frosting into 5–6 bowls and tint each with different gel colors. Transfer colors side by side into a large piping bag fitted with a star tip.
- Pipe swirls of rainbow frosting on each cupcake. Top with M&Ms for a cosmic, colorful look.
Notes
- Ensure the cupcakes are completely cool before frosting to prevent melting.
- Feel free to use any colors of gel food coloring to match your theme.
- Store cupcakes in an airtight container at room temperature for up to 3 days.
- Prep Time: 20 minutes
- Cook Time: 20 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American
Nutrition
- Serving Size: 1 cupcake
- Calories: 350
- Sugar: 30g
- Sodium: 200mg
- Fat: 18g
- Saturated Fat: 10g
- Unsaturated Fat: 6g
- Trans Fat: 0g
- Carbohydrates: 45g
- Fiber: 1g
- Protein: 3g
- Cholesterol: 50mg