DIY; Rainbow Cake in a Jar

July 23, 2013

rainbow cake in a jar 1

Nothing is better than eating Rainbow Cake out of a jar. NOTHING. I have said it before, and I'll say it again I love jars. LOVE them. But really, how could you say no to rainbow cake in a jar? You couldn't. It tastes delicious, it's in a jar, you can pop a lid on to give it as a gift or party favor, or to store it, it looks wonderful, it's in a JAR, and it's fun! Here is my tutorial & recipe for Rainbow Cake and Tie Dye cakes in a jar as well as for perfect simple vanilla frosting.

rainbow cake in a jar 2

For the Jars;
I used half pint jars. They are the perfect size! This recipe will make about 8. Make sure you clean and dry them before use.

rainbow cake in a jar 3

For the Cake;
-You cannot use boxed mix to do this project. Don't even try. Your cake will come out muddy and ugly.
Instead you need a thick homemade cake batter. I am all about simplicity in the kitchen and so this recipe from Amy Sedariss
worked perfectly. It wasn't too sweet and it was wonderfully thick! But you can use whatever recipe you like best. 
-Once you have made the batter, separate it equally into 6 different bowls and tint red, orange, yellow, green, blue, and purple.
You do not need to grease or spray the jars as the cake is not going to be removed from the jars. Using either piping bags or a spoon,
put the cake batter into the jars in layers in rainbow order. Fill the jars just over halfway with the batter.
-Transfer the jars to a pan with high sides. Fill the pan with about a half inch of water. The water bath is so the cake does not brown.
Bake jars of cake at 350 (F) for about 35 minutes (or until a toothpick comes out clean).
-When the cakes are done take them out to cool. They will have puffed up on top. Once cool, scoop off the puffed up tops.
You can discard these, or as I found, fill another jar with them, making a fun tie dye pattern!

rainbow cake in a jar 4

rainbow cake in a jar 5

rainbow cake in a jar 6

rainbow cake in a jar 7

For the Frosting;
In a bowl, beat together, 5 cups of (sifted) confectioners sugar, 3 tablespoons of milk, 1 stick (8 tbsp) of softened butter, and 1 tsp of vanilla extract (all natural, do not use imitation (ever)) until fluffy. If it is too thick add more milk. if it is too thin add more powdered sugar. This frosting compliments the cake so perfectly! So thick and creamy! Frost the cakes and decorate as desired! I used rainbow nonpareils!

rainbow cake in a jar 8

rainbow cake in a jar 9

rainbow cake in a jar  10

rainbow cake in a jar 11

For Tie Dye Cake in a Jar;
Doing regular rainbow cakes in a jar will result in enough chopped off tops of the cake for one or two tie dye cakes.
But what if you only want tie dye cakes? Make the cake batter and separate into the 6 colors like directed above.
Line a muffin tin with cupcake liners. Spoon three layers of color (half should be red orange and  yellow,
the other half green blue and purple) into each cupcake liner. Bake at 375 for 20 minutes or until a toothpick comes out clean.
Once cool, cut the cupcakes in half horizontally (so there are a top and a bottom not a left side and a right side).
Use these pieces of cake to stuff the jars. Frost and decorate as you please!

rainbow cake in a jar 12

rainbow cake in a jar 13

rainbow cake in a jar 14

Lastly; I finally got a Pinterest! And yes, I realize I'm a little late to jump on board, but I'm really excited! I am super new to it, and so I really don't know where to start. I'm looking for accounts to follow (full of decor, wedding, diy, food, inspiration), and I know all of you must have lovely Pinterests. SO if you are interested, follow me on Pinterest here (or click the button in the right sidebar) and/or comment below with the name of some of your favorite Pinterest accounts. So I can check out your account, as well as the ones you love & maybe follow some! You will also realize, that when you hover over (most of) my photos there's now a Pin it button! (I ask that you only pin those with the button (it will link back to the post anyway) and as always, never pin anything without giving credit.) My blog posts are finally pin-able! Very exciting. 

