This semi-homemade and super easy Flag Cake is made using a boxed cake mix, instant vanilla pudding, Cool Whip and is topped with fresh strawberries and blueberries to make a patriotic dessert! It is a deliciously simple way to use all those ripe summer berries and celebrate America.

Flag cake decorated with strawberries and blueberries.

EMAIL ME THE RECIPE!

Enter your email below and we'll send this recipe to your inbox. Plus, enjoy exclusive content!

Add this American flag cake to your summer bucket list! It’s festive, fun, and the perfect sweet treat for all your red, white, and blue celebrations.

The recipe is quick and easy thanks to a boxed cake mix, but fresh strawberries and blueberries give it that homemade flavor everyone loves. It’s my go-to patriotic dessert for Memorial Day, summer parties and the 4th of July!

A tender, moist cake—made extra flavorful with a few simple mix-ins—is topped with fluffy vanilla whipped topping and decorated with strawberries, blueberries, shredded coconut (optional), and marshmallows for a winning 4th of July dessert.

The whole family thoroughly enjoyed this flag cake! And I loved that it was so easy. Will definitely make again!

— Kate

Why it’ll be your new favorite

There are lots of different 4th of July desserts out there to try, but I don’t think any of them could top this patriotic cake. Here are just a few reasons why we’ll be making this on repeat all season long:

  • Tastes incredible. This American flag cake is SO delicious, my family couldn’t seem to stay out of it! After a day spent swimming and laughing together, there wasn’t a single slice leftover! It’s cool, refreshing and not overly sweet. The ultimate treat for summer!
  • Make ahead dessert. It’s best served cold, so it works great to make it in advance to give it chill time in the refrigerator.
  • Feeds a crowd. This recipe makes a large 9×13-inch cake and serves 24 people. Bring it along to all of your potlucks, summer parties and barbecues!
Slice of flag cake with whipped topping and strawberries.

Ingredients needed

There are three main components needed for making this easy flag cake recipe: the cake, the whipped topping and the decorations. Here’s what you’ll need:

  • For the cake. Since we’re starting with a yellow or white box cake mix, you can skip the usual baking staples like flour, sugar, salt or vanilla extract—most of the work is already done for you! My personal favorite for this recipe is Betty Crocker’s® Super Moist White Cake Mix (15.25 ounces) (not sponsored). To make the cake extra flavorful and moist, ignore the ingredient instructions on the box and instead stir the cake mix with 3 large eggs, 1/2 cup sour cream, 1 cup cold milk and 1/2 cup melted unsalted butter. You won’t believe how good this version tastes — truly bakery style!
  • Whipped topping. Instead of a heavy frosting, we’re topping this with a vanilla pudding and Cool Whip mixture that is light and airy. I really prefer this type of topping over frosting because it’s fluffy and not overly sweet.
  • To decorate. Use fresh blueberries, strawberries, shredded coconut and marshmallows to create the look of a flag. Totally adorable and really delicious too! If you don’t like marshmallows and/or shredded coconut, those ingredients can be omitted. The whipped topping is white, so it will still have white stripes and look just like a flag.

Variations and substitutions

We’re pretty fond of this flag cake as-is, but there are lots of tasty ways to get creative with this Fourth of July dessert. Here are a few ideas:

  • Homemade cake. Since this recipe is made with a box cake mix, it’s pretty effortless, but you can always substitute your favorite homemade cake recipe. This is my favorite homemade vanilla cake and it works in a 9×13-inch pan.
  • Buttercream frosting. I’m a huge fan of the whipped topping because I love that it keeps this summery dessert from being too heavy, but if you prefer a vanilla buttercream or even cream cheese frosting, that will totally work. Make your own icing or use store-bought.
  • Use raspberries. If you prefer raspberries over strawberries, rows of raspberries can be used to make the stripes.
  • Different decorations. If you’re wanting to make this cake for a celebration other than Memorial Day or 4th of July, simply top it with a layer of fruit. Make the berries into a fancy pattern or don’t, either way it will be delicious!

How to make this recipe

Not only is the ingredient list simple, but making this fruit flag cake is a breeze! You’ll find the full, printable recipe at the bottom of the post, but here’s a quick rundown of how to make this patriotic dessert:

Mixing eggs and sour cream with cake mix in a large bowl.

