Rainbow cakes make everyone happy. It's just a fact of life. This rainbow cake will make you extra happy because it uses boxed cake mix for the easiest (but still amazingly delicious!) way to make such a fun cake.
It's my birthday today, and I'm so thankful for another year around the sun. Another year to do good things. Another year to raise my babies. Another year to laugh and learn. I'm thankful for it all.

Want to Save This Recipe?
Enter your email below, and I'll send it to you. Plus, you'll get delicious new recipes from me!
By submitting this form, you consent to receive emails from Worn Slap Out
We've really been celebrating since yesterday. Connor set up a whole classroom in the basement, and he celebrated my birthday exactly how they celebrate in his Kindergarten class, except I got a smorgasbord of an iced cookie, fortune cookie, or ice cream from the play kitchen. We had a mystery reader (surprise! It was me!) to read The Book with No Pictures, which is a favorite in our household. I got to stand at the front of the class while my best friend and two children sang me happy birthday. Then I was presented with a drawing Connor had been working on all afternoon. Finally, as if there could be any cuter ways to celebrate a birthday, the teacher declared me the line leader (behind him, of course) to head back up the stairs to put jammies on and get ready for bed. That was a pretty solid birthday before my actual birthday, if you ask me.
This rainbow cake recipe is magical for toddlers, y'all.
The kids went nuts over this rainbow cake. It was like I had made unicorns and narwhals pop out from their dessert. It was magical! Bri also didn't get the memo about just looking at the rainbow cake. I told her to "just look" as I was taking photos and she had some confirmation bias and interpreted that as "just lick." She got to lick a brand new cake (thank God it was meant for us) and I got the cutest picture ever.

Don't be fooled though. 95% of the time when I'm snapping pictures, they look like this.

Let's chat about some of the basics so you feel confident in making this cake at home.
Hallelujah for rainbow cake using boxed cake mix
This cake uses boxed cake mix. I'll say it again -- BOXED CAKE MIX! This cake cost me less than $10 to make. That's about $65 less than any rainbow cake you'd buy at a bakery, and it really doesn't take a lot of effort. Anytime I do something more complicated than making a regular ole cake, I always look for shortcuts because you're already going above and beyond. Cut yourself some slack.
Materials needed for this rainbow cake:
- 3 boxes of white cake mix. Any brand, any variety you prefer. I used Duncan Hines, but it doesn't really matter.
- Gel-based food coloring. See below for more details but this is really necessary.
- Six 8" cake pans. Don't worry if you only have two, no biggie. It'll just take you a lot longer because you'll have to bake in batches and wait for the cakes to cool.
- 1 can of white frosting. Make sure you don't get cream cheese or vanilla. While those are delicious choices, they won't be that vibrant white color. Be sure to get the good ole white frosting. Also note that the frosting covers enough for a "naked cake," meaning one that's barely frosted on the outside. If you want a fully covered cake, you'll definitely need to buy at least 2 cans of frosting.
- OPTIONAL: A pastry bag and Wilton tip #4 is what I use to pipe a thin layer of frosting between each of the layers. You certainly could use a plastic bag that you cut off the end of to pipe on the cake. This just makes it neater and easier to do quickly for me.
The best food coloring to use
It goes without saying, food coloring is a big part of this rainbow cake. That's what gives the cake the bright colors of the rainbow.
If you're looking for the bright, bold rainbow colors, you have to use gel food coloring. It's really the only way I've found to get those vibrant colors. I love the Wilton gel food coloring in particular.
If you're looking for a more natural food dye, you can try plant-based food coloring. I have never used this dye for this cake, so I can't speak to how it will turn out, but the colors will be much more muted. It would still be pretty but not nearly as bright.

How to make a rainbow cake
Here are a few simple, step-by-step directions for making your easy rainbow cake from your boxed cake mix!
- Preheat your oven to 325 degrees F, and spray six 8" round cake pans with non-stick cooking spray. Line the bottoms of each pan with parchment paper to prevent any possibility of sticking. This is really necessary, as you'll want your layers to come out of the pan nicely.

- Make your cake according to package directions. Get the biggest bowl you have in your house, and make a triple batch of your cake in that one bowl according to the package directions. There's no need to use a mixer. Don't mix the batter that well until the dye is in. You'll have to naturally do a lot more mixing to spread the color evenly, and you don't want to over mix the cake batter.
- Measure batter evenly into each of 7 bowls (Yes, 7. I'll explain why in a second). Start with a cup of your cake batter in each bowl. Once the batter has been evenly distributed in each of the bowls, go for a second cup of batter in each. Depending on what boxed cake mix you use, you're looking at no more than 2 ½ cups of cake batter per bowl. This'll ensure you have even layers to your rainbow cake.
- Slowly add the gel food coloring with a clean toothpick little by little into each of the bowls. Don't forget the colors of the rainbow: ROY G. BIV (except we don't do indigo around here). It's easy to get the red, blue, and yellow to be vibrant, but once you start making purple (blue and red), green (yellow and blue), and orange (yellow and red), this'll get trickier. The good thing about the gel food coloring is that it has most of these colors already mixed for you. Go easy on the darker colors (like blue when making green). Keep stirring until there are no streaks of batter. Add more color as needed bit by bit.

