Pinterest Hidden ImagePinterest Hidden ImagePinterest Hidden ImagePinterest Hidden ImagePinterest Hidden ImagePinterest Hidden ImagePinterest Hidden ImagePinterest Hidden ImagePinterest Hidden ImagePinterest Hidden ImagePinterest Hidden Image

This delicious Rainbow Cupcake recipe is so easy to make! These colorful cupcakes are topped with vanilla buttercream frosting…can you get any more heavenly than that!? YUMMMMM!

Rainbow Cupcakes with Vanilla Buttercream on a yellow background

This post may contain affiliate links. I will receive a small commission from these sales at no additional cost to you!

These easy rainbow cupcakes are the perfect addition to any party! They’re not only colorful and festive, but they also taste amazing, too! Everyone will love these delicious treats!

The best part is that they’re easy to make, even if you’ve never baked before. You need just a few simple ingredients and a little bit of time, and soon, you’ll have a batch of beautiful rainbow cupcakes ready to enjoy!


Rainbow Cupcake Ingredients on a yellow background

Ingredients You’ll Need For These Rainbow Cupcakes:

  • Unsalted Butter
  • Granulated Sugar
  • Eggs
  • Vanilla Extract
  • Sour Cream (full fat)
  • 2% or Whole Milk
  • All-Purpose Flour
  • Baking Powder
  • Baking Soda
  • Salt
  • Gel food coloring in rainbow colors (red, orange, yellow, green, blue, purple)
Rainbow Cupcake Buttercream Frosting Ingredients in a bowl

Ingredients You’ll Need For Buttercream Frosting

  • Unsalted Butter
  • Confectioners’ Sugar
  • Vanilla Extract
  • Optional: rainbow sprinkles for topping

How to Bake Rainbow Cupcakes

Rainbow Cupcake cut in half on a yellow background

Making these rainbow cupcakes is easier than you might think!

Rainbow Cupcakes - Wet Ingredients in a bowl on a yellow background

In a large bowl, beat together the butter and the sugar for about a minute until thoroughly combined.

Rainbow Cupcakes - Wet Ingredients in bowls

Add in the eggs and vanilla extract and beat until smooth. Next, beat in the sour cream and milk. Try to make sure that your ingredients are all just below room temperature when mixing, otherwise you might end up with a curdled mixture!

Rainbow Cupcake Batter in a glass bowl

In a medium bowl, combine the flour, baking powder, baking soda, and salt. Then, beat the dry ingredients into the wet ingredients until just mixed. Try your best not to overmix them!

Divided Rainbow Cupcake Batter in 6 glass bowls

Divide batter evenly into six small bowls (this works out to be about 175 grams per bowl). It’s best to use a food scale for this part so you end up with an equal amount of cupcake batter in each bowl.

Divided and Colored Rainbow Donut Batter in glass bowls

Use the gel food coloring to make six different colors of batter: red, orange, yellow, green, blue, and purple. Next, line 18 muffin cups with paper cupcake liners.

Rainbow Cupcake Batter in a light blue Cupcake Pan

To create a beautiful layered rainbow look, you’ll want to layer the batter by color in the muffin cups. Start with around two teaspoons of purple batter in the bottom of all the paper muffin liners, which will help to distribute the batter between all 18 cups evenly.

Put about two teaspoons of blue batter on top of the purple batter in each muffin cup with a spoon. Spread the blue batter evenly over the top of the purple batter, but don’t press down too hard. It should be spread on top rather than swirled together. If the batter sticks to the spoon while spreading it out, lightly spray the back of the spoon with nonstick cooking spray.

Then, repeat the steps with the green, yellow, and orange batter in all muffin cups to create layers of colors. Finally, top with the red in each muffin cup. Each muffin liner should be about two-thirds full (Be careful not to fill them to the top or the cupcakes will overflow and not bake properly).

Rainbow Cupcakes with red frosting in Cupcake Pan

Bake your colorful cakes for 15-16 minutes, or until a toothpick inserted into the center of a cupcake comes out clean. Allow the cupcakes to cool completely before adding your frosting.


How to Make Buttercream Frosting

Vanilla Buttercream Frosting for Rainbow Cupcakes on yellow background

To make this deliciously easy buttercream frosting, beat together the butter, confectioners’ sugar, and vanilla on high in a large mixing bowl until nice and fluffy (about 5 minutes).

Icing Rainbow Cupcakes with Vanilla Buttercream Frosting on a yellow background

Add the icing to a piping bag. Pipe the frosting on top of the cooled cupcakes and top with sprinkles if desired (who doesn’t love sprinkles?!).

Colorful Rainbow Cupcakes on a yellow background

Store any remaining cupcakes in a food-safe container. Buttercream topped cupcakes can be kept at room temperature for three days or stored in a fridge for three days.


Rainbow Cupcake FAQs

two Rainbow Cupcakes with white frosting and rainbow sprinkles

What supplies do I need to make these rainbow cupcakes?

You’ll need the following supplies to bake rainbow cupcakes, most of which are likely already in your kitchen!

