This whimsical dessert transforms a simple confetti cake into something magical. After baking, the warm cake gets dotted with holes that are filled with vibrant colored vanilla pudding in pink, purple, blue, and yellow. A cloud of whipped topping seals in all that colorful goodness, while playful unicorn sprinkles add the final festive touch. The result is a stunning rainbow slice that tastes as delightful as it looks—moist, creamy, and perfectly sweet. Chill for at least an hour to let the pudding set into the cake for the best texture.
My niece's birthday changed everything about how I think about dessert. She wanted something magical, something that would make all the kids gasp when we carried it out. The first time I poked those holes and watched the rainbow pudding disappear into the warm cake, I knew we'd struck gold. Now it's the most requested dessert at every family gathering.
Last summer I made this for a block party and adults were just as excited as the kids. Someone asked if I'd spent hours on it, which is the best kind of secret—ten minutes of active work for maximum wow factor. Watching people discover the hidden rainbow layers inside each slice never gets old.
Ingredients
- Funfetti or vanilla cake mix: The confetti cake adds built-in celebration vibes but plain vanilla works beautifully as a blank canvas
- Instant vanilla pudding mix: Use instant not cook-and-serve pudding because it sets up perfectly in those holes without any stovetop work
- Cold milk: Ice-cold milk helps the pudding thicken faster and gives you more control before it starts setting
- Gel food coloring: Gel colors are way more concentrated than liquid so you get those vibrant unicorn shades without thinning the pudding
- Whipped topping: Let it thaw completely in the fridge first for the smoothest spreading experience
Instructions
- Bake your cake base:
- Get that oven to 350°F and prep a 9x13 pan with non-stick spray. Mix up the cake batter exactly like the box says and bake until a toothpick comes out clean, about 25 to 30 minutes.
- Create those magic holes:
- Let the cake cool for exactly 10 minutes then use the round end of a wooden spoon to poke holes every 1 to 2 inches all over. You want to go almost to the bottom but not through the pan.
- Whisk up colorful pudding:
- In a big bowl whisk both pudding packages with the cold milk for about 2 minutes until it starts thickening. Divide into four bowls and tint each with a different gel color.
- Fill the rainbow pockets:
- Spoon the colored puddings randomly into the holes, filling each completely. The pudding will disappear like magic and create those hidden streaks inside.
- Finish with clouds and sprinkles:
- Spread the whipped topping over the entire cake and immediately shower with unicorn sprinkles. Chill for at least an hour so everything sets up beautifully.
My daughter requested this for her eighth birthday and told everyone at school that her mom makes magic cake. The look on her face when she saw the rainbow inside her slice was absolutely priceless. Sometimes food is just food but sometimes it's pure joy on a plate.
Making It Ahead
This cake actually gets better after sitting in the fridge overnight. The pudding has time to really soak into the cake making it incredibly moist. Just hold off on the sprinkles until right before serving so they stay bright and crunchy.
Color Variations
Valentines Day calls for pinks and reds while the Fourth of July is perfect for red white and blue layers. You can match any holiday or party theme just by switching up the gel colors. I once did an ombre effect using five shades of purple that looked stunning.
Serving Suggestions
Cold cake straight from the fridge is the best way to experience those pudding-filled layers. Use a sharp knife and wipe it clean between slices for the prettiest presentation.
- Make sure the cake is completely chilled before slicing or the layers might slide around
- A flat metal spatula helps transfer slices cleanly from the pan
- Store any leftovers covered in the fridge for up to three days
Every time I make this cake I'm reminded that the best desserts are the ones that make people smile before they even take a bite. Hope this brings a little magic to your table too.
Recipe Questions & Answers
- → How far in advance can I make this?
-
This colorful dessert tastes best when made 1-2 days ahead. The chilling time allows the pudding to fully set into the cake layers, creating that signature creamy texture throughout. Store covered in the refrigerator until ready to serve.
- → Can I use homemade pudding instead of instant?
-
Instant pudding works best for poke cakes because it sets quickly and fills the holes perfectly. Cooked pudding tends to be too thick and warm, which can make the cake soggy. If you prefer homemade, prepare it in advance and let it cool completely before spooning into the cake.
- → What's the best way to create the rainbow effect?
-
Spoon small amounts of each colored pudding into alternating holes across the cake. You can create patterns or go completely random—when sliced, each piece will show a unique combination of colors. The visual surprise is part of the fun.
- → Can I freeze this cake?
-
Freezing isn't recommended for poke cakes. The pudding filling and whipped topping don't freeze well and can become watery or separated when thawed. This dessert is best enjoyed fresh within a few days of making it.
- → How do I prevent the colors from bleeding together?
-
Work with one color at a time and be careful not to overfill the holes. The pudding should sit just at or slightly below the surface. If colors do blend slightly, it only adds to the magical swirled appearance when sliced.