Easy Rainbow Cake Recipe

Celebrate special occasions with a burst of color and flavor! This Easy Rainbow Cake is not only visually striking with its vivid layers, but it’s also simple to make, using basic ingredients and a straightforward method. Ideal for birthdays, parties, or any festive gathering, it guarantees to be the show-stopping centerpiece of your dessert table.


  • 1 box white cake mix (yellow cake mix is also suitable)
  • Eggs, butter, milk, and water (as specified by the cake mix instructions)
  • Food coloring in red, orange, yellow, green, blue, and purple
  • 4 cups whipped cream or Cool Whip
  • ¼ cup mini M&Ms
  • 2 tablespoons rainbow sprinkles


  1. Prepare Ingredients: Follow the instructions on the cake mix box to blend the eggs, melted butter, milk, and water in a large bowl.
  2. Color the Batter: Divide the batter evenly into six bowls. Use the food colorings to tint each bowl a different color (red, orange, yellow, green, blue, purple), adjusting the amount to achieve the desired intensity.
  3. Prepare Baking Pans: Line two 8-inch round cake pans with parchment paper and grease the sides.
  4. Bake the Cake: Spoon the colored batters randomly into the pans and gently swirl with a toothpick for a marbled effect. Bake at 350°F for 30-40 minutes, or until a toothpick inserted in the center comes out clean.
  5. Assemble and Frost: Allow the cakes to cool completely. If necessary, level the tops. Place one layer on a serving plate, spread with whipped cream, then top with the second layer. Frost the entire cake with the remaining whipped cream.
  6. Decorate: Sprinkle the top with mini M&Ms and rainbow sprinkles for a festive finish.


  • Coloring: Gel food colorings are recommended for their vibrancy and consistency control.
  • Cooling: Ensure the cake layers are completely cool before frosting to prevent the whipped cream from melting.
  • Creative Variations: Experiment with different frostings or add fillings like fruit preserves or chocolate spread for added flavor and texture.


  • Can I make this cake ahead of time? Yes, you can bake the cake layers a day in advance and store them wrapped in the refrigerator. Frost and decorate on the day of serving.
  • How do I store leftover cake? Keep any leftovers in an airtight container in the refrigerator for up to 3 days.

Prep Time: 10 minutes
Cook Time: 30 minutes
Decorating Time: 20 minutes
Total Time: 1 hour
Yield: 12 servings
Category: Dessert
Method: Baking
Cuisine: American
Diet: Vegetarian

This Easy Rainbow Cake is the perfect recipe for anyone looking to add a pop of color and a touch of magic to their celebrations. Its simplicity, combined with the joy it brings to both bake and serve, makes it a must-try for any festive occasion. Get ready to dazzle your guests and make any event a bit more special with this beautiful and delicious cake.

Leave a Comment