This 4th of July Flag Cake is the perfect size for serving a crowd this Independence Day. The white Texas sheet cake base is perfectly sweet and delicious paired with fresh fruit in red, white, and blue colors to make a simple flag design that is easy enough for anyone to pull off.
Table of Contents
When it comes to 4th of July desserts, it doesn’t get much easier than using fresh fruit to make a flag design on a simple sheet cake. The effect is impressive and patriotic without any complicated decorating or piping skills needed.
Make this for Flag Day, Memorial Day, or Veterans Day, not just the 4th of July. It’s one of our go-to patriotic dessert recipes and everybody loves it!
You can also just enjoy the white Texas sheet cake recipe plain or use any fruit you like the rest of the summer!
If you need more red, white, and blue dessert inspiration, be sure to check out our Patriotic Popsicles, Patriotic Pretzel Rods, and our 4th of July Fruit Kabobs with Yogurt Dip.
What You’ll Need
Scroll down to the recipe card below this post for ingredient quantities and full instructions.
- Flour – Regular all-purpose flour works great for this cake recipe.
- Sugar – You’ll use white granulated sugar for the cake batter and powdered sugar for the icing.
- Eggs – A couple of eggs helps bind the cake and give it a nice flavor and texture.
- Sour Cream – Adds moisture and richness to the cake base.
- Butter – You will need butter both for the cake itself as well as the icing. I use salted butter in almost all my baking unless otherwise specified.
- Baking powder & baking soda – These are leavening agents that give the cake a nice lift and tender crumb.
- Vanilla & almond extract – I love the little something extra that a little almond extract gives to this cake, especially when paired with the fresh fruit.
- Water – Water adds moisture to the cake batter to bring it together.
- Milk – For the icing, which is sort of a cross between a frosting and a glaze.
- Salt – Keeps things from being bland or overly sweet.
- Fresh fruit – I used sliced strawberries and blueberries this time, but I have also used blackberries and raspberries in the past for blue and red options.
How to Make a Flag Cake
- Prep. Preheat oven to 375°F. Spray an 11×17-inch half-sheet baking pan with baking spray.
- Whisk dry ingredients. Add the flour, sugar, baking powder, baking soda, and salt to a large bowl and whisk them together. The method of adding melted butter and water to this cake batter is a little different so it’s important to not skip this step of whisking the dry ingredients together or you can end up with clumps of baking powder or baking soda that aren’t evenly mixed in.
- Combine butter and water. Bring to a boil over medium-high heat until melted. Add to mixing bowl along with flour, sugar, baking soda, and salt. Mix until combined.
- Add remaining wet ingredients. Whisk in the eggs, sour cream, and vanilla to finish the cake batter. Pour the cake batter evenly into the prepared pan.
- Bake. Bake the cake for 17-20 minutes until done. A toothpick inserted into the cake should come out clean with just a few crumbs when the cake is done. Cool for 20 minutes before icing.
- Make the icing. Heat butter and milk in a medium saucepan over medium heat until butter has melted and the liquid comes to a boil. Remove from heat and add powdered sugar and vanilla.
- Pour. Whisk the icing ingredients until combined, then pour over the cake while both are still warm, tilting the pan for even coverage. The icing will start to set up quickly so you will want to pour it over the cake as evenly as possible, tilting the pan immediately for the smoothest finish rather than using a spatula or knife to spread it around like more traditional frosting.
- Decorate. Use blueberries to fill in the upper left hand corner of the cake, then arrange sliced strawberries in rows with empty space between them to represent the red and white stripes of the flag.
Recipe FAQ’s
Our favorite red fruits for using in 4th of July recipes include strawberries, raspberries, and watermelon. But cherries, rhubarb, plums, and even red grapes can also sometimes work, depending on how you use them.
Blueberries are the obvious solution, but purple grapes, blackberries, pluots, black plums, and boysenberries are more options that could work as well.
White or light yellow fruits like apples (soaked in a little salt water to prevent browning), dragonfruit, pineapple, white peach, lychee, and coconut can all potentially work if you are looking for white fruits to use in a themed patriotic dessert.
Tips for Success
- Use star cut outs. Another cute decorating idea if you don’t want a flag design is to just arrange red and blue fruit in another decorative pattern or randomly around the top rather than in a flag design. Then use a small star cutter to cut out sliced strawberry stars, water melon stars, pineapple stars, or apple stars instead for another great design. I have more helpful tips on how to do this in my patriotic popsicles post where I show pics of how it’s done.
- Make it funfetti! Add some red, white, and blue sprinkles to your cake batter just before pouring it into the pan to bake for a confetti surprise.
- Don’t skimp on the fruit. The pieces with both blueberries and strawberries are most popular, so I like to serve this with a bowl of additional blueberries on the side since they cover the least amount of cake.
Storage Instructions
You can prepare the cake up to 3 days in advance and it will still taste fresh and delicious if you keep it covered with a layer of plastic wrap or foil. Use a couple of toothpicks stuck into the top of the cake to tent the foil or plastic wrap so it doesn’t actually touch the surface of the cake and store it in the fridge without the fruit decoration for best results.
I recommend waiting to top with fruit until shortly before serving because the strawberries have a tendency to release their juices on sliced and in contact with the sugar in the frosting.
More 4th of July Recipes
- Old Glory American Flag Pie
- Red, White, and Blue Bundt Cake
- Red, White, and Blue Berry Trifle
- Chantilly Cake
- Red Velvet Whoopie Pies
Did you make this recipe?
Let me know what you thought with a comment and rating below. You can also take a picture and tag me on Instagram @houseofnasheats or share it on the Pinterest pin so I can see.
4th of July Flag Cake Recipe
Ingredients
Cake
- 1 cup salted butter, cubed
- 1 cup water
- 2 cups all-purpose flour (250g)
- 2 cups granulated sugar
- 1 teaspoon baking powder
- 1/4 teaspoon baking soda
- 1/2 teaspoon salt
- 2 large eggs
- 1/2 cup sour cream, room temperature
- 2 teaspoons vanilla extract
- 1 teaspoon almond extract (optional)
Frosting
- 1/2 cup salted butter
- 1/3 cup milk
- 4 cups powdered sugar
- 1 teaspoon vanilla extract
Assembly
- blueberries or blackberries
- strawberries or raspberries
Instructions
- Preheat oven to 375°F. Spray an 11×17-inch half-sheet baking pan with baking spray.
- Add the flour, sugar, baking powder, baking soda, and salt to a large bowl and whisk them together. The method of adding melted butter and water to this cake batter is a little different so it's important to not skip this step of whisking the dry ingredients together or you can end up with clumps of baking powder or baking soda that aren't evenly mixed in.
- Combine butter and water in a medium saucepan. Bring to a boil over medium-high heat until melted, stirring occasionally. Remove from heat and add to the mixing bowl with the dry ingredients. Mix until combined.
- Whisk in the eggs, sour cream, and vanilla. Pour the cake batter evenly into the prepared pan.
- Bake the cake for 17-20 minutes until done. A toothpick inserted into the cake should come out clean with just a few crumbs when the cake is done. Cool for 20 minutes before icing.
- Heat butter and milk in a medium saucepan over medium heat until butter has melted and the liquid comes to a boil.
- Remove from heat and add powdered sugar and vanilla. Whisk well until combined, then pour over the cake while both are still warm, tilting the pan for even coverage.
- Use blueberries to fill in the upper left hand corner of the cake, then arrange sliced strawberries in rows with empty space between them to represent the red and white stripes of the flag.
Notes
- Storage: You can prepare the cake up to 3 days in advance. Keep it covered with a layer of plastic wrap or foil using a couple of toothpicks stuck into the top of the cake to tent the foil or plastic wrap so it doesn’t touch the surface of the cake. Store it in the fridge without the fruit decoration for best results. I recommend waiting to top with fruit until shortly before serving because the strawberries have a tendency to release their juices on sliced and in contact with the sugar in the frosting.