I remember the first time I packed a dessert for a holiday picnic and it ended up a smashed, sad mess at the bottom of the basket. That was the moment I discovered the magic of the jar cake, a portable and perfectly layered treat that stays beautiful until the very last bite! It is such a fun way to bring a little sparkle and joy to any ordinary afternoon or special celebration.
This recipe takes a classic, fluffy vanilla base and adds a vibrant rainbow sprinkle pop that makes every single jar feel like a party. Whether you are gifting these to your best friends or tucking one into a school lunchbox, they are guaranteed to bring a huge smile to anyone who gets a peek at those colorful layers.
The Ultimate Portable Flavor Pop
You are going to absolutely love how these jars keep every crumb moist and delicious while looking stunningly beautiful on a dessert table. They are the perfect solution for big parties where you want individual servings without the mess of cutting and serving a whole cake. Plus, the ratio of creamy frosting to soft cake in every single spoonful is just pure magic that you can’t get with a traditional slice!
These treats are also incredibly sturdy, making them the best companion for travel or outdoor events. There is something so satisfying about dipping a spoon through layers of frosting and sprinkles. It transforms a simple dessert into an interactive experience that guests of all ages will find completely wonderful and special.
Print
Jar Cake
- Total Time: 32 mins
- Yield: 6 jars
- Diet: Vegetarian
Description
Create delightful, portable treats with these vibrant vanilla sprinkle jar cakes. Perfect for picnics or parties, these layered desserts stay moist and look stunning while offering the ideal ratio of fluffy frosting to soft cake in every bite.
Ingredients
- All-purpose flour
- Cornstarch
- Baking powder
- Salt
- Unsalted butter, room temperature
- Granulated sugar
- Egg whites, room temperature
- Canola oil
- Pure vanilla extract
- Whole milk, room temperature
- Rainbow sprinkles
- Powdered sugar
Instructions
- Preheat oven to 350℉ (175℃) and grease a 9×13 or 7×11 inch jelly roll pan, then line with parchment paper.
- In a medium bowl, whisk together the flour, cornstarch, baking powder, and salt for an even rise.
- Cream the butter and sugar for 3-4 minutes until light, fluffy, and pale yellow.
- Mix in the egg whites one at a time, followed by the canola oil and vanilla extract.
- Alternately add the dry ingredients and milk on low speed, beginning and ending with the flour mixture.
- Gently fold in the rainbow sprinkles, pour into the pan, and bake for 8-12 minutes until a toothpick comes out clean.
- Whip butter for 4 minutes, add powdered sugar and vanilla on low, then whip at high speed until light and fluffy.
- Cut cake into circles using a cookie cutter and layer with frosting and extra sprinkles inside jars.
Notes
To keep the cake layers extra moist if making in advance, lightly brush each cake circle with a simple syrup before layering with frosting. These jars are freezer-friendly; just ensure you use freezer-safe glass and leave a little headspace at the top.
- Prep Time: 20 mins
- Cook Time: 12 mins
- Category: Dessert
- Method: Baking
- Cuisine: American
The Flavor Stars

