American Flag Cake With Fresh Berries (Easy)

By Tyla Updated September 30, 2026
Jump to Recipe

American flag cake: vanilla sour cream sheet cake with buttercream, blueberry stars and strawberry stripes. 30 minutes prep, 35 bake, serves 16.

Prep Time

30 min

Cook Time

35 min

Servings

16 servings

Difficulty

Advanced

American Flag Cake

This easy american flag cake turns a simple vanilla sheet cake into the star of your 4th of July spread. Fresh strawberries and blueberries are arranged on top of fluffy whipped frosting to create a flag pattern that looks impressive without advanced decorating skills.

By Tyla

Prep

30 min

Cook

35 min

Total

1 hr 5 min

Servings

16 servings

Ingredients


Tools that make this easier

Optional — the recipe works without them.

As an Amazon Associate, I earn from qualifying purchases.


Instructions

  1. 1

    Preheat and prep. Heat the oven to 350°F. Grease and flour a 9×13-inch sheet pan (or use baking spray with flour). Tap out any excess.

  2. 2

    Combine the dry ingredients. Whisk the flour, sugar, baking powder, baking soda, and salt together in a large bowl until evenly distributed.

  3. 3

    Add the butter. Toss the softened butter cubes into the flour mixture and beat on medium-low speed until the mixture looks like coarse, sandy crumbs with no large butter pieces remaining — about 2 minutes.

  4. 4

    Add the wet ingredients. In a separate bowl, whisk the eggs, milk, vanilla, and sour cream together. Pour half into the flour-butter mixture and beat on medium until just combined. Add the rest and beat until the batter is smooth and thick, about 30 seconds more. Scrape the sides and bottom of the bowl to catch dry pockets.

  5. 5

    Bake. Pour the batter into the prepared pan and spread it evenly with an offset spatula. Bake for 30–35 minutes, until the top is golden and a toothpick inserted in the center comes out clean or with a few moist crumbs. The edges will pull slightly away from the pan when it's ready.

  6. 6

    Cool completely. Let the cake cool in the pan on a wire rack for at least 1 hour, then refrigerate for 30 minutes. Frosting a warm cake will melt the buttercream and ruin your flag lines.

  7. 7

    Make the frosting. Beat the softened butter on medium-high speed until pale and creamy, about 3 minutes. Add the powdered sugar one cup at a time on low speed, then pour in the heavy cream, vanilla, and salt. Increase to medium-high and whip for 2–3 minutes until the frosting is light, fluffy, and holds its shape when you lift the beater.

  8. 8

    Frost the cake. Spread the frosting in an even layer over the cooled cake. Use an offset spatula to smooth the top — the berry rows will look sharper against a flat surface.

  9. 9

    Arrange the flag. Place blueberries in tight rows in the upper left corner of the cake to create the star field (roughly a 4×6-inch rectangle). Arrange halved strawberries cut-side down in horizontal rows across the rest of the cake, leaving white frosting stripes visible between each red row. Start and end with a strawberry row so the top and bottom edges of the flag are red.

Used in this recipe: 9×13 Baking Pan Offset Spatula Electric Hand Mixer (Amazon, affiliate links)


Notes

Tips for Success

  • Chill the frosted cake for at least 15 minutes before arranging the berries so the cold frosting holds them in place and keeps the rows clean.
  • Slice the strawberries evenly lengthwise and place them cut-side down so they sit flat in neat rows instead of tilting or rolling.
  • Sift the powdered sugar before mixing into the buttercream so no lumps show up as bumps under the berries.
  • Use a toothpick to lightly score straight guideline rows into the frosting before placing fruit so the stripes stay perfectly aligned without guesswork.

Common Mistakes to Avoid

  • Don't frost the cake while it's still warm — the buttercream will melt and slide, ruining the flag lines.
  • Avoid using wet or overripe berries as they release moisture that bleeds into the frosting and turns the whites pink.
  • Don't skip sifting the powdered sugar — lumps in the frosting will create bumps under the strawberries and break the smooth stripe effect.

Nutrition (per serving)

560 kcal

Calories

5g

Protein

72g

Carbs

28g

Fat

1g

Fiber

270mg

Sodium

This American flag cake is a vanilla sour cream sheet cake covered in buttercream, with a blueberry field and rows of halved strawberries arranged as the stars and stripes. The cake and frosting are made from scratch in a 9×13-inch pan; the decoration needs only patience and a toothpick for guidelines. It serves 16 and takes about 1 hour 5 minutes (30 prep, 35 bake), plus cooling time before you frost.

Hands smoothing white buttercream frosting on a sheet cake with strawberries and blueberries nearby for an American flag cake
Smooth white buttercream is spread across the cake, setting the stage for the American flag design.

Ingredients

For the Cake:

  • 3 cups all-purpose flour (or cake flour for a softer crumb)
  • 1½ cups granulated sugar
  • 1 tablespoon baking powder
  • ½ teaspoon baking soda
  • ½ teaspoon salt
  • 1 cup (2 sticks) unsalted butter, softened and cubed
  • 4 large eggs, at room temperature
  • 1 cup whole milk, at room temperature
  • 2 teaspoons pure vanilla extract
  • 1 cup sour cream, at room temperature

Bring the eggs, milk and sour cream to room temperature before you start. Cold dairy can make the batter look curdled and bake into a dense, uneven cake.

For the Frosting:

  • 1 cup (2 sticks) unsalted butter, softened
  • 4½ cups powdered sugar, sifted
  • ⅓ cup heavy cream
  • 2 teaspoons vanilla extract
  • Pinch of salt