xo, Stay Infinite


  1. These are making my mouth water! It looks SO YUMMY! Why do you have to have such amazing posts?! Does liquid dye work ok? Also, any good places you would recommend to buy jars for a good bargain?

    1. Hi Emily!
      Thanks so much, you are so sweet. And yes, I used liquid dye. And honestly, as much as I don't like Walmart, you can get jars really inexpensively there (that's what I did)! Target should have good deals as well!

    2. here, in las vegas, all of our 99cent stores have small mason jars even with lids. I saw them at Target yesterday in the $1 section. Also, you could consider using olive jars, pickle jars, etc.

  2. WOW! They look so amazing! I've got a think for jars too >.< I can't wait to try this out! I don't know about giving them as presents though.. I might just have to keep and eat them all myself haha!!

  3. so yummy and sexy food! i really love rainbow cake and i'll try it xx

  4. O my goodness! These are just beautiful! I can't wait to make these!

  5. this looks really delicious! and the pictures you took are awesome, love this post!

  6. This's the most amazing stuff I ever seen <3 I wanna try..they look so delicious <3


    Federica F.

  7. WOW! Looks delicious.

  8. omg. feed me. this looks amazing and so pretty!! follow each other?


  9. Yum! I want ice cream with mine. :)

    PARIS // @CharcoalAlley

  10. It looks like very very yummy,
    I love rainbow cake

  11. They are so beautiful! Perfect for parties :)
    Shop my closet

  12. I have been meaning to try this.. love the idea.

  13. This is SO cool! I'm definitely trying it!

  14. I have already expressed my huge desire to eat these! Looking at this post makes me feel like we're REALLY behind in technology... The fact that I can't put my hand through the screen and grab those jars makes me so angry:(!

  15. Wow, gorgeous presentation:) And what a fun idea! I have a bunch of little cousins who would love to give this a go.

  16. WOW, looks so pretty and delicious!
    Greetings from Vienna :)

  17. Miam, I love that!!!


  18. How pretty! Would be a fun dessert for parties

    :) Liz @

  19. mmm so yummy i love the colors !!

    so much love from Casablanca

  20. I am so thrilled to try this!!! Wow, how fun and relish!!!

    Lauren at adorn la femme

  21. Oh how cute!! I'm a baking addict!! I bake fresh bread each day and a few cakes a week. NEED to try this! Thank you so much for sharing!

    XOXO from the Netherlands,

    ❤ ❤ ❤ ❤ ❤ ❤ ❤ Lucia Flores Diary ❤ ❤ ❤ ❤ ❤ ❤ ❤

  22. omg this looks super fun and delightful - perfect for parties! <3

    check out my latest inspiration post! :)

  23. You made my day!! I want to try this one!! :D

  24. Wow this looks both beautiful and yummy! Love it! :)

  25. These look so impressive and yet don't sound impossible to do! Great idea! I love your blog already x

    The perks of being a hipster

  26. Omg, those look incredible! Wonderful job. :)

    xo, Lily on Fillmore

  27. wow, this is really awesome!

  28. It looks so tasty! In this jars and with the topping! I would eat in all! xx

    Justine | BRIGHTON DREAM


  30. best food EVER. This looks so amazing, cannot believe it is edible :D Unfortunately when I try to do smth like that (I mean good looking and tasty food) it ALWAYS looks ugly and taste...not too bad.
    I would like to try but I'm afraid that the only thing I can expect is catastrophe in the kitchen.

    And now, because probably I am blind, please tell me where did you bought those jars and "colour" for the cake?


    1. Thank you so much!

      And, I got the jars at WalMart actually. They are Ball brand, half pint canning jars. But they are also available at craft stores, and online, I know Amazon has them as well!

      And the cake color is from WalMart again, I didn't use anything special, just the standard red, blue, green, yellow liquid dyes. I'm sure you could use whatever!

  31. These are perfect as gifts! What I would like to know is.. should I keep them in the refrigerator overnight before I give them to present them? or would leaving them out with the frosting be alright.

    1. When I made them I just screwed the lids on and kept them in my refrigerator over night, mainly because there is milk in the frosting!

  32. These look great and I would like to do this with my girl scouts for St Patty's Day. I only make box cake so would you be willing to share your cake recipe so I know they turn out right? Thanks.

  33. Can you please share your cake recipe. I use box cake for everything. Thanks. Want to try this with my girl scouts.

  34. Here I thought it was a perfect idea to ship over to my husband on deployment. ��������

  35. Here I thought it was a perfect idea to ship over to my husband on deployment. ��������


Latest Instagrams

© Juliette Laura. Design by FCD.