This website may contain affiliate links and advertising so that we can provide recipes to you. Read my disclosure policy.

No need for a pot of gold when youโ€™ve got these cupcakes around! These colorful rainbow cupcakes are perfectly moist, topped with the most amazing buttercream. Theyโ€™ll light up any party!

You canโ€™t go wrong with cupcakes. Churro, cannoli, and lemon blueberry cupcakes are just a few of my other favorites that you need to try!

Rainbow cupcakes on a marble serving platter.

Rainbow Cupcakes With Buttercream Frosting Recipe

If youโ€™re looking for the most magical dessert around, this is it! Make these rainbow cupcakes for St. Pattyโ€™s, birthdays, or just when you want to add a pop of color to your day! My youngest is obsessed with anything rainbow, so as you can imagine these are pretty common at my house. The good news is, theyโ€™re actually really easy to make! All it takes is a little bit of layering to make the magic happen.

The cupcakes are vanilla flavored and made with buttermilk to be extra moist and tender! All youโ€™ve got to do is separate your batter into bowls, break out your food coloring, and then layer! The homemade buttercream frosting is the cherry on top. So smooth and creamy! Rainbow cupcakes are so easy to prepare but will impress everyone. Letโ€™s get baking!

Rainbow Cupcake Ingredients

These cupcakes use a lot of standard baking ingredients to make your life a little easier. They’re the perfect last-minute treats for a party! You’ll find most, if not all of the ingredients in your pantry! Measurements for each ingredient can all be found in the recipe card below.

  • Cake Flour: I love using cake flour because it gives my cakes a fine, tender crumb.
  • Granulated Sugar: Added for sweetness.
  • Baking Powder and Baking Soda: Both are crucial for a cake that rises properly!
  • Salt: To keep the cake nice and flavorful.
  • Buttermilk: My secret weapon! The acidity in buttermilk helps to make your cupcakes super moist and tender.
  • Milk: Adds fat content and helps the batter to mix together smoothly.
  • Clear Vanilla: Clear vanilla is a must here! Regular vanilla extract adds a yellow hue to your rainbow cupcakes and will mess up the vibrancy of the colors.
  • Vegetable Oil: Adds moisture and works to bind ingredients together when baked.
  • 4ย Egg Whites: The key to a light and fluffy batter!

Buttercream Frosting

  • Unsalted Butter: The foundation of your frosting. Let this come toย room temperature before using so everything mixes together smoothly.
  • Powdered Sugar: For sweetness and a smooth texture.
  • Vanilla Extract: Used to give your buttercream frosting a deeper flavor.
  • Salt: Add a pinch of salt to enhance flavor!
  • Milk: Milk is added to the frosting for creamy flavor and moisture.
  • Rainbow Ribbon Candy: I used Airhead Extremes!

How to Make Rainbow Cupcakes

  1. Preheat Oven, Prep Pan: First, preheat the oven to 350ยฐF and spray a muffin tin with pan spray before lining with cupcake liners. Set aside.
  2. Whisk Dry Ingredients: In a medium bowl, whisk together the flour, sugar, baking powder, baking soda, and salt.
  3. Mix in Wet Ingredients: Next, add the buttermilk, milk, vanilla, and oil to the dry ingredients and beat with the paddle attachment of a stand mixer or a hand mixer just until fully combined. In a separate bowl, whip the egg whites until you get medium stiff peaks and gently fold into the batter. Separate the batter into 6 small bowls and color each bowl a different color, red, orange, yellow, green, blue, purple.
  4. Layer: Scoop the colored batter into the cupcake liners by layering 1 teaspoon of each color until they are โ…” of the way full. Bake for 20-25 minutes, until a toothpick comes out clean and the tops of the cupcakes bounce back when lightly pressed.

Making the Buttercream Frosting

  1. Beat Butter: In the bowl of a mixer, add the butter. Use the paddle attachment to beat the butter for 1-2 minutes until it is smooth and creamy.
  2. Mix in Sugar, Vanilla, and Salt: Add the powdered sugar and mix on low until most of the sugar has been absorbed by the butter. You may need to scrape down the sides and bottom of the bowl a few times. Add the vanilla and salt and beat on medium high for 2-3 minutes.
  3. Add Milk: Next, add the milk 1 tablespoon at a time on medium low. Scrape down the sides of the bowl and then beat on medium-high for 2 minutes, or until the frosting is looking quite white and fluffy.
  4. Add Food Coloring: Reserve about a cup of frosting in a small bowl to keep it white and use 1 or 2 drops of blue food coloring to tint the remaining frosting light blue.
  5. Create Clouds and Rainbow Shape: Use a large round piping tip to frost the tops of the cupcakes. Cut the rainbow ribbon candy into 3-inch strips. Form the candy into a rainbow shape on top of the cupcakes. Use a small round piping tip to pipe the white frosting around the bottoms of the rainbow to be clouds.
