Rainbow Poke Cake Recipe
Introduction
Rainbow Poke Cake is a fun and vibrant dessert that’s perfect for celebrations or whenever you want to brighten up your day. Layers of colorful cake pockets filled with creamy vanilla pudding and topped with fluffy whipped cream frosting make it both beautiful and delicious.

Ingredients
- 3 cups (420 grams) all-purpose flour
- 1 tbsp cornstarch
- 2 tsp baking powder
- ½ tsp salt
- 1 cup (227 grams) unsalted butter (slightly melted)
- 1½ cups (300 grams) granulated sugar
- ¼ cup vegetable oil
- 4 large eggs (room temperature)
- 1 tbsp vanilla extract
- 1 cup milk (2% or whole milk)
- Gel food coloring: red, orange, yellow, green, blue, purple
- 1 box (4-serving, about 100 grams) vanilla dry instant pudding mix
- 2 cups milk (2%) for pudding
- 2 cups heavy cream (35%)
- ¾ cup (90 grams) confectioners’ sugar
Instructions
- Step 1: Preheat the oven to 350°F. Spray a 9” x 13” cake pan with non-stick cooking spray, line the bottom with parchment paper, then spray again. Set aside.
- Step 2: In a medium bowl, whisk together flour, cornstarch, baking powder, and salt. Set aside.
- Step 3: In a large bowl, beat the butter, granulated sugar, and vegetable oil on high speed for about 5 minutes until well creamed.
- Step 4: Beat in the eggs and vanilla extract for about 1 minute until combined.
- Step 5: Add half the dry ingredients to the wet ingredients and mix just until mostly combined. Then beat in all the milk. Finally, add the remaining dry ingredients and mix until no dry flour is visible, being careful not to overmix.
- Step 6: Divide the batter evenly into 6 bowls (about 235 grams each). Color each bowl with a different gel food coloring: red, orange, yellow, green, blue, and purple. Stir gently to blend the color.
- Step 7: Arrange the cake pan vertically. Using a spoon, place a spoonful of red batter in the top left corner, then orange, yellow, green, blue, and purple across the top row. For the second row, start with orange, then yellow, green, blue, purple, and red. Continue this pattern, starting each row with the next color in the sequence, until the pan is full. Tap the pan on the counter to level the batter and fill in any gaps.
- Step 8: Bake for 30 minutes or until a toothpick inserted in the center comes out clean.
- Step 9: While the cake is still warm, prepare the vanilla pudding by whisking the pudding mix with 2 cups cold milk for 2 minutes until thickened.
- Step 10: Use the round end of a wooden spoon to poke multiple holes about three-quarters of the way through the cake. Spread the pudding over the cake, filling the poke holes and covering the surface evenly.
- Step 11: Refrigerate the cake for 1 hour to allow the pudding to set.
- Step 12: To make the whipped cream frosting, beat the heavy cream and confectioners’ sugar in a large bowl until soft peaks form, about 5 minutes.
- Step 13: Spread the whipped cream frosting evenly over the chilled cake. Add sprinkles if desired.
Tips & Variations
- For best results, use gel food coloring to avoid thinning the batter.
- You can swap vanilla pudding with chocolate or other flavored puddings for variety.
- Make sure eggs and milk are at room temperature to help the batter mix evenly.
- If you prefer, fold the batter gently rather than beating to keep the cake light and moist.
- Add sprinkles between layers or on top for extra color and fun texture.
Storage
Store the Rainbow Poke Cake in an airtight container in the refrigerator for up to 3 days. When ready to serve, you can enjoy it cold or let it sit at room temperature for 15–20 minutes for a softer texture. Avoid freezing as the pudding filling may change consistency.
How to Serve

