Go Back
+ servings
side view of rainbow cake with a slice cut out

Rainbow Cake

Fun to make and even more fun to eat, this easy Rainbow Cake is downright magical! Pair with buttercream frosting and sprinkles.
Prep Time 2 hrs
Cook Time 15 mins
Cool Time 1 hr
Total Time 3 hrs 15 mins
Course Dessert
Cuisine American
Servings 18 servings
Calories 482 kcal


  • 32.5 oz white cake mix two 16.25 oz boxes
  • eggs, oil, and water amounts depend on the boxed instructions
  • gel food coloring in six colors
  • rainbow sprinkles optional

For the Frosting

  • 1 cup butter softened
  • 4 teaspoons vanilla extract
  • 2 pounds powdered sugar
  • 4 tablespoons milk give or take a few tablespoons


  • Preheat the oven to 350 degrees. Line six 8-inch round cake pans with parchment paper then spray with nonstick cooking spray. Set them aside.
  • According to package directions, prepare cake batter by adding oil, eggs, and water. Evenly divide the batter into 6 bowls. You can do this by eye or by weighing the batter and dividing it by 6.
  • Color each bowl of batter a different color of the rainbow (red, orange, yellow, green, blue, and purple) with the matching gel food coloring.
  • Pour each bowl of batter into one of the prepared pans until each pan is filled with one color. Bake for 13-17 minutes then cool completely before frosting.

For the Frosting

  • Measure out the butter, powdered sugar, and vanilla into a large bowl or the bowl of a stand mixer. Using a hand or stand mixer, start to combine the butter into the powdered sugar.
  • With the mixer on, slowly stream in your milk tablespoon by tablespoon until it starts to come together and look creamy. If it hasn’t come together, add another tablespoon, mix and wait it out.
  • After about 2 or 3 tablespoons, your frosting should be thick enough to hold its shape, but light enough to have a butter knife or rubber scraper run through it with ease.

To Assemble

  • Starting with the red cake layer, stack each cake layer in rainbow order making sure to spread frosting in between each layer.
  • With the remaining frosting, frost the sides and top of the cake. If you want to do a crumb coat, refrigerate then do a final coat of frosting, feel free to do that!
  • Decorate with rainbow sprinkles and serve.


Calories: 482kcalCarbohydrates: 92gProtein: 2gFat: 12gSaturated Fat: 3gPolyunsaturated Fat: 3gMonounsaturated Fat: 5gTrans Fat: 1gCholesterol: 1mgSodium: 476mgPotassium: 44mgFiber: 1gSugar: 71gVitamin A: 456IUVitamin C: 1mgCalcium: 120mgIron: 1mg
Keyword rainbow cake, rainbow layer cake
Still Hungry?Join us for more on Facebook!