This Rainbow Cupcakes recipe creates soft, moist cupcakes topped with creamy vanilla buttercream and colorful candy rainbows. Perfect for birthdays, parties, or celebrations, these cupcakes are fun to decorate and packed with sprinkles and flavor.

Ingredients
Cupcakes:
- ½ cup unsalted butter, softened to room temperature
- ¾ cup granulated sugar
- 2 large eggs, room temperature
- 1½ teaspoons pure vanilla extract
- ½ cup natural or Greek yogurt
- 1¼ cups all-purpose flour
- 1 teaspoon baking powder
- ¼ teaspoon salt
- ¼ cup sprinkles
Vanilla Buttercream:
- ½ cup unsalted butter, softened
- 2 cups powdered sugar
- 2 tablespoons heavy cream, whole milk, or half-and-half
- 1 teaspoon pure vanilla extract
- Blue food coloring
- ⅛ teaspoon salt
Decorations:
- 12 rainbow candy sour strips (3-inch, e.g., Airheads brand)
- 2 tablespoons sprinkles
Instructions
- Prepare the Oven and Pan:
Preheat oven to 350°F (180°C) and line a 12-cup muffin pan with cupcake liners. - Make the Batter:
In a large bowl, use an electric hand mixer to cream the butter and sugar on medium speed until light and smooth. Add eggs one at a time, mixing after each, then mix in vanilla extract and yogurt until combined. - Mix Dry Ingredients:
In a separate medium bowl, whisk together flour, baking powder, and salt. - Combine Ingredients:
Add about one-third of the dry ingredients to the wet mixture, mixing until combined. Add the remaining dry ingredients and sprinkles, mixing gently until everything is just incorporated. - Bake the Cupcakes:
Fill each cupcake liner half to two-thirds full with batter. Bake for 20 minutes, or until a toothpick inserted in the center comes out clean. Let cupcakes cool completely before frosting. - Prepare Buttercream:
In a large bowl, beat the butter until smooth. Gradually add powdered sugar and continue mixing. Add salt, vanilla, and cream, beating until smooth and pipeable. Set aside about ¼ cup of plain buttercream. Add blue food coloring to the remaining buttercream and mix thoroughly. - Decorate Cupcakes:
- Blue Sky: Using Wilton Tip #2D (Closed Star Tip), pipe a spiral of blue buttercream from the center outward.
- Clouds: Use Wilton Tip #12 to pipe white buttercream at the base of the rainbow to form clouds.
- Place rainbow candy strips on top and add extra sprinkles as desired.
Why You’ll Love This Recipe
These Rainbow Cupcakes are colorful, fun, and perfect for birthdays, parties, or celebrations. Soft, moist cupcakes are topped with creamy vanilla buttercream and a whimsical rainbow design, making them both visually appealing and delicious.

Tips
- Room temperature ingredients: Helps the batter mix evenly and rise properly.
- Don’t overmix: Overmixing can make cupcakes dense.
- Cooling: Make sure cupcakes are fully cooled before frosting to prevent melting.
- Piping tips: Use different tips for creative designs like clouds, stars, or swirls.
Variations and Substitutions
- Yogurt swap: Use sour cream or buttermilk instead of yogurt for slight tang.
- Flavor variations: Add lemon or almond extract for a unique twist.
- Gluten-free: Substitute all-purpose flour with a gluten-free blend.
- Frosting colors: Create multi-colored skies by dividing buttercream and adding food coloring.
- Candy alternatives: Use fruit slices, gummies, or chocolate decorations instead of candy strips.
FAQs
Can I make cupcakes ahead of time?
Yes, bake and cool cupcakes a day before decorating. Frost just before serving for best results.
How long do cupcakes last?
Store in an airtight container at room temperature for 2–3 days, or refrigerate for up to 5 days.
Can I freeze them?
Yes, un-frosted cupcakes freeze well for up to 3 months. Thaw before frosting.
Can I use gel food coloring?
Yes, gel colors give brighter results without thinning the buttercream.
Serving and Suggestions
Serve Rainbow Cupcakes at birthday parties, baby showers, or festive gatherings. Pair with milk, coffee, or tea. They also make a fun addition to dessert tables or gift boxes for friends and family.








Leave a Reply