type in what you're looking for and press enter
5 from 8 votes

Rainbow Cake

Prep time
20 mins
Cook time
20 mins
Total time
40 mins



  • 1 cup butter, softened
  • 1.5 cups granulated sugar
  • 4 eggs
  • ¾ cup milk
  • 2 cups of GF all-purpose flour
  • ½ tsp salt
  • 2 tsp baking powder
  • 2 tsp pure vanilla extract


  • 4 cups powdered sugar
  • 1 cup butter, softened
  • ¾ cup cocoa powder
  • 2 tbsp milk
  • 3 tsp pure vanilla extract


  1. Preheat oven to 350 degrees. 
  2. Make the cake batter: In a large bowl, combine the butter and sugar. Add in the eggs. Add flour, baking powder, and salt. Add milk and pure vanilla extract. Mix well. 
  3. If making two layers, then divide cake batter into 2 bowls. If 5 layers then divide into 5 bowls, etc.
  4. Dye the cake batter with different food dye colors such as blue and green. 
  5. Pour contents of small bowls into their respective cake pans and bake for 18-20 minutes or until cake is cooked.
  6. I recommend doing a smaller cake pan like 6 inch pan so the layers are thicker but you can do 8-9 inch pans.
  7. In a medium-sized bowl, combine the powdered sugar and cocoa powder to make the chocolate frosting. Add in butter, and then vanilla extract and milk. Mix well. You will most likely need to double or triple the frosting ingredient amounts. 
  8. When the cakes cool, stack the cakes on top of each other with chocolate frosting in between and on the top layer and sides.
  9. Add sprinkles & other decorations as desired!
Gluten-free chocolate Rainbow Cake
Dish Type:
Dessert, Cakes
Rate this recipe
Print this recipe