Go Back
American Flag Layer Cake
MaraLila

American Flag Layer Cake

The American Flag Layer Cake is the ultimate patriotic centerpiece dessert — a beautifully frosted white cake that hides a stunning red, white, and blue flag design inside, revealed only when you slice it. Soft, buttery vanilla sponge layers are tinted to vibrant perfection, stacked with tangy cream cheese buttercream, and decorated on the outside to look just like Old Glory herself. Perfect for 4th of July, Memorial Day, and any patriotic celebration. For another festive dessert idea, check out our Red Velvet Cake.
Prep Time 45 minutes
Cook Time 25 minutes
Chill Time 1 hour
Total Time 4 hours
Servings: 18 slices
Course: Dessert
Cuisine: American
Calories: 500

Ingredients
  

  • — RED LAYERS (make 2 batches) —
  • 2.5 cups all-purpose flour (300g)
  • 2 cups granulated white sugar (400g)
  • 1 tbsp baking powder
  • 0.5 tsp fine sea salt
  • 0.5 cup unsalted butter, softened (113g)
  • 3 large eggs, room temperature
  • 1 cup whole milk, room temperature (240ml)
  • 0.5 cup sour cream, room temperature (120ml)
  • 2 tsp pure vanilla extract
  • 1 tsp red gel food coloring (adjust to desired intensity)
  • — WHITE LAYER (1 batch, same as above, no coloring) —
  • — BLUE LAYER (smaller batch) —
  • 1.25 cups all-purpose flour (150g)
  • 1 cup granulated white sugar (200g)
  • 1.5 tsp baking powder
  • 0.25 tsp fine sea salt
  • 0.25 cup unsalted butter, softened (57g)
  • 2 large eggs, room temperature
  • 0.5 cup whole milk, room temperature (120ml)
  • 0.25 cup sour cream, room temperature (60ml)
  • 1 tsp pure vanilla extract
  • 1 tsp royal blue or navy gel food coloring
  • — CREAM CHEESE BUTTERCREAM —
  • 1 cup unsalted butter, softened (226g)
  • 8 oz full-fat block cream cheese, softened (226g)
  • 6 cups powdered sugar, sifted (720g)
  • 2 tsp pure vanilla extract
  • 0.25 tsp fine sea salt
  • 3 tbsp heavy cream, as needed for consistency
  • — DECORATION —
  • 1 cup white buttercream tinted navy blue (reserved from above)
  • white star sprinkles or edible silver star dragées
  • red gel food coloring (for stripe accents)

Equipment

  • Stand Mixer with Paddle Attachment For the reverse creaming method and buttercream.
  • Four 8-inch Round Cake Pans For the red and white cake layers.
  • One 6-inch Round Cake Pan For the smaller blue canton layer.
  • Parchment Paper Cut into circles to line the bottom of each pan.
  • Serrated Knife or Cake Leveler For leveling all cake layers flat.
  • Offset Spatula For applying and smoothing the frosting.
  • Bench Scraper For achieving smooth, sharp frosted sides.
  • Rotating Cake Turntable Highly recommended for even frosting and clean stripe work.
  • Piping Bags For decorating the exterior with stripes and stars.
  • Piping Tips: #4 Round & #1M Star Round tip for stripes, star tip for top swirls.
  • Kitchen Scale For weighing batter portions to ensure even layers.
  • Wire Cooling Racks For cooling cake layers fully before assembly.

Method
 

  1. Preheat your oven to 350°F (175°C). Grease four 8-inch round cake pans and one 6-inch round cake pan. Line the bottoms with parchment paper circles, then grease and lightly flour each pan. Set aside.
  2. In the bowl of a stand mixer fitted with the paddle attachment, whisk together the flour, sugar, baking powder, and salt on low speed until combined. Add the softened butter in tablespoon-sized pieces and beat on medium speed for about 2 minutes until the mixture resembles coarse, damp sand (reverse creaming method).
    In a separate bowl, whisk together the eggs, milk, sour cream, and vanilla until smooth. Pour half into the flour-butter mixture and beat on medium-high for 1 minute. Scrape down the bowl, add the remaining liquid, and beat 30 more seconds until a smooth batter forms. Do not overmix.
  3. Divide the batter and tint as follows: Two red portions (~2 cups each) — fold in red gel food coloring until deeply saturated. One white portion (~2 cups) — leave untinted. Blue batter (from the smaller recipe) — fold in navy blue gel coloring until deeply saturated.
    Pour each red portion into one 8-inch pan, the white portion into the third 8-inch pan, and the blue batter into the 6-inch pan.
  4. Bake at 350°F for 22–26 minutes, or until a toothpick inserted in the center comes out with just a few moist crumbs. The 6-inch blue layer may be done 3–4 minutes earlier — check it first. Cool in pans for 15 minutes, then turn out onto wire racks and cool completely (at least 2 hours) before assembling.
  5. Beat softened butter on medium-high for 3–4 minutes until pale and fluffy. Add the block cream cheese and beat 2 more minutes until fully combined. Reduce to low, add sifted powdered sugar one cup at a time, then add vanilla and salt. Turn speed to medium-high and beat for 3 full minutes until light and smooth. Add heavy cream one tablespoon at a time if needed for a spreadable consistency.
    Reserve about 1 cup of frosting, tint it navy blue, and set aside for decoration.
  6. Using a serrated knife or cake leveler, trim the domed tops off all cake layers until perfectly flat. Then trim the blue 6-inch layer down to ¾ inch in height. This thin blue disc will become the canton (star field) of the flag inside the cake.
  7. Place one red 8-inch layer on a cake board. Spread a thin, even layer of white frosting on top. Place the white cake layer on top and apply another thin frosting layer.
    Take the second red 8-inch layer and place it flat on your work surface. Cut out a 6-inch circle from the upper-left quadrant of this layer. Drop the blue 6-inch layer into this carved space so the surfaces are flush. Gently place this assembled layer on top of the white layer and press lightly. Top with the final red layer.
  8. Apply a thin crumb coat of white buttercream over the entire outside of the cake using an offset spatula to seal in all colored crumbs. Refrigerate for at least 30 minutes.
    Apply a generous final coat of white buttercream, smoothing with a bench scraper for clean, sharp edges. Refrigerate again for 20 minutes.
  9. Using a piping bag with a small round tip, pipe horizontal red stripes across the lower two-thirds of the cake's side, evenly spaced to mimic the flag's 13 stripes.
    In the upper-left quadrant of the cake's side, use the reserved navy blue buttercream to pipe a filled-in rectangle. Use a star tip or toothpick dipped in white food coloring to add small white stars inside the blue rectangle.
    Pipe white swirls on top using a 1M star tip and scatter white or silver star sprinkles over the surface to finish.

Notes

Pro Tips: Always use gel food coloring — liquid coloring washes out the color and adds too much moisture. Make sure all ingredients are at room temperature for a smooth, emulsified batter. Weigh your batter when dividing between pans for perfectly even layers. Chill the cake between every frosting step — cold layers are stable layers. Use a rotating turntable for smooth sides and even stripes. Cake layers can be baked 2 days ahead and refrigerated, tightly wrapped. The fully assembled cake can be made 1 day ahead and refrigerated overnight. Remove from the fridge 30–45 minutes before serving for the best flavor and texture.