This red, white, and blue layer cake is a classic American flag–style dessert made with three tender vanilla cake layers, each tinted a patriotic color, stacked with white buttercream and finished with a berry topping. It serves 12 to 16 people and takes about 1 hour of active work plus 30 minutes of baking and cooling time.
Ingredients for a 3-Layer 9-Inch Cake
- 3 cups (360 g) all-purpose flour, plus more for pans
- 2 1/2 teaspoons baking powder
- 1/2 teaspoon salt
- 1 cup (2 sticks, 226 g) unsalted butter, softened
- 2 cups (400 g) granulated sugar
- 4 large eggs, room temperature
- 1 tablespoon vanilla extract
- 1 cup (240 ml) whole milk, room temperature
- Red gel food coloring
- Blue gel food coloring
- For the buttercream: 2 cups (4 sticks, 452 g) unsalted butter, softened
- 8 cups (960 g) powdered sugar, sifted
- 1/4 cup (60 ml) heavy cream
- 2 teaspoons vanilla extract
- Pinch of salt
- For topping: 1 cup fresh blueberries and 1 1/2 cups sliced fresh strawberries
Bake at 350°F (177°C) for 25–30 Minutes
- Preheat oven to 350°F (177°C). Grease three 9-inch round cake pans, line bottoms with parchment, and dust with flour.
- In a medium bowl, whisk together flour, baking powder, and salt.
- In a large bowl, beat butter and sugar on medium speed until light and fluffy, about 3 minutes. Add eggs one at a time, beating well after each. Beat in vanilla.
- With mixer on low, add flour mixture in three additions, alternating with milk, starting and ending with flour. Mix just until smooth; do not overmix.
- Divide batter evenly among three bowls. Tint one bowl with red gel coloring, one with blue, and leave the third white. Use about 1/2 teaspoon red and 1/2 teaspoon blue for a deep shade; adjust to your preference.
- Pour each colored batter into a prepared pan. Smooth tops.
- Bake for 25–30 minutes, until a toothpick inserted in the center comes out clean and the cake springs back when lightly pressed. Cool in pans on a wire rack for 10 minutes, then turn out onto racks to cool completely (about 1 hour).
- For the buttercream: beat butter on medium speed until creamy, about 2 minutes. Gradually add powdered sugar, then cream, vanilla, and salt. Beat on high for 2–3 minutes until fluffy.
- Assemble: place one cake layer on a serving plate. Spread about 1 cup of buttercream over the top. Repeat with the second layer. Place the third layer on top.
- Frost the top and sides with the remaining buttercream. For a naked look, use a thin layer; for full coverage, use all.
- Arrange blueberries in the upper left corner (about 3 rows by 4 rows) to form the stars, and strawberries in stripes across the rest of the top. Chill for 30 minutes before slicing to set the frosting.
How to Tell It's Done: Toothpick, Spring, and 200°F
The cake is done when a toothpick inserted in the center comes out with only a few moist crumbs, not wet batter. The top should spring back when pressed gently. For a precise check, an instant-read thermometer inserted into the center should read 200–205°F (93–96°C). Overbaking dries the cake, so start checking at 25 minutes.
Store Covered in the Fridge for Up to 4 Days
Because the cake has buttercream and fresh berries, keep it refrigerated. Cover with plastic wrap or a cake dome and store for up to 4 days. Let sit at room temperature for 20–30 minutes before serving for best texture. The cake can be frozen unfrosted, wrapped tightly in plastic and foil, for up to 2 months; thaw overnight in the fridge before frosting. Do not freeze once frosted with fresh berries.
Variations: Berry Compote, Cream Cheese Frosting, and Cupcakes
Berry compote layer: Instead of fresh berries on top, spread a thin layer of strawberry or blueberry jam between the cake layers. Use about 1/3 cup per layer; this adds moisture and a stronger fruit flavor.
Cream cheese frosting: Substitute the buttercream with a cream cheese frosting: beat 8 oz (226 g) softened cream cheese with 1/2 cup (1 stick) butter, then add 4 cups powdered sugar and 1 teaspoon vanilla. This frosting is tangier and less sweet; it needs refrigeration.
Cupcakes: Divide the batter into 24 lined muffin cups. Bake at 350°F (177°C) for 18–22 minutes, until a toothpick comes out clean. Frost with the same buttercream and top with berries.
Serving and Pairing for a July 4th or Memorial Day Table
Serve this cake as the centerpiece at a barbecue or picnic. It pairs well with cold lemonade, iced tea, or a light sparkling punch. Because it is rich, slice into thin pieces—about 1-inch wide—especially if serving after a heavy meal. For a cleaner cut, use a long serrated knife and wipe it between slices.
Equipment That Matters: Stand Mixer, Offset Spatula, and Cake Boards
A stand mixer or hand mixer is essential for the buttercream; beating by hand will not achieve the same fluffiness. An offset spatula makes frosting the sides much easier, but a butter knife works in a pinch. If you do not have three 9-inch pans, bake the batter in two 9-inch pans and split each layer horizontally after cooling. Use a cake board or a flat plate; a turntable helps but is not required.
Raw Flour and Egg Safety
The cake batter contains raw flour and raw eggs, so do not taste it before baking. Flour can carry harmful bacteria; bake the cake fully to an internal temperature of at least 200°F (93°C) to ensure safety. The buttercream uses no eggs, so it is safe to eat as is.