Desserts
This jelly bean cake recipe delivers the perfect balance of vibrant swirls and irresistibly moist layers that make every slice a celebration. The secret lies in using a precise ratio of cake flour and buttermilk, which creates that signature tender crumb while keeping the jelly beans evenly distributed throughout.
I’ve baked this cake for birthdays, holidays, and just-because moments—it’s always a crowd-pleaser without requiring advanced techniques.
The recipe begins with a simple boxed cake mix base, elevated by the addition of crushed jelly beans mixed directly into the batter. This ensures each bite carries that signature pop of color and sweetness, while the buttermilk keeps the texture rich and moist.
Baking at a precise temperature guarantees even layers, and the optional swirl of jelly bean jam between layers adds an extra layer of flavor and visual appeal.
What you’ll end up with is a cake that’s as beautiful as it is delicious—golden layers with rainbow swirls that crumble just enough to release pockets of jelly bean flavor. The frosting, made with cream cheese for stability, complements the cake’s moisture without overpowering it.
This is the kind of dessert that makes any occasion feel special, whether it’s a child’s birthday or a simple weekend treat.
For those with dietary restrictions, I’ve included adjustments for gluten-free and vegan versions, so everyone can enjoy this vibrant masterpiece. Let’s get started on creating a cake that’s sure to impress.
Ingredients for jelly bean cake
Fourteen ingredients. One showstopping cake. All the rainbow fun, none of the fuss.
| Ingredient | Amount | Notes |
|---|---|---|
| Boxed Vanilla Cake Mix 🍰 | 1 box | Any brand, unsweetened preferred |
| Jelly Beans 🍬 | 1 ½ cups | Assorted colors, crushed finely |
| Buttermilk 🥛 | 1 cup | Full-fat for best moisture |
| Vegetable Oil 🫒 | ½ cup | Light or canola preferred |
| Large Eggs 🥚 | 2 whole | Room temperature for even mixing |
| Jelly Bean Jam 🍯 | ½ cup | Store-bought or homemade |
| Cream Cheese Frosting 🧀 | 1 package | 8 oz size, standard recipe |
| Unsalted Butter 🧈 | ½ cup | Softened for frosting |
| Powdered Sugar 🍚 | 2 cups | Sifted for smooth frosting |
| Vanilla Extract 🌿 | 1 tsp | Pure extract for frosting |
| Cake Flour 🌾 | ¼ cup | For extra tenderness |
| Baking Powder 🍃 | 1 tsp | For lift and fluffiness |
| Salt 🧂 | ¼ tsp | Fine sea salt preferred |
The jelly beans are the star, so pick the good ones—avoid those cheap, chalky ones that taste like sugar. Trader Joe's and Haribo brands are my go-tos for vibrant color and real flavor. Crush them finely in a food processor or heavy bag with a rolling pin—no big chunks, or you'll get uneven bites. The cake mix? Betty Crocker SuperMoist or Duncan Hines work perfectly, but any boxed vanilla will do. For the buttermilk, don't grab the low-fat kind—full-fat gives that rich, moist texture we're after here. If you're short on time, use 1 cup milk + 1 tsp vinegar as a substitute, but let it sit for 5 minutes to thicken.
No jelly bean jam? Make your own—simmer 1 cup jelly beans with 1/2 cup water and 1 tbsp cornstarch for 5 minutes, then strain. Short on cake flour? Substitute all-purpose flour, but add 1 tsp baking powder extra to keep it light. The frosting is where you can get creative—add a splash of vanilla extract or a pinch of salt to balance sweetness. For a tangy twist, mix in 1 tbsp lemon juice. And if you're feeling fancy, swap the powdered sugar for confectioners' sugar (they're the same thing) but sift it well to avoid lumps. The cream cheese frosting? Philadelphia brand is my secret weapon for smooth, creamy results.
This cake keeps beautifully—3 days at room temperature covered loosely with plastic, or 1 week refrigerated in layers separated by parchment. For freezing, wrap each layer tightly in plastic and freeze for up to 3 months. Let it come to room temp before frosting. Pro tip: Crush extra jelly beans and sprinkle on top of the frosting for a pop of color. The frosting can be made a day ahead—just whip it up and store in the fridge, then re-whip before using. Trust me, the flavor gets better overnight.
Why You'll Love This Recipe
- No Box Needed: I swear, this cake starts with a box—but ends up feeling homemade. Mixing the buttermilk and oil with the cake mix is that easy, and the jelly beans fold in like a fun surprise. No fancy techniques, just stir, bake, and enjoy.
- Hidden Flavor Bomb: Between us, the jelly beans aren’t just for looks—they melt into the batter, leaving little bursts of fruity sweetness in every bite. The buttermilk keeps it moist, and the eggs give it just the right structure. It’s like dessert without trying too hard.
- Party in a Box: Birthday? Brunch? Random Tuesday? This cake works for all of it. The colors pop, the taste is universally loved, and it’s way more exciting than a plain vanilla sheet cake. Plus, no one will guess it’s box-mix-based.
- Leftovers? No Problem: The cake stays soft for days, so you can bake one and enjoy it over breakfast, dessert, or even a snack. Honestly, I’ve had it cold, room temp, and warmed—it’s all good. And since it’s budget-friendly, you won’t feel guilty making a big batch.
Step-by-step instructions for jelly bean cake recipe
Here's how to create a wonderfully moist cake with vibrant jelly bean swirls and creamy frosting.
Prepare the Jelly Bean Batter
In a large mixing bowl, combine the 1 box of boxed vanilla cake mix, 1 cup of buttermilk, 0.5 cup of vegetable oil, and 2 whole large eggs. Using an electric mixer on medium speed, beat everything together for about 2 minutes until the batter is smooth and fully combined. This ensures all the dry ingredients are properly incorporated and the cake will bake evenly.
In a separate small bowl, mix together 0.5 cup of jelly bean jam with 1 teaspoon of vanilla extract. This jam mixture will create those beautiful swirls throughout the cake. You'll want to add this to the batter in the next step, but don't worry about overmixing—this cake is forgiving.
To the wet mixture, add the 1.5 cups of crushed jelly beans. I like to press them gently into the batter so they're evenly distributed. This step is what gives your cake that signature colorful swirl effect. The jelly beans will soften slightly during baking but maintain their vibrant colors.
Create the Swirl Pattern
Pour about half of the jelly bean batter into a greased and floured 9-inch round cake pan. Here's where the magic happens: take a spoon and make a well in the center of the batter. Pour about 2 tablespoons of the jelly bean jam mixture into this well, then gently swirl it outward toward the edges using the spoon.
Now carefully pour the remaining batter over the jam mixture. Use the spoon to create gentle swirls throughout the batter, being careful not to overmix. The goal is to create a marbled effect with the jam peeking through the batter. Tap the pan gently on the counter a few times to release any air bubbles.
Sprinkle the 0.25 cup of cake flour evenly over the top of the batter. This creates a beautiful contrast and helps with the final presentation. The flour will sink slightly into the batter but will give you that lovely textured top when baked.
Bake to Golden Perfection
Preheat your oven to 350°F. Place the cake pan in the center rack and bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean. The cake should be golden brown on top and spring back slightly when gently pressed in the center. I know it's tempting to open the oven door early, but resist the urge—this helps ensure even baking.
While the cake is baking, let's prepare the frosting. In a medium bowl, beat together the 0.5 cup of softened unsalted butter, 2 cups of powdered sugar, 1 teaspoon of vanilla extract, 1 teaspoon of baking powder, and 0.25 teaspoon of salt until smooth and fluffy. This will be our cream cheese frosting base, which we'll combine with the package of cream cheese frosting in the next step.
Combine Frosting and Assemble
Once the cake is done baking, let it cool in the pan for 10 minutes, then transfer it to a wire rack to cool completely. While the cake cools, take the 1 package of cream cheese frosting and beat it with your mixer until smooth. Then gradually add the butter mixture we prepared earlier, mixing until fully combined and creamy.
When the cake is completely cool, spread about half of the frosting over the top of the cake. Then, carefully place the remaining frosting on top and gently swirl it with a spatula to create that classic jelly bean cake pattern. The colors from the jelly beans will show through beautifully in the frosting.
For the final touch, press some of the crushed jelly beans into the sides of the cake. This not only adds to the visual appeal but also gives each bite that delightful jelly bean surprise. Chill the cake in the refrigerator for at least 30 minutes before serving to let the frosting set properly.
Pro Tips For Making Jelly Bean Cake
- Grease Pans Properly: Use about 2 tablespoons of vegetable oil to coat the bottom and sides of your pans—don’t skimp. I learned this the hard way when my first jelly bean cake stuck like glue, and the edges were dry as cardboard. A well-greased pan guarantees a moist, pull-apart texture, especially since this cake is packed with jelly beans.
- Sort Jelly Beans First: Before folding them in, separate your jelly beans by size—toss the tiny ones or crush the big ones slightly. Uneven beans sink unevenly, leading to a lumpy cake. My grandmother swore by this, and she was right: a smooth batter means even distribution, so every bite has that perfect jelly bean surprise.
- Don’t Overmix the Batter: Once you add the eggs and buttermilk to the cake mix, stir just until combined—maybe 15 seconds past the mix instructions. Overmixing makes the cake dense and tough, and with jelly beans already adding texture, you don’t want to fight the batter. I was skeptical until I tried it: the result is lighter and fluffier.
- Bake Until Golden, Not Dry: Pull the cake out when the edges are set and the top springs back slightly—it’ll keep cooking with residual heat. Overbaking turns the jelly beans into sad, rubbery bits. I skip the toothpick test here; instead, I watch for a golden hue and a gentle bounce. Your future self will thank you.
Pro cooking tips for this recipe
Crush Jelly Beans
Use a food processor or heavy-duty ziplock bag with a rolling pin to crush 1.5 cups of jelly beans into fine crumbs. Avoid over-processing—you want them powdery, not pasty. I like to pulse in 3-4 bursts of 2 seconds each in the food processor.
For extra vibrancy, use Haribo Goldbears or Trader Joe's assorted jelly beans—they hold their color beautifully during baking. 🌈
Buttermilk Substitute
If you’re out of buttermilk, mix 1 cup milk (whole preferred) with 1 teaspoon vinegar or lemon juice. Let it sit for 5 minutes to thicken before using. The acidity is key—it reacts with the baking powder for that signature lift.
For a richer texture, I sometimes add 1 tablespoon melted butter to the substitution. Just don’t skip the waiting time, or your cake will turn out dense. ⏳
Prevent Overmixing
Once you add the crushed jelly beans to the batter, mix just until combined—no more than 10 strokes with a spatula. Overmixing develops gluten, which makes the cake tough. The batter will look slightly streaky, and that’s perfect!
For the swirl step, use a long-handled spoon or offset spatula to gently drag the jam through the batter without overworking it. Think "marble effect," not "smooth blend." 🎨
Jam Swirl Technique
To create those stunning rainbow swirls, pour the jam mixture into the center well, then use a skewer or chopstick to drag it outward in spiral motions. Work quickly but deliberately—this is where the magic happens.
For extra drama, add a second layer of jam after pouring the second half of the batter. Pro tip: Chill the pan in the fridge for 10 minutes before baking to slow the spread of the jam and keep the swirls sharp. 🔥
Baking Time Hacks
Bake at 350°F for 25-30 minutes, but start checking at 22 minutes. The cake is done when a toothpick comes out clean and the edges pull away slightly from the pan. If the top browns too fast, tent loosely with foil.
For a two-layer cake, divide the batter evenly between two 8-inch pans—they’ll bake faster and give you taller layers. Always rotate the pans halfway through for even heat distribution. ⚖️
Frosting Consistency
The frosting should be thick but pipeable—like soft peanut butter. If it’s too stiff, add 1 teaspoon milk at a time. Too runny? Chill the bowl for 10 minutes or add 1 tablespoon powdered sugar.
For a smooth finish, beat the frosting with a hand mixer on high for 2 minutes to incorporate air. Spread it 1/4-inch thick on the first layer, then chill for 15 minutes before adding the second layer. This prevents sagging. 🧀
Nutrition facts
Frequently asked questions
Can I make this cake without a boxed mix?
Replace the boxed cake mix with a homemade vanilla sponge recipe using 2 cups cake flour, 2 cups sugar, 1.5 tsp baking powder, and 0.5 tsp salt. For moisture, add 1 cup buttermilk, 0.5 cup oil, and 2 eggs just like the original recipe. The jelly bean technique remains the same—just adjust liquid ratios if your sponge recipe differs.
Why does my cake turn out dense?
Overmixing the batter or using low-fat buttermilk/substitutes are common culprits. Always mix just until combined (10 strokes max after adding jelly beans) and use full-fat dairy. Another tip: don't overfill the pan—batter should reach 2/3 full of the pan height. If using a homemade base, ensure proper leavening with baking powder/soda.
How do I make this cake gluten-free?
Swap the boxed mix for a 1:1 gluten-free vanilla cake mix (like King Arthur's) and replace cake flour with 2 cups gluten-free all-purpose flour blend. Add 1 tsp xanthan gum to prevent crumbling. For the frosting, use a gluten-free cream cheese brand (like Kite Hill) and ensure powdered sugar is certified GF. The jelly bean technique works perfectly with these adjustments!
Can I bake this cake in a different pan size?
For a 9-inch pan, use the full recipe. For 8-inch pans, divide batter between two pans and reduce baking time to 20-25 minutes. For a 10-inch pan, reduce jelly beans to 1 cup and bake 30-35 minutes. Always check doneness with a toothpick. The swirl technique works best in round pans—square pans will flatten the design.
What's the best way to store leftover cake?
Keep unfrosted layers wrapped in plastic at room temp for 2 days, or freeze for 3 months. Frosted cakes last 3 days refrigerated (covered tightly) or 1 month frozen. For freezing, wrap each layer separately in plastic wrap, then place in a sealed bag. Thaw overnight in the fridge before frosting.
