Rainbow Cake in a Jar

Rainbow cake in a jar; This rainbow cake is baked in a canning jar, recipe and instructions for how to bake a cake in a jar included.


To learn how to make rainbow cake in a jar, please see the updated post HERE.

Source:  Gordon Gossip, courtesy of Pinterest.

Yield: 3 pint jars or 6 half pint jars

I read this post on the Time Out For Women blog about things that make you happy, and I thought it would be a perfect excuse to share this cake-in-a-jar recipe with the world.  The timing is double perfect, since we are nearing St. Patrick’s Day, and this cake is brightly-neon-rainbow-colored.  Maybe I should have made a plain green on as well, just for laughs.  I feel an update coming on!

We love canning jars at our house.  My husband once told me that he preferred a Mason jar over a regular drinking glass, and he was thrilled to find a few more jars in our cupboard the following day.  Mason jars is the closest thing we have to a matched set of glasses!  (Having three kids who routinely break glassware might have something to do with that, too.)  At any rate, desserts made in mason jars appeals to us a great deal.

A family birthday party gave me just the excuse I needed to make these.  I knew there would be 13 of us, so I washed 13 jars in preparation.  Of course, I could only find 10 half-pint jars in my house, since the rest were full of plum jam (made with plums from my grandmother’s tree… YUM), so I also used 3 pint jars.  I also used 2 [tooltip text=”I guess I could have used a white cake, but vanilla just sounded so much better.”]vanilla cake mixes[/tooltip], and mixed them according the the directions on the package.  Then I separated them into 5 bowls, and added the neon food coloring.

Oh, to have cute glass bowls that photograph well!  *sigh*

I have a food coloring problem.  I’m working hard to overcome it.  I grew up making sugar cookies with cream cheese frosting for Christmas.  We used ONE drop of food coloring (maybe two for a big batch, but never more!) in the frosting.  We never liked the bright, play-dough looking cookies, and preferred the softer, pastel colors.  It’s become a habit.  I never use enough food coloring.  I almost can’t bring myself to do it.  I used 6-7 big drops of liquid food color in each bowl, but they baked up too soft and pastel, not nearly as cute as the Gordon Gossip version.  Next time I make this I will force myself to use about double that amount, and make them really bright and vibrant.  Just watch me.

They still came out pretty cute, don’t get me wrong, but not nearly as bright and rainbow-ey as I had hoped.

I baked them by placing them all in a 9×13 pan, and adding about 1/4″ water to the bottom of the pan.  They took about 35-40 min in a 350 degree oven.  Mine did not overflow as some other have reported, which made life easier for me!  I put a big dollop of vanilla frosting on top, and a few sprinkles to dress it up.

They are pretty darn fun, and the kids loved eating their cake in a jar!  There is something about using that canning jar that makes everyone happy.

Rainbow Cake in a Jar
Cook time
Total time
Yield: 6
  • 1 white or vanilla cake mix (prepared according to package directions)
  • 1 can frosting
  • neon food coloring
  • sprinkles
  • 3 pint jars or 6 half-pint jars
  1. Prepare cake mix according to package directions.
  2. Divide batter evenly between 5 different bowls. Add several drops of food coloring to each bowl, until each color is bright and vibrant.
  3. Drop spoonfuls of batter into the jars, layering colors.
  4. Place jars in a shallow baking dish and add ¼" water to the bottom of the dish. Bake at 350 degrees for 35-40 minutes.
  5. Allow to cool before dropping a spoonful of frosting on top of each jar. Top with sprinkles.

If you enjoy this recipe, you might also enjoy:

Rainbow Cupcakes from Mama Clucks

Mint Brownie Grasshopper Pie in a Jar from Kitchen Meets Girl

St. Patrick’s Day Rainbows from Our Best Bites

Rainbow Cake

Cake in a Jar



  1. These are gorgeous, and just a wonderful idea for a kiddo’s party! And thanks so much for linking my Grasshopper Pie! =) Have a wonderful weekend!

  2. Hi Jen, Thanks so much for stopping by my blog and leaving a comment, it made me smile. :)

    I had to return the favour. Your blog is fantastic. I’m loving the layout, the fonts, and colours. Your photography is great too – and the food, of course!

    I’m now your newest blog subscriber. I hope you don’t mind me stopping by and commenting? I hope you subscribed to my blog too :)

  3. Ike Liauw says:

    These look wonderful,1 quick question though, do you spray your jar with non-stick cooking spray before you add the batter? Thank you


  1. […] Rainbow Cake in a Jar:  This simple white cake can easily be dressed up with neon food coloring in rainbow shades, and […]

join the conversation


Rate this recipe: