A 4th of July cookie cake is a giant, soft-baked sugar cookie topped with whipped cream and fresh berries, cut into wedges like a cake. It feeds a crowd, needs no special pans, and the red, white, and blue topping does the decorating for you. The key is underbaking the center slightly so it stays tender, and chilling the dough once so it doesn’t spread too thin.
Ingredients
- 2 ¾ cups (350 g) all-purpose flour
- 1 tsp baking soda
- ½ tsp salt
- 1 cup (2 sticks, 226 g) unsalted butter, softened
- 1 ¼ cups (250 g) granulated sugar
- 1 large egg, room temperature
- 1 large egg yolk, room temperature
- 2 tsp vanilla extract
- 1 tbsp milk (any kind)
- 1 ½ cups (360 ml) cold heavy cream
- 3 tbsp (22 g) powdered sugar
- 1 tsp vanilla extract (for topping)
- 2 cups (about 300 g) fresh strawberries, hulled and sliced
- 1 cup (about 150 g) fresh blueberries
- Red and blue sprinkles (optional, for the dough edge)
Instructions
- Make the dough: In a medium bowl, whisk together flour, baking soda, and salt. Set aside.
- In a large bowl, beat butter and granulated sugar with an electric mixer on medium speed until light and fluffy, about 2 minutes. Add egg, egg yolk, vanilla, and milk; beat until combined.
- Reduce speed to low and gradually add the flour mixture, mixing just until no dry streaks remain. The dough will be thick and slightly sticky.
- Press the dough into a disc, wrap in plastic, and chill for at least 1 hour (or up to 3 days). Chilling prevents spreading and makes the cookie chewier.
- Preheat oven to 350°F (175°C). Line a 12-inch (30 cm) pizza pan or a large baking sheet with parchment paper.
- Place the chilled dough in the center of the pan. Press it into an even 9-inch (23 cm) round, about ½ inch (1.25 cm) thick. If using a baking sheet, keep the round in the center.
- If using sprinkles, gently press them into the outer edge of the dough.
- Bake for 20–25 minutes, until the edges are golden and the center looks just set but still soft. A toothpick inserted in the center should come out with a few moist crumbs, not wet batter. The center will continue to set as it cools.
- Cool the cookie cake on the pan for 15 minutes, then transfer to a wire rack to cool completely, about 45 minutes.
- Make the whipped cream: In a chilled bowl, beat heavy cream, powdered sugar, and vanilla on medium-high speed until stiff peaks form, about 2–3 minutes. Do not overbeat or it will turn buttery.
- Spread the whipped cream over the cooled cookie cake, leaving a 1-inch (2.5 cm) border. Arrange strawberries and blueberries in a flag pattern or any design you like.
- Slice into wedges and serve immediately, or refrigerate for up to 2 hours before serving.
Substitutions That Work
- Butter: Use salted butter and reduce the added salt to ¼ tsp. The cookie will be slightly saltier.
- Milk: Any milk or non-dairy milk works; it adds moisture and helps the dough come together.
- Heavy cream: For a lighter topping, use 1 ½ cups (360 ml) cold whole milk and 1 box (3.4 oz) instant vanilla pudding mix, whipped to stiff peaks. It will be less rich but holds its shape longer.
- Berries: Raspberries or blackberries can replace strawberries. Use about 2 cups total of any red berries.
- Gluten-free: Swap the all-purpose flour with a 1:1 gluten-free baking flour that contains xanthan gum. The cookie will be slightly more crumbly.
Make-Ahead Timeline
Up to 3 days ahead: Make the dough, wrap tightly, and refrigerate. You can also bake the cookie cake, cool it completely, wrap in plastic, and store at room temperature for up to 2 days.
Up to 1 day ahead: Whip the cream and store it in a covered bowl in the fridge for up to 24 hours. Rewhip briefly if it deflates. Slice the berries and keep them in a covered container in the fridge.
Assemble no more than 2 hours before serving: Spread the cream and add the berries. The cream will soften the cookie underneath if left longer.
Storing Leftovers
Cover the assembled cookie cake loosely with plastic wrap and refrigerate within 2 hours of serving. It keeps for up to 2 days, but the cookie will absorb moisture from the cream and become softer; the berries may release juice. For best texture, store the baked cookie and the cream separately if you plan to keep leftovers longer than a day.
You can freeze the baked, un-frosted cookie cake for up to 3 months. Wrap it tightly in plastic and then foil. Thaw at room temperature for about 1 hour before frosting.
Serving and Pairing Ideas
Serve this cookie cake as the centerpiece of a July 4th cookout. It pairs well with grilled burgers, corn on the cob, and cold lemonade. For a more decadent dessert, drizzle each wedge with a little melted white chocolate or a spoonful of strawberry sauce. If you want a neater slice, use a long serrated knife and wipe it clean between cuts.
Why the Dough Needs Chilling
Chilling the dough solidifies the butter, which slows spreading in the oven. Without it, the cookie will bake into a thin, crispy disc rather than a thick, soft cake. The 1-hour chill is the minimum; a longer chill (up to 3 days) deepens the vanilla flavor and makes the dough easier to press into a round.
How to Check if It’s Done
The cookie is ready when the edges are golden brown and the center looks slightly puffed and pale. Insert a toothpick into the center: it should come out with a few moist crumbs, not wet batter. If the center is still shiny and wet, bake for 2–3 more minutes. Overbaking makes the cookie dry, so err on the side of underbaking slightly.
Can You Use a Different Pan?
Yes. A 9-inch (23 cm) round cake pan works, but the cookie will be thicker and need 25–30 minutes. A 12-inch (30 cm) pizza pan gives a thinner, crisper edge and a shorter bake time, about 18–22 minutes. If using a baking sheet, keep the dough in a round and leave at least 2 inches (5 cm) of space around it for spreading.
Raw Flour and Egg Safety
This recipe’s dough is baked, so the flour and egg are safe to eat after baking. Do not eat raw cookie dough. If you want to taste the dough, heat-treat the flour in a 350°F (175°C) oven for 5–7 minutes until it reaches 160°F (71°C), let it cool, and use pasteurized eggs. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw flour and raw eggs entirely.
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).