Process shots of layering cupcakes with different colored batter.

Tips for Making the Best Cupcakes

Keep these simple tips in mind and you’ll be baking like a pro! This rainbow cupcake recipe is one of my new favorites. It’s so bright and fun! I know you’ll love how they turn out as well!

  • Preparing Egg Whites: Egg whites are crucial to light and fluffy cupcakes. Only mix until you reach medium peaks. If you mix more than that, they will deflate. Also, use a gentle hand when folding them into your cake batter.
  • Don’t Overmix Batter: If you overmix your cake batter, gluten will develop. Instead of light and fluffy rainbow cupcakes, they’ll be dense and rubbery.
  • Avoid Overfilling: You only want to fill your liners โ…” of the way full. This can be tricky since we’re layering different colors, so only add a little batter at a time so you don’t fill them too high. If they’re above the โ…” mark they may overflow in the oven.
A rainbow cupcake cut in half.

Storing Your Cupcakes

Rainbow cupcakes are great for storing and enjoying later! You’ll love having them on hand when a sweet craving hits.

  • At Room Temperature: Store rainbow cupcakes in an airtight container or covered in plastic wrap for up to 3 days.
Closeup of a cupcake cut in half.

Pin this now to find it later

Pin It

Rainbow Cupcakes

No need for a pot of gold when youโ€™ve got these cupcakes around! These colorful rainbow cupcakes are perfectly moist, topped with the most amazing buttercream. Theyโ€™ll light up any party!
Prep Time: 45 minutes
Cook Time: 35 minutes
Total Time: 1 hour 20 minutes
Servings: 12 Cupcakes

Ingredients 

Buttercream

Instructions 

  • Preheat the oven to 350ยฐ and spay a muffin tin with pan spray before lining with cupcake liners. Set aside.
  • In a medium bowl, whisk together the flour, sugar, baking powder, baking soda, and salt.
  • Add the buttermilk, milk, vanilla, and oil to the dry ingredients and beat with the paddle attachment of a stand mixer or a hand mixer just until fully combined. In a separate bowl whip the egg whites until you get medium stiff peaks and gently fold into the batter. Separate the batter into 6 small bowls and color each bowl a different color, red, orange, yellow, green, blue, purple.
  • Scoop the colored batter into the cupcake liners by layering 1 teaspoon of each color until they are โ…” of the way full. Bake for 20-25 minutes, until a toothpick comes out clean and the tops of the cupcakes bounce back when lightly pressed.

Buttercream

  • In the bowl of a mixer add the butter. Use the paddle attachment to beat the butter for 1-2 minutes until it is smooth and creamy.
  • Add the powdered sugar and mix on low until most of the sugar has been absorbed by the butter. You may need to scrape down the sides and bottom of the bowl a few times. Add the vanilla and salt and beat on medium high for 2-3 minutes.
  • Add the milk 1 tablespoon at a time on medium low. Scrape down the sides of the bowl and then beat on medium-high for 2 minutes, or until the frosting is looking quite white and fluffy.
  • Reserve about a cup of frosting in a small bowl to keep it white and use 1 or 2 drops of blue food coloring to tint the remaining frosting light blue.
  • Use a large round piping tip to frost the tops of the cupcakes. Cut the rainbow ribbon candy into 3-inch strips. Form the candy into a rainbow shape on top of the cupcakes. Use a small round piping tip to pipe the white frosting around the bottoms of the rainbow to be clouds.

Nutrition

Calories: 502kcalCarbohydrates: 84gProtein: 5gFat: 17gSaturated Fat: 10gPolyunsaturated Fat: 1gMonounsaturated Fat: 4gTrans Fat: 1gCholesterol: 44mgSodium: 285mgPotassium: 188mgFiber: 1gSugar: 66gVitamin A: 521IUCalcium: 86mgIron: 1mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Additional Info

Course: Dessert
Tried this recipe?Mention @alyssa_therecipecritic or tag #therecipecritic!

About Alyssa Rivers

Alyssa Rivers is the author of 'The Tried and True Cookbook', a professional food photographer and experienced recipe-developer. Having a passion for cooking, her tried and true recipes have been featured on Good Morning America, Today Food, Buzzfeed and more.

More Ideas

Leave a comment

Your email address will not be published. Required fields are marked *

Recipe Rating