Rainbow Cupcakes with rainbow sprinkles on a yellow background

Can I freeze these rainbow cupcakes?

Yes, absolutely! I’d recommend freezing the cupcakes without the buttercream frosting, though. Wrap the cupcakes tightly in plastic wrap, then place them in a food-safe container and freeze them for up to 2 months. Be sure to bring them back to room temperature before you frost them.

The buttercream can be frozen separately in a sealed food-safe container for up to 2 months. Again, bring this back to room temperature before you get started.

Rainbow Cupcake on a table with a yellow background

How do I get that bright, vibrant color in my rainbow cupcakes?

It’s simple — the type of food coloring used has a significant impact on this! You’ll want to choose a vibrant gel food coloring. I use Chefmaster Liqua-gel to achieve my bright rainbow colors, but other brands of gel coloring work well, too!

Yummy Rainbow Cupcakes with Vanilla Buttercream Frosting on yellow background

My cupcakes turned out looking more tie-dye than rainbow. What happened?

Don’t be disheartened (and let’s be real, the rainbow tie-dye look is pretty awesome, too!)! Next time you give this recipe a go, keep this in mind: when layering the batter in the cupcake liners, gently spoon each color on top of the other and then carefully spread that color over the color underneath.

The key is to avoid swirling the colors together by pressing down too hard. A light spray of nonstick cooking spray on the back of a spoon will help you to evenly spread each layer of color without getting batter stuck to the spoon.

Rainbow Cupcake with sprinkles on a yellow background

Aren’t these SO much fun?! They’re perfect for all kinds of occasions!


two cupcakes with white frosting and rainbow sprinkles

Rainbow Cupcakes

Print Pin Save Rate
Course: Dessert
Prep Time: 15 minutes
Active Time: 16 minutes
Yields: 18 cupcakes

What You’ll Need:

  • 1 cup Unsalted Butter slightly melted
  • 1-1/4 cup Granulated Sugar
  • 3 Large Eggs
  • 1 Tbsp Vanilla Extract
  • 1/3 cup Sour Cream full fat – room temperature
  • 1/2 cup Milk – 2% or whole milk warmed in the microwave for 30 seconds
  • 2 cups All-Purpose Flour
  • 1-1/2 tsp Baking Powder
  • 1/4 tsp Baking Soda
  • 1/4 tsp Salt
  • Gel food coloring in rainbow colors red, orange, yellow, green, blue, purple

Buttercream Frosting

  • 2 cups Unsalted Butter slightly melted
  • 5 cups Confectioners' Sugar
  • 1 Tbsp Vanilla Extract
  • Rainbow Sprinkles optional, for decoration

Instructions:

How To Make Cupcakes

  • In a large bowl, beat together the butter and the sugar until thoroughly combined, for about a minute.
  • Add in the eggs and vanilla extract and beat until smooth (about 1-2 minutes).
  • Next, beat in the sour cream and milk.
  • In a medium bowl, combine the flour, baking powder, baking soda, and salt.
  • Beat the dry ingredients into the wet ingredients until just mixed.
  • Preheat the oven to 350 degrees F.
  • Divide batter evenly into six small bowls
  • Use the gel food coloring to make six different colors of batter: red, orange, yellow, green, blue, and purple.
  • Line 18 muffin cups with paper cupcake liners.
  • To create a beautiful layered rainbow look, you’ll want to layer the batter by color in the muffin cups. Start with two teaspoons of purple batter in the bottom of all the paper muffin liners, which will help to distribute the batter between all 18 cups evenly.
  • Repeat the steps with the green, yellow, and orange batter in all muffin cups to create layers of colors. Finally, top with the red in each muffin cup. Each muffin liner should be about two-thirds full.
  • Bake your colorful cakes for 15-16 minutes, or until a toothpick inserted into the center of a cupcake comes out clean

How to Make Buttercream Frosting

  • Beat butter, confectioners' sugar, and vanilla on high in a large mixing bowl until nice and fluffy (about 5 minutes).
  • Pipe this on top of the cooled cupcakes using a piping bag.
  • Top with sprinkles if desired

Notes:

  • Make sure to use gel food coloring because it won’t add extra moisture to your frosting as water-based food coloring would. For bold, bright colors, I love to use Chefmaster Liqua-gel in the following shades: super red, neon brite orange, lemon yellow, leaf green, neon brite blue, and neon brite purple.
  • It’s best to fill each of the cupcake paper liners with a layer of color before moving on to the next color rather than focusing on layering one liner with every color one by one and then moving on. This ensures that you have enough colored batter for each cup before starting with the next color.
 
Did You Make This?Mention @HeidiKundin or tag #hihmakersclub on Instagram to show off your awesome work! ♥

I’m sure these fun rainbow cupcakes are going to be a HUGE hit at your next event!

Image of text that says Heidi

Check Out These Other Rainbow Ideas!

Pin These Rainbow Cupcakes for Later!

rainbow cupcakes pin graphic
rainbow cupcakes pin graphic
Share This Post with Your Friends!

Leave a Reply

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

Rating