Flag Cake Recipe

Jump To Recipe
Avatar Author's default profile picture
Katie Published: May 13, 2021 Modified: October 7, 2021
Flag Cake Recipe

How To Make Flag Cake

Put your patriotism on display with this flag cake. It has a yellow cake base that’s topped with cream cheese & an arrangement of blueberries & raspberries.

Preparation: 30 minutes
Cooking: 30 minutes
Total: 1 hour



For Cake:

  • 2⅔cupsall purpose flour,spooned into measuring cup and leveled off
  • ½tspsalt
  • ½tspbaking soda
  • 2sticksunsalted butter,(1 cup), softened
  • 2cupssugar
  • 2tspvanilla extract
  • 4largeeggs,at room temperature
  • 1cupbuttermilk

For Frosting and Topping:

  • 8ozcream cheese,at room temperature
  • 1stickunsalted butter,(½ cup), at room temperature
  • 1tspvanilla extract
  • pinchsalt
  • cupsconfectioner’s sugar,divided
  • 6ozblueberries
  • 24ozraspberries


  1. Preheat the oven to 350 degrees F and set an oven rack in the middle position. Butter and flour a 9×13-inch metal pan, or use nonstick cooking spray with flour in it,.

  2. In a medium bowl, whisk together the flour, salt and baking soda. Set aside.

  3. In the bowl of an electric mixer fitted with the paddle attachment (or beaters), beat the butter and sugar on medium speed until light and fluffy.

  4. Beat in the vanilla, then beat in the eggs, one at a time, scraping down the sides of the bowl as necessary. (Don’t worry if the batter looks a little curdled at this point.)

  5. Reduce the speed to low, then beat in one-third of the flour mixture, followed by half of the buttermilk. Scrape down the sides and bottom of the bowl, then add another third of the flour, followed by the remaining buttermilk.

  6. Beat in the remaining flour, then scrape down the bowl and beat again until the batter is evenly combined. Do not overmix.

  7. Scrape the batter into the prepared baking pan and bake for 30 to 35 minutes, until the cake is set and lightly golden around the edges, and a toothpick inserted into the center comes out clean. Set the cake on a wire rack to cool completely.

  8. In the bowl of a stand mixer fitted with the paddle attachment (or large bowl if using a hand mixer), combine the cream cheese, butter, vanilla and salt. Mix on low speed until combined, then increase the speed to medium-high and beat until aerated and light.

  9. Gradually add 4 cups of the confectioners’ sugar, mixing on low speed to combine. Once the confectioners’ sugar is mixed in, increase the speed to medium-high and beat until fluffy. Set aside 1 tablespoon of the frosting.

  10. When the cake is completely cool, use an offset spatula to spread the frosting evenly over top. The frosting won’t show so no need to fuss over making it perfect.

  11. Outline the “stars” section on the upper left corner of the cake with a toothpick (or skip this step and just eyeball it) and fill with a generous layer of blueberries.

  12. Dip a small handful of the remaining blueberries in the reserved frosting, and then in the remaining confectioners’ sugar to make white “stars.” Evenly scatter the “stars” over the section of blueberries.

  13. Arrange 1 row of raspberries across the top of the cake, laying them sideways, like a red stripe. Gently roll the next row of raspberries in the confectioners’ sugar to make a white stripe, and alternate until the flag is completed.

  14. Cut the cake into squares and serve directly from the pan.


  • Calories: 391.92kcal
  • Fat: 15.92g
  • Saturated Fat: 9.42g
  • Trans Fat: 0.47g
  • Monounsaturated Fat: 4.15g
  • Polyunsaturated Fat: 0.90g
  • Carbohydrates: 60.12g
  • Fiber: 2.39g
  • Sugar: 46.43g
  • Protein: 3.89g
  • Cholesterol: 72.17mg
  • Sodium: 316.80mg
  • Calcium: 39.39mg
  • Potassium: 108.18mg
  • Iron: 1.08mg
  • Vitamin A: 146.74µg
  • Vitamin C: 8.22mg
Continue Reading Below
Chat Bubble Icon Share your own special recipe
Submit Your Own Recipe

Have your own special recipe to share? Submit Your Recipe Today!

Continue Reading Below
Continue Reading Below

Related Recipes

fig cake recipe

Fig Cake

This fig cake is a moist and perfectly spiced dessert…
Total 1 hr 45 mins
zebra cake recipe

Zebra Cake

Here's what you need: all purpose flour, sugar, baking powder,…
piñata cake recipe

Piñata Cake

Bring on the wow factor with this chocolate piñata cake…
Total 4 hrs 55 mins
american flag pie recipe
Pies & Pastries

American Flag Pie

This American flag pie is perfect for your 4th of…
Total 8 hrs
Honeybun Cake Recipe

Honeybun Cake

A super moist cake swirled with cinnamon and sugar and…
Total 50 mins
nutella cake

Nutella Cake

This decadent Nutella Cake is just oozing in chocolatey goodness.…
Total 35 mins
Continue Reading Below

Leave a comment

Replying to