Step 1 – Make the cake. In a large mixing bowl, stir together the cake mix, eggs, sour cream, milk and melted butter. Tip: for easy mixing, make sure the eggs, sour cream and milk are at room temperature. Be sure to scrape the sides, so all ingredients are incorporated evenly.

Baked yellow cake in a 9x13-inch pan.

Step 2 – Bake. Pour the batter into a 9×13-inch pan or baking dish that has been sprayed with nonstick cooking spray. Place in the oven and follow the instructions on the cake mix box for bake time. When it’s done, place it on a wire rack to cool completely.

Whisking vanilla pudding with milk.

Step 3 – Make the pudding. Whisk the cold milk with the instant vanilla pudding for about 2 minutes and until thickened. You can use a whisk, fork or a stand mixer or hand mixer on medium speed for this.

Stirring vanilla pudding with Cool Whip.

Step 4 – Add whipped cream. Then, use a rubber spatula to stir together the pudding with the whipped topping (I used Cool Whip) until completely combined.

Whipped topping spread over a sheet cake.

Step 5 – Add topping. Using an offset spatula, spread the vanilla whipped topping over the completely cooled cake.

Adding blueberries and mini marshmallows in the corner of the cake.

Step 6 – Add blueberries. Start decorating, by outlining a square in the upper left corner with blueberries. Fill in with remaining blueberries, leaving some white space showing through. You can leave the white space to represent the stars or fill them in with mini marshmallows.

Adding overlapping strawberries for the red lines on a flag cake.

Step 7 – Add strawberries. Line the strawberry slices in 4-5 rows to form the red stripes.

Adding shredded to coconut to make lines on a flag cake.

Step 8 – Finish topping & chill. In between rows of strawberries, you can fill in with shredded coconut or leave the space white. After a good hour or so in the fridge, this flag cake comes out cool, creamy, fruity, and so delightful. Enjoy!

Expert tips

This flag cake recipe really could not be easier, but here are a few tips, so that your dessert is absolutely perfect!

  • Make ahead. My number one tip is to make the cake the night before. This dessert works best with a fully cooled cake and it gets more flavorful and moist when it sits out overnight.
  • Let the cake cool completely before adding the topping. You don’t want warm (or hot) cake melting the whipped cream topping. As stated before, it works great to make the cake the night before and then you can decorate it the day you will be serving it.
  • Fresh berries. Use the freshest and ripest strawberries and blueberries available to decorate your dessert. Make sure they are washed and thoroughly dried before topping the cake.
  • Different decorating option. Instead of using marshmallows, you could prepare a pastry bag with a large star tip and fill it to 2/3 with icing. Fold down both corners to keep icing from coming out the top. Then, squeeze little dollops of frosting all over the blueberries to look like stars.
  • Chill the cake. In my opinion, this cake is best enjoyed cold. I recommend storing it in the refrigerator at least 1 to 2 hours before serving.

Frequently asked questions

How to make boxed cakes better?

To make the boxed cake mix taste homemade, we’re mixing it with 3 large eggs, 1/2 cup sour cream, 1 cup cold milk and 1/2 cup melted butter. With this change to the recipe on the back of the box, it will taste just like you made it from scratch!

What’s the best boxed cake mix?

My personal favorite and the boxed mix that won this box cake mix taste test is Betty Crocker Super Moist Favorites Vanilla Cake Mix. Other brands will work just fine, but this is our personal favorite because it has great texture, delicious flavor and is wonderfully moist. As an added plus, it’s one of the cheapest mixes on the market!

How do you put a flag on a cake?

Adding the look of a flag to the top of the cake can be done in a variety of ways. It can be done by using red, white and blue frosting and simply piping it on top. Or you can actually add food coloring to the cake and make a layered cake that is red, white and blue when you cut into it. Personally, this recipe is my favorite because it uses a light Cool Whip topping combined with fruit and is much easier and quicker than the other two options.