Serve this delicious recipe with your favorite sides.
FAQs
Can I use regular food coloring instead of gel?
Regular food coloring can be used, but gel food coloring is recommended because it provides vibrant colors without altering the batter’s consistency.
How do I know when the cake is fully baked?
Insert a toothpick into the center of the cake; if it comes out clean or with just a few moist crumbs, the cake is done. Baking time is typically around 30 minutes.
Print
Rainbow Poke Cake Recipe
- Total Time: 1 hour 50 minutes
- Yield: 12 servings 1x
Description
This vibrant Rainbow Poke Cake features a moist, colorful layered cake infused with six hues of the rainbow. The batter is separated and tinted with gel food coloring, then baked into a beautiful mosaic. After baking, holes are poked into the warm cake and filled with a luscious vanilla pudding for added moisture and flavor. Finished with a fluffy whipped cream frosting and optional sprinkles, this dessert is perfect for celebrations and sure to impress with its playful look and delicious taste.
Ingredients
Rainbow Cake
- 3 cups (420 grams) all-purpose flour
- 1 tbsp cornstarch
- 2 tsp baking powder
- ½ tsp salt
- 1 cup (227 grams) unsalted butter, slightly melted
- 1½ cups (300 grams) granulated sugar
- ¼ cup vegetable oil
- 4 large eggs, room temperature
- 1 tbsp vanilla extract
- 1 cup milk (2% or whole)
- Gel food coloring: red, orange, yellow, green, blue, purple
Vanilla Pudding Filling
- 1 box (4-serving box, around 100 grams or 3.4 ounces) vanilla dry instant pudding mix
- 2 cups milk (2%)
Whipped Cream Frosting
- 2 cups heavy cream (35%)
- ¾ cup (90 grams) confectioners’ sugar
- Optional: sprinkles for decoration
Instructions
- Preheat and prepare pan: Preheat oven to 350°F (175°C). Spray a 9″ x 13″ cake pan with non-stick cooking spray, line the bottom with parchment paper, then spray again. Set aside.
- Mix dry ingredients: In a medium bowl, whisk together flour, cornstarch, baking powder, and salt until thoroughly combined. Set aside.
- Cream butter and sugars: In a large bowl, beat melted butter, granulated sugar, and vegetable oil on high speed for about 5 minutes until well creamed.
- Add eggs and vanilla: Beat in eggs and vanilla extract until fully incorporated, about 1 minute.
- Combine wet and dry ingredients: Beat in half of the dry ingredient mixture to the wet ingredients until mostly combined but not overmixed. Then beat in all the milk until combined. Next, add the remaining dry ingredients just until no dry flour remains to avoid drying the cake.
- Divide and color batter: Evenly divide the batter into 6 separate bowls (about 235 grams each). Add gel food coloring to each bowl to create red, orange, yellow, green, blue, and purple batters. Stir gently to combine colors without overmixing.
- Layer batter in pan: Place the prepared cake pan vertically on the counter. Spoon a small amount of red batter into the top left corner, then orange, yellow, green, blue, and purple to complete the first row of 6 spoonfuls. For the second row, begin with orange followed by yellow, green, blue, purple, and red. Continue starting each subsequent row with the next color in the rainbow until all batter is used and the pan is fully filled without gaps. Tap the pan gently to level batter and fill any holes.
- Bake the cake: Bake for 30 minutes or until a toothpick inserted into the center comes out clean. Remove from oven.
- Prepare pudding filling: While the cake is warm, whisk instant vanilla pudding mix with cold milk in a large bowl for about 2 minutes until thickened.
- Poke holes and fill with pudding: Using the round handle end of a wooden spoon, poke multiple holes about ¾ through the warm cake to allow pudding to seep in. Spread pudding evenly over the cake surface and into the holes with a spatula.
- Chill before frosting: Refrigerate the cake with pudding for 1 hour to set.
- Make whipped cream frosting: Beat heavy cream and confectioners’ sugar in a large bowl until soft peaks form, about 5 minutes.
- Frost and decorate: Spread the whipped cream frosting evenly over the chilled cake. Add sprinkles if desired.
- Storage: Store the cake in a sealed container in the refrigerator for up to 3 days.
Notes
- Use gel food coloring to avoid thinning the batter.
- Do not overmix the batter to keep the cake moist and tender.
- Ensure eggs are at room temperature for better incorporation.
- Use a wooden spoon handle for poking holes to avoid tearing the cake.
- Chilling the cake after adding pudding ensures the pudding sets properly.
- For best results, consume within 3 days.
- Prep Time: 20 minutes
- Cook Time: 30 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American
Keywords: Rainbow cake, poke cake, colorful cake, vanilla pudding poke cake, whipped cream frosting, party cake, layered cake

