This stunning patriotic dessert combines moist tropical layers with a creamy finish. The cake features crushed pineapple and sweetened coconut folded into a tender butter cake base, creating incredible moisture and island flavor. A luscious cream cheese frosting bridges the sweetness, while fresh strawberries and blueberries create that signature red, white, and blue swirl. Perfect for Memorial Day, July 4th, or any summer celebration, this impressive dessert serves twelve and comes together in just over an hour.
Last Fourth of July, my neighbor Sarah brought this cake to our block party and I swear I heard three separate people ask for the recipe before they even finished their first slice. Something about that tropical coconut sweetness paired with tart berries just feels like summer in America, all wrapped up in cream cheese frosting heaven.
I learned the hard way that well drained pineapple is nonnegotiable when my first attempt turned into a sad sunken mess in the middle. Now I press those crushed pineapple chunks through a fine mesh sieve and even pat them with paper towels because excess moisture is the enemy of fluffy cake layers.
Ingredients
- All purpose flour: Creates the structure that holds all those tropical add ins together
- Baking powder and baking soda: Work together to give your cake lift and a tender crumb
- Salt: Balances sweetness and enhances all the other flavors
- Granulated and brown sugar: The combination gives you caramel notes from the brown sugar and crisp sweetness from white
- Butter and vegetable oil: Butter adds flavor while oil keeps the cake moist for days
- Eggs: Room temperature eggs emulsify better and create a more stable batter
- Vanilla extract: Pure vanilla extract makes all the difference here
- Crushed pineapple: Drain it really well or your cake will collapse in the center
- Sweetened shredded coconut: Toast it beforehand if you want deeper coconut flavor
- Whole milk: Use full fat milk for the richest texture
- Cream cheese: Make sure it is completely softened to avoid lumpy frosting
- Powdered sugar: Sifting first prevents those annoying tiny lumps in your frosting
- Fresh strawberries and blueberries: Peak season fruit makes the decoration shine
Instructions
- Prep your oven and pans:
- Set your oven to 350°F and generously grease two 9 inch round pans with butter then line the bottoms with parchment paper circles so nothing sticks.
- Mix the dry team:
- Whisk together flour baking powder baking soda and salt in a medium bowl and set it aside while you work on the wet ingredients.
- Cream the sugars and fats:
- Beat granulated sugar brown sugar butter and oil in your large bowl for about 3 minutes until the mixture looks pale and fluffy.
- Add the eggs one by one:
- Drop in each egg separately and beat for a full minute after each one before stirring in the vanilla extract.
- Fold in the tropical gems:
- Gently stir in your well drained pineapple and shredded coconut until they are evenly distributed throughout the batter.
- Combine wet and dry:
- Add the flour mixture in three parts alternating with milk starting and ending with flour while mixing just until no dry streaks remain.
- Bake to golden perfection:
- Divide batter between your prepared pans and bake for 30 to 35 minutes until a toothpick inserted in the center emerges clean.
- Cool completely before frosting:
- Let the cakes rest in their pans for 10 minutes then turn them onto a wire rack until they are completely cool to the touch.
- Make the frosting:
- Beat softened cream cheese and butter together until creamy then gradually add powdered sugar vanilla and salt until fluffy and smooth.
- Assemble your masterpiece:
- Place one cake layer on your serving plate spread generously with frosting then top with the second layer and frost the top and sides.
- Decorate like a pro:
- Arrange fresh strawberries and blueberries in a patriotic flag pattern or festive swirl then sprinkle toasted coconut over everything.
My daughter helped me decorate this cake last year and we may have gotten carried away with the berry arrangement but honestly that is half the fun. Now she asks every holiday if we can make the flag cake again.
Making It Ahead
You can bake the cake layers up to two days in advance and wrap them tightly in plastic wrap at room temperature. The frosting also keeps well in the refrigerator for three days but bring it to room temperature before spreading.
Frosting Like A Baker
Apply a thin crumb coat of frosting first then refrigerate the cake for 30 minutes before adding the final layer. This traps any loose crumbs and gives you that perfectly smooth professional finish.
Serving And Storage
Because of the cream cheese frosting and fresh fruit this cake needs to be refrigerated until about 30 minutes before serving. Let those slices come to room temperature so the flavors really shine.
- Use a hot knife to slice through clean by dipping your blade in hot water between cuts
- Leftovers actually taste better on day two when the flavors have melded together
- This cake freezes beautifully just wrap individual slices in plastic and foil
There is something magical about cutting into this cake and seeing those patriotic colors peeking through the creamy frosting. Hope it becomes a favorite at your holiday table too.
Recipes Q&A
- → Can I make this cake ahead of time?
-
Yes! Bake the cake layers up to 2 days in advance, wrap tightly in plastic, and store at room temperature. Frost the day of serving for best results.
- → How do I prevent the berries from bleeding into the frosting?
-
Pat berries dry with paper towels before placing on the frosted cake. Add them just before serving, and consider placing them on small dollops of frosting to create a barrier.
- → Can I use frozen pineapple instead of canned?
-
Fresh or frozen pineapple works well. Thaw frozen pineapple completely and drain excess liquid before adding to the batter to maintain proper consistency.
- → What's the best way to achieve smooth frosting?
-
Ensure cream cheese and butter are completely softened at room temperature. Sift powdered sugar before adding to prevent lumps, and beat on medium speed until creamy and smooth.
- → Can I make this as a single layer cake?
-
Absolutely! Use a 9x13 inch pan and increase baking time to 40-45 minutes. Frost the top and arrange berries in a flag pattern or decorative swirl.
- → How should I store leftovers?
-
Cover and refrigerate for up to 3 days. The cake actually tastes better on day two as flavors meld. Bring to room temperature 30 minutes before serving.