For the Flag Decoration:

  • 1 pint fresh blueberries
  • 2 pints fresh strawberries, hulled and halved lengthwise

Choose firm, dry berries. Wet or overripe fruit releases moisture that bleeds into the frosting and turns the white stripes pink.

Baking, Frosting and Arranging the Flag

  1. Preheat and prep. Heat the oven to 350°F. Grease and flour a 9×13-inch sheet pan (or use baking spray with flour). Tap out any excess.
  2. Mix the dry ingredients. Whisk the flour, sugar, baking powder, baking soda and salt together in a large bowl until evenly distributed.
  3. Add the butter. Toss the softened butter cubes into the flour mixture and beat on medium-low speed until it looks like coarse, sandy crumbs with no large butter pieces left, about 2 minutes.
  4. Add the wet ingredients. In a separate bowl, whisk the eggs, milk, vanilla and sour cream together. Pour half into the flour-butter mixture and beat on medium until just combined. Add the rest and beat until the batter is smooth and thick, about 30 seconds more. Scrape the sides and bottom of the bowl to catch dry pockets.
  5. Bake. Pour the batter into the prepared pan and spread it evenly with an offset spatula. Bake 30-35 minutes, until the top is golden and a toothpick in the center comes out clean or with a few moist crumbs. The edges will pull slightly away from the pan when it is ready.
  6. Cool completely. Cool the cake in the pan on a wire rack for at least 1 hour, then refrigerate for 30 minutes. Frosting a warm cake melts the buttercream and ruins the flag lines.
  7. Make the frosting. Beat the softened butter on medium-high speed until pale and creamy, about 3 minutes. Add the powdered sugar one cup at a time on low speed, then add the heavy cream, vanilla and salt. Whip on medium-high for 2-3 minutes until light, fluffy and able to hold its shape when you lift the beater.
  8. Frost the cake. Spread the frosting in an even layer over the cooled cake and smooth the top with an offset spatula. The berry rows look sharper on a flat surface.
  9. Arrange the flag. Place blueberries in tight rows in the upper left corner to make the star field, roughly a 4×6-inch rectangle. Arrange halved strawberries cut-side down in horizontal rows across the rest of the cake, leaving white frosting stripes between each red row. Start and end with a strawberry row so the top and bottom edges are red.

Getting Straight Stripes and Clean White Frosting

  • Chill before decorating: A cold, firm frosting surface holds the berries in place and keeps the rows clean. Even 15 minutes in the fridge after frosting helps.
  • Score guidelines: Lightly mark straight rows in the frosting with a toothpick before placing fruit so the stripes stay aligned.
  • Halve the strawberries evenly: Cut lengthwise and set them cut-side down so they sit flat in neat rows. Uneven chunks tilt and roll.
  • Sift the powdered sugar: Lumps show up as bumps under the berries and break the smooth stripe effect.
  • Frosting too soft to hold the rows: The butter or the cake was too warm. Chill the frosting in the bowl and re-whip it briefly, and always decorate a fully cooled, chilled cake.
  • Pink-tinted stripes: Berry juice is bleeding into the frosting. Pat the berries dry, and do not decorate too far ahead (see below).

Cake Mix, Berry and Layer Cake Options

  • Boxed mix: A white or vanilla cake mix baked in a 9×13 pan works as the base. The flag is the focus, so this saves time. Follow the box directions and cool fully before frosting.
  • Raspberries for strawberries: They are easy to place in rows. Blueberries are hard to replace for the blue field; there is no common fruit that gives the same deep blue.
  • Layer cake: A sheet cake gives the large flat surface a flag needs. With layers, decorate only the top and keep the sides plain.

Serving a Flag Cake to a Crowd

Cut it into squares right in the pan for cookouts, potlucks and block parties; the card lists 16 servings. The cool, creamy frosting is a good contrast to smoky grilled food. For a fuller Fourth of July table, add patriotic fruit salad, and if you want a second dessert, the patriotic strawberry shortcake or no-bake red white and blue cheesecake use the same berries.

Close-up of a sliced American flag cake showing golden vanilla layers under buttercream, strawberries, and blueberries
A fresh slice reveals the golden vanilla crumb beneath this gorgeous American flag cake’s berry topping.

Make-Ahead, Storage and Keeping the Flag Sharp

  • Bake ahead: The unfrosted cake can be baked a day ahead, wrapped tightly in plastic wrap and kept at room temperature overnight.
  • Decorate close to serving: Frost and refrigerate the cake ahead if you need to, then add the berries shortly before the party. Berry juices gradually tint the frosting pink, so the flag looks sharpest within about 4-6 hours of decorating.
  • Leftovers: Refrigerate covered for up to 3 days; the berries soften but the flavor holds. At a party, do not leave the cake out for more than 2 hours (1 hour above 90°F).

The card lists about 560 kcal per serving, with the frosting accounting for much of it.

American Flag Cake FAQ

Can I use a boxed cake mix?

Yes; see the options above. Make sure the cake is fully cooled before frosting.

How far ahead can I decorate the flag?

Within 4-6 hours of serving for the cleanest look. If you need more time, frost and chill the cake first and add the berries at the last minute.

About the author

Tyla

Tyla runs Recipes by Tyla, a collection of easy, practical home recipes: weeknight dinners, slow cooker meals, pork and brisket favorites and simple desserts. Recipes here focus on clear steps, realistic timing and safe cooking temperatures.

More about Tyla
1 hr 5 min total
Jump to Recipe