Dinners

Fourth of July Poke Cake with Flag Design

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
4 hr 30 min
Prep
30 min
hands-on
Cook
30 min
oven or stovetop
Serves
12
as written

Jump to recipe Save

Fourth of July Poke Cake with Flag Design

Time: 4 hr 30 min total · Serves: 12 · The key step: chill the fully assembled cake for at least 4 hours so the gelatin sets and the stripes stay clean when sliced.

This is a red, white, and blue poke cake with a flag design on top. The cake is baked in a 9×13-inch pan, poked with holes, filled with blue and red gelatin, then frosted with whipped topping and decorated with berries to form the flag. It is a cold, creamy dessert that suits a Fourth of July cookout or any summer potluck.

Ingredients

  • 1 box (15.25 oz / 432 g) white cake mix, plus ingredients called for on the box (usually eggs, oil, and water)
  • 1 box (3 oz / 85 g) berry blue gelatin (such as blue raspberry)
  • 1 box (3 oz / 85 g) strawberry or cherry red gelatin
  • 1 cup (240 ml) boiling water, divided (½ cup for each gelatin)
  • ½ cup (120 ml) cold water, divided (¼ cup for each gelatin)
  • 1 tub (8 oz / 227 g) frozen whipped topping, thawed
  • About 1½ cups (about 170 g) fresh blueberries
  • About 2 cups (about 300 g) fresh strawberries, hulled and sliced

Instructions

  1. Preheat the oven to 350°F (177°C). Grease a 9×13-inch (23×33 cm) baking pan.
  2. Prepare the cake mix according to the package directions for a 9×13-inch pan. Pour the batter into the prepared pan and bake for 25–30 minutes, until a toothpick inserted in the center comes out clean. Cool the cake completely in the pan on a wire rack, about 1 hour.
  3. While the cake cools, make the gelatin mixtures. In a small bowl, dissolve the blue gelatin in ½ cup (120 ml) boiling water. Stir in ¼ cup (60 ml) cold water. Repeat with the red gelatin in a separate bowl.
  4. Once the cake is cool, poke holes all over the cake with the handle of a wooden spoon or a skewer, spacing holes about ½ inch (1 cm) apart. Do not poke through the bottom.
  5. Pour the blue gelatin evenly over the top of the cake, trying to keep it within the upper left area where the blue field will be. Then pour the red gelatin over the rest of the cake. If the gelatins mix slightly at the border, that is fine.
  6. Cover the pan and refrigerate for at least 2 hours, until the gelatin is set.
  7. Spread the whipped topping evenly over the entire cake.
  8. Arrange the blueberries in a rectangle in the upper left corner to form the blue field. Place the sliced strawberries in horizontal rows across the rest of the cake to form the red stripes, leaving some white stripes visible.
  9. Refrigerate the assembled cake for at least 2 more hours, or up to 24 hours, before slicing. This allows the stripes to set and the cake to firm up for clean slices.

Why the Cake Can Turn Out Too Dry, Too Runny, or Too Dense

Too dry

Overbaking is the usual cause. The cake should be just set and spring back lightly when touched. Bake for the shorter end of the range if your oven runs hot. Also, pouring the gelatin while the cake is still warm can cause it to soak in unevenly and leave dry patches; always cool the cake completely first.

Too runny

If the gelatin is not fully set before you add the whipped topping, it can seep through and make the topping slide off. Give the gelatin at least 2 hours in the fridge, and if your fridge is warm, add 30 minutes. Also, measure the water carefully; too much water makes a weaker gel.

Too dense

Overmixing the cake batter develops too much gluten, making the crumb tough and dense. Mix the batter only until the dry ingredients are moistened, about 30 seconds on low speed, then stop. If you add extra eggs or oil, the cake may also be heavy.

Scaling the Recipe for Half and Double Batches

This cake is baked in a 9×13-inch pan. For a half batch, use an 8×8-inch (20×20 cm) pan and reduce the bake time to 20–25 minutes. For a double batch, use two 9×13-inch pans and bake both for 25–30 minutes. The gelatin amounts scale directly: for a half batch, use 1½ oz (42 g) of each gelatin and ¼ cup (60 ml) boiling water plus 2 tablespoons (30 ml) cold water per color.

Batch Pan size Bake time Serves
Half 8×8 in (20×20 cm) 20–25 min 6
Full 9×13 in (23×33 cm) 25–30 min 12
Double Two 9×13 in pans 25–30 min 24

Storing the Cake and Making It Ahead

Keep the cake refrigerated, covered, for up to 3 days. The whipped topping and berries are best within the first 24 hours; after that, the berries may weep and the topping may soften. You can assemble the cake up to 24 hours ahead, but add the berries no more than 4 hours before serving to keep them fresh. The cake does not freeze well because the gelatin and whipped topping separate when thawed.

How to Slice Clean Flag Stripes

For clean slices, use a large chef’s knife and wipe it clean between cuts. Dip the knife in hot water and dry it before each slice. Cut the cake into 12 rectangles (4 rows by 3 columns) for even servings. If the stripes shift, press them back gently with a spatula before serving.

Swaps and Variations

Use any white or yellow cake mix, but white gives the brightest flag colors. For a from-scratch white cake, use a standard recipe for a 9×13-inch pan. You can replace the strawberries with raspberries or halved cherries, and the blueberries with blackberries, but the colors will be less true to the flag. For a slightly firmer topping, use stabilized whipped cream (1 cup heavy cream, 2 tbsp powdered sugar, 1 tsp vanilla, whipped to stiff peaks) instead of whipped topping; it will hold for about 24 hours.

Why the Gelatin Needs to Set Before Slicing

The gelatin soak is what makes this a poke cake; it adds moisture and flavor. If you slice too early, the gelatin has not set and the cake will be soggy and the stripes will bleed. The full 4-hour chill time (2 hours for the gelatin, then 2 hours after assembling) is essential for clean, defined stripes. If you are in a hurry, you can reduce the final chill to 1 hour, but the slices will be less clean.

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).