Skip to Content

Rainbow Cupcakes in a mason jar

Make Mason Jar Rainbow Cupcakes that look like a rainbow in a jar. Our rainbow cupcake recipe show steps on how to make a rainbow cake or mini mason jar cake.
 How to make rainbow cake, Rainbow Cupcakes, Rainbow in a jar
This post contains affiliate links which means if you make a purchase we might receive a small commission at no additional cost to you.
Wouldn’t it be fun to serve these Rainbow Cupcakes for a fun St Patrick’s Day dessert?  We made this rainbow in a jar St Patrick’s Day treat from a boxed cake mix to celebrate a day when we all wish to be Irish.   I have always had so much fun with St. Patricks Day, from giving my son green milk to sticking clovers in my girl’s hair.   I never wish to pass a chance to have some fun even if all the kids are grown.

How to make rainbow cake in a mason jar with this rainbow cupcake recipe:

Scroll down for the printable directions

Rainbow Cupcakes, rainbow cupcake recipe

It doesn’t take long to make these fun cupcakes.  You can use a white cake mix and follow the directions of the box to make the cake batter.  Divide the cake batter between 5 different small bowls.   In each bowl of batter add a few drops of food coloring in 5 different colors of the rainbow.  Then add a spoonful of each colored batter in each pint mason jar and bake in a water bath.


Rainbow Cupcake in a Mason Jar, rainbow in a jar, mason jar cake

But these Rainbow Cupcakes really take the cake. (pun intended)  This Rainbow in a jar was a fun little challenge and so delicious.    We are loving all the bright bold colors on these.    These are better than finding gold at the end of the rainbow, they are so pretty and make a delicious St Patrick’s Day Treat.  And that is how to make a rainbow cake or mason jar cake for St Patrick’s Day.

If you enjoyed this rainbow cupcake recipe then try:


Click HERE to save this recipe for Rainbow Cake Pinterest


Rainbow Cupcakes baked in a Mason Jars

Make Mason Jar Rainbow Cupcakes that look like a rainbow in a jar. Our rainbow cupcake recipe show steps on how to make rainbow cake or mini mason jar cake.
Prep Time15 mins
Cook Time40 mins
Total Time55 mins
Course: Dessert
Cuisine: American, Irish
Keyword: How to Make Rainbow Cake, Mason Jar Cupcakes, Rainbow Cupcake recipe, Rainbow Cupcakes, Rainbow in a Jar
Servings: 8
Calories: 240kcal
Author: Evelyn


  • Spray the inside of the jars with a nonstick baking spray and preheat the oven to 350 degrees.
  • Prepare the cake mix according to package directions.
  • Divide the batter evenly into 5 separate bowls. (about 1/2 cup of batter in each bowl).
  • Add different food colors to each of the bowls and mix well to achieve bright bold colors.
  • Carefully drop blobs of the different colored batter into your prepared jars filling about halfway.
  • Place jars in a 9 X 13 pan and fill with about 1/4 to 1/2 inch of water.
  • Bake for 45-50 minutes until done. You can test for doneness by using a Cake Tester
  • Remove from the oven and water bath and let cool.
  • Once the cupcakes are cool, frost the tops and decorate with St. Paddy’s Day Cupcake Toppers and/or green sprinkles


Calories: 240kcal | Carbohydrates: 53g | Protein: 3g | Fat: 2g | Saturated Fat: 1g | Sodium: 448mg | Potassium: 40mg | Fiber: 1g | Sugar: 27g | Calcium: 142mg | Iron: 1mg


Recipe Rating

Molly Wagner

Monday 17th of March 2014

How fantastic that you've put these in a mason jar! I love it!

Lucy T

Friday 14th of March 2014

These are so fun!! And I love that the mason jars show off the cupcakes so well!! Pinning.

Clairejustine oxox

Sunday 9th of March 2014

Aww these are great, my kids would love them :)

Jessi @ Practically Functional

Thursday 6th of March 2014

These are too cute, and so festive! Stopping by to pin this.


Monday 3rd of March 2014

These would be so very much fun for my granddaughter. Thanks for the clever idea - I would never have thought of making them in a mason jar.