- Pour batter into each of your 6 cake pans or do this step in batches and bake for only about 10 minutes for layer. Once a toothpick comes out clean, take it out of the oven. Let the cakes rest for 10-20 minutes before gently flipping over onto a cooling wrack. Cool completely before frosting.
The 7th Bowl
The 7th bowl is your "oh sh*t" bowl. When you mix colors, sometimes it's easy to make a mistake and put too much of one color. This happened to me when making the orange. I put too much red in initially. No biggie. You have a chance to try again because of this 7th bowl as a back-up. Maybe you won't need it, but it's come in handy for me on at least one occasion.
Tips on frosting your cake
If you've been following me and have read my post for Homemade Strawberry Cake and Nothing Bundt Cake copycat recipe, you know that I am on a full frosting hiatus. And I'm predicting that hiatus won't be up for quire some time -- perhaps when the kids move out of the house?
That doesn't mean you can't have a beautiful cake though. I think a naked, thin layer of frosting gives the cake rustic beauty, like it's wild and free from the constraints of society. Or I'm just way too lazy to finish the cake.
Pro Tips
- Wait 10 minutes before removing the cake from the pans. Do this carefully because the layers are so thin. Handle this task gingerly.
- Stick the cake in the refrigerator for 10-15 minutes before you put frosting on the layers then again after before you do the crumb coating. It just helps make sure you don't get crumbs in your icing and makes it much easier to frost.

More Cakes You'll Love
If you love this cake, check out these other cake recipes you'll also love.
xox
kathryn


Rainbow Cake with Boxed Cake Mix
Ingredients
- 3 boxes white cake mix, whatever brand you prefer
- 1 can white frosting*
- eggs, vegetable oil, water (as called for on your cake mix)
- 1 package gel food coloring
Instructions
- Preheat oven to 325 (or whatever package on cake mix calls for), and spray six 8" round cake pans with non-stick cooking spray. Line bottoms with parchment paper. Set aside.
- In a very large bowl, make a triple batch of batter according to the package directions.
- Measure batter evenly into each of 7 bowls, starting with a cup of your cake batter in each bowl and slowly adding the same amount to each. Add gel food coloring with a toothpick to each bowl until you reach your desired color. (The 7th bowl is there only in case you mess up with a color.)
- Pour batter into each cake pan and bake for approximately 10 minutes or until a toothpick inserted in the center comes out clean. Remove cakes from oven, let cool for 10 minutes, then quickly flip to a cooling rack to cool completely.
- When cake is completely cool, place bottom layer (red) down on a cake plate or other flat surface. Add thin layer (about ¼") of icing on the inside of each layer using a pastry bag to make sure the layers stack nicely. Add next layer of cake and frost again. Continue frosting each layer until you get to the top. Stick the cake in the refrigerator for 10 minutes then frost the outside of the cake with a light crumb coating. Stop at this point (like I've done) and enjoy it or put the cake in the refrigerator for another 10-15 minutes and frost the rest of the cake.
Notes
Nutrition










Alexandra @ It's Not Complicated Recipes says
This is so much fun - what a fabulous idea. I have a couple of birthday parties coming up - I know what the birthday boys will LOVE!
Kathryn says
This is a great birthday cake to make! It has the "wow" factor when you cut into it! Business on the outside, party on the inside. 🙂
Lizet Flores de Bowen says
Happy birthday, Kathryn! such sweet memories! and the cake looks amazing! I need to give it a try 🙂
Kathryn says
Thanks so much, Lizet! It's definitely a cake that makes everyone smile!
Caitlyn Erhardt says
This is such a fun and pretty cake! The layers are also perfect as well!
Kathryn says
Thanks, Caitlyn! And best part - it's so easy!
Bob says
This cake was on your Instagram and I am still wowed by the color!
Kathryn says
Thanks, Bob! Yes...the colors are thanks to gel food coloring. It's the only way to go when you need bright colors.
Karen says
This is so fun! I can't wait to make it 🙂
Kathryn says
Thanks, Karen! Hope you love it also!
Deanna says
Such a fun cake. I'll have to keep this in mind for my Niece's birthday. She'd love it.
Kathryn says
Thanks, Deanna! It was a total hit in our house. My son just asked me to make it again for his birthday!
Lisa says
Happy Birthday! What a fun and tasty way to celebrate!
Kathryn says
Thanks, Lisa! It was fabulous!
Isabelle @ Crumb says
Happy birthday! Those behind the scenes photos are just too cute for words... kids just do the darnedest things, don't they? 🙂 I don't blame them, though. That cake looks delicious!
Kathryn says
Thanks so much, Isabelle. Kids are CRAY! 🙂
Husband says
I love it! Now will you make me another one?
Kathryn says
Perhaps for your next birthday? 🙂
Priya Lakshminarayan says
OMG that looks fab! Am drooling just looking at these pics..will try your recipe. Thanks for explaining it so beautifully.
Kathryn says
Of course! Hope you love it!
MJ says
Love this. I made one without gel and coloured the inbetween icing too. I put the red layer on the top as rainbows are in that order.
Kathryn says
Love your changes! Thanks for coming back to leave feedback!
Kate Gartland says
I'm not a cook in any sense of the word. But my 7 yr old granddaughter asked for a rainbow cake... and helped me make it... but I had some major differences in making it. I used Duncan Hines, because you did. And I got SIX bowls of 1 1/2 cups each. No way on this planet can you get 2 1/2 cups each in SEVEN bowls. That worried me.... but they did fine in the 8" pans - except they took about 14 minutes to cook at 350*. (Which had to be done twice to fit them all in)... I know we were slow because I was including the 7 year old - but good God, 20 minutes prep time? Complete with 9 egg whites and mixing color into bowls? More like a couple of hours. It looks like it will be great.... except the blue and the green came out very close in color after baking. (also, you refer to the cake batter as frosting several times in your instructions.)
Kathryn says
Hi Kate! Thanks for catching my error with using frosting instead of batter. I've made that change and updated the post for the first time since I was a bleary-eyed mom raising babies. I still hold on to the fact that it takes 20 minutes though (without kids helping though)! Happy eating!
<3,
Kathryn