To make these delightful jars, you will need a few simple pantry staples and one very important guest of honor: the sprinkles! Here is what makes this recipe a total winner in my book:
- The Cake Base: We use a combination of all-purpose flour and cornstarch. This secret mix gives the cake a tender, professional texture that holds up perfectly in the jar.
- Room Temperature Ingredients: Make sure your butter, egg whites, and milk are at room temperature. This helps everything emulsify into a smooth, dreamy batter.
- Rainbow Sprinkles: The ultimate flavor pop! These add a crunch and a burst of color that makes the cake look like a confetti celebration.
- Pure Vanilla Extract: This provides that nostalgic, warm flavor that everyone craves in a classic vanilla treat.
- Fluffy Buttercream: A simple mix of butter and powdered sugar that we whip until it is as light as a cloud.
The Simple Process
Step 1: Prep Your Pan
Preheat your oven to 350℉ (175℃). Grease a 9×13 or 7×11 inch jelly roll pan with butter or shortening and line it with parchment paper. Re-grease and flour the parchment to make sure your cake pops right out after baking!
Step 2: Mix the Dry Ingredients
In a medium bowl, whisk together your flour, cornstarch, baking powder, and salt. This distribution is key for an even rise and a perfect crumb.
Step 3: Cream the Butter and Sugar
Using a stand mixer or hand mixer, cream the butter and sugar for about 3-4 minutes. You want it to look very pale yellow and feel light and fluffy. This step incorporates the air that makes the cake soft!
Step 4: Incorporate the Liquids
Add your egg whites one at a time, mixing well after each one. Then, pour in the canola oil and vanilla extract. The oil helps keep the cake moist even when it is chilled in the fridge.
Step 5: Combine Everything
With the mixer on low, alternate adding the dry ingredients and the milk. Start and end with the flour mix. Be careful here—only mix until the flour just disappears! Overmixing leads to a tough cake, and we want ours to be tender.
Step 6: The Sprinkle Pop
Using a spatula, gently fold in those beautiful rainbow sprinkles. Pour the batter into your prepared pan and bake for 8-12 minutes. A toothpick in the center should come out clean. Let it cool completely before you even think about the jars!
Step 7: Whip the Frosting
Whip your butter for 3-4 minutes until it is creamy. Add the powdered sugar and vanilla on low until crumbly, then crank up the speed for another 3-4 minutes until it is light and fluffy. Add a splash of milk to get that perfect piping consistency.
Step 8: Assemble the Magic
Use a circle cookie cutter to cut pieces of cake that match your jar size. Place a cake circle at the bottom, pipe a layer of frosting, add more sprinkles, and repeat until you reach the top. Keep the jar sides clean with a paper towel for that professional look!
Jasmine’s Secret Flavor Pops

If you want to take the flavor from good to wow, try adding a tiny drop of almond extract to your buttercream frosting. It adds a sophisticated depth that people can’t quite put their finger on but always love! Also, for the best visual impact, use wide-mouth jars so you have plenty of room to pipe pretty swirls. If you are looking for more small-scale inspiration, check out our guide on mini-cakes for extra tips on tiny treats.
Another trick is to lightly soak the cake layers with a simple syrup if you plan on making these a few days in advance. This keeps them incredibly juicy. You can find even more creative assembly ideas by checking out this cake in a jar recipe which has some fantastic layering techniques to try!
Make It Yours
One of the best things about this recipe is how easy it is to change up the flavor pop! Instead of vanilla and rainbow sprinkles, try a chocolate version with mini chocolate chips and a salted caramel drizzle between the layers. If you love the idea of themed desserts, you might also enjoy learning about the cake-bento trend, which is another amazing way to serve individual portions.
You can also go seasonal! Use pumpkin spice and cream cheese frosting in the autumn, or fresh lemon zest and blueberry jam for a bright summer treat. The jars act as a canvas for whatever flavors you are dreaming of at the moment. Just keep the cake-to-frosting ratio balanced for the best experience.
Simple Serving Style

These jars look absolutely adorable when finished with a piece of twine or a colorful ribbon tied around the lid. If you are serving them at a party, I love to attach a small wooden spoon to the side so they are ready to eat immediately! These are the ultimate lunch-box-cake addition because they fit perfectly and won’t get crushed during a busy day.
For a fancy touch, top the final layer of frosting with an edible flower or a single fresh raspberry. It makes the presentation feel so thoughtful and high-end. If you are serving these at home, try warming the jar for just five seconds in the microwave to make the frosting slightly melty and extra decadent.
Keep Popping
I am so excited for you to try this recipe and see how easy it is to make something that looks this impressive. It is all about that one smart addition of sprinkles and the fun of the jar that changes everything! If you find yourself craving a quick sweet fix without the layering, you should definitely try our chocolate-mug-cake for an instant flavor win.
Don’t forget to share your beautiful creations with me! I love seeing how you make these your own. Follow us for more flavor pops on Pinterest, Instagram, and Facebook. Happy baking, and keep making those ordinary moments extraordinary!