Make ahead and storage recommendations

  • Make ahead. Feel free to make the cake recipe one day in advance. Once completely cooled, cover it tightly and place it in the refrigerator. Add the whipped topping and fruit decoration just before serving. The whipped topping can also be made a day ahead of time and stored in an airtight container in the refrigerator. Give it a good stir before spreading it over the cake. To save even a bit more time, wash the strawberries and blueberries a few hours or up to a day in advance. Dry them thoroughly and then store in the fridge.
  • Storing leftovers. Tightly cover leftovers and store them in the refrigerator for 3 to 5 days. Before covering the cake to refrigerate, I like to just barely push a toothpick into the center and a few at the sides, so that the cling wrap doesn’t stick to the topping.
  • Freezing cake. I would not recommend freezing cake that has already been decorated. However, you can freeze it before decorating for up to 3 months. Wrap it in plastic wrap and then store it in a freezer-safe container or bag.
serving of yellow cake topped with strawberry slices and blueberries

You will not be disappointed by this red, white & blue cake! It’s so simple, comes together fast and everyone loves it!

If you try this easy recipe, let me know! Leave a comment and if your family loves it as much as mine does, be sure to give it a five star ⭐️ rating! Also, tag @kimscravings on Instagram with a picture of your creation. Be sure to subscribe to our mailing list to receive more healthy delicious recipes straight to your inbox.

Flag Cake

This semi-homemade and super easy Flag Cake is made using a boxed cake mix, instant vanilla pudding, Cool Whip and is topped with fresh strawberries and blueberries to make a patriotic dessert! It is a deliciously simple way to use all those ripe summer berries and celebrate America.
Author: Kim

Ingredients

For the cake

  • 1 box white or vanilla cake mix (I use Betty Crocker’s® Super Moist White Cake Mix (15.25 ounces))
  • 3 large eggs
  • 1/2 cup sour cream
  • 1 cup cold milk
  • 1/2 cup (1 stick) butter, melted

For the topping

  • 2 cups cold milk
  • 1 (3.4 ounce) small box vanilla instant pudding
  • 1 (8 ounce) container whipped topping, thawed (I use Cool Whip)

For decorating

  • blueberries
  • mini marshmallows
  • sliced strawberries
  • unsweetened shredded coconut

EMAIL ME THE RECIPE!

Enter your email below and we’ll send this recipe to your inbox. Plus, enjoy exclusive content!

Instructions 

  • To prepare the cake, in a large mixing bowl, stir together the cake mix, eggs, sour cream, milk and melted butter.
  • Transfer cake batter to a greased 9×13-inch baking dish (I use a glass dish). Bake cake according to package instructions, regarding oven temperature and bake time.
  • Once cake has cooked and cooled, make the topping. Whisk instant pudding with milk for two minutes and until thickened, according to package instructions.
  • Stir together the pudding and whipped topping until combined. Spread whipped topping mixture evenly over the cake.
  • To decorate, outline a square in the top left corner with blueberries. Fill in with remaining blueberries, leaving some white space showing through. You can leave the white space to represent the stars or fill them in with mini marshmallows.
  • Line the strawberry slices in 4-5 rows to form the stripes. In between rows of strawberries, you can fill in with shredded coconut or leave the space white. Refrigerate until ready to serve.

Notes

  • Make ahead. Feel free to make the cake 1 day in advance. Once completely cooled, cover it tightly and place it in the refrigerator. Add the whipped topping and fruit decoration just before serving. The whipped topping can also be made 1 day ahead of time and stored in an airtight container in the refrigerator. Give it a good stir before spreading it over the cake. To save even a bit more time, wash the strawberries and blueberries a few hours or up to a day in advance. Dry them thoroughly and then store in the fridge.
  • Storing leftovers. Tightly cover leftover flag cake and store it in the refrigerator for 3 to 5 days.
  • Freezing cake. I would not recommend freezing cake that has already been decorated. However, you can freeze the cake before decorating for up to 3 months. Wrap it in plastic wrap and then store it in a freezer-safe container or bag.
Serving: 1serving, Calories: 107kcal, Carbohydrates: 9g, Protein: 3g, Fat: 7g, Saturated Fat: 4g, Trans Fat: 1g, Cholesterol: 52mg, Sodium: 127mg, Potassium: 69mg, Fiber: 1g, Sugar: 6g, Vitamin A: 250IU, Vitamin C: 1mg, Calcium: 53mg, Iron: 1mg

Did you make this recipe?

Tag @kimscravings on Instagram and be sure to subscribe to our mailing list to receive more healthy and delicious recipes straight to your inbox!