This stunning patriotic dessert combines tropical pineapple and coconut in moist, tender layers. The cake is crowned with creamy vanilla frosting and decorated with fresh strawberries and blueberries in a festive flag pattern. Perfect for Memorial Day, July 4th, or any celebration that calls for something special and visually impressive.
The Fourth of July potluck snuck up on me last summer, and I needed something that would stand out among the usual flag cakes. This tropical spin was actually born from a leftover can of crushed pineapple staring at me from the pantry counter. When my friend Sarah took her first bite and immediately asked for the recipe, I knew this coconut pineapple creation had found its permanent place in my celebration rotation.
Last year my neighbor's kids actually cheered when they saw me carrying this cake over. The youngest kept calling it the fireworks cake because of the red and blue berries on top. Watching their faces light up when I sliced into those layers made all the measuring and waiting completely worth it.
Ingredients
- 2 1/4 cups all-purpose flour: The foundation that holds all those tropical flavors together
- 2 tsp baking powder: Gives your cake the perfect rise without making it taste metallic
- 1/2 tsp baking soda: Works with the acidic pineapple for extra lift
- 1/2 tsp salt: Essential for balancing all that sugar
- 1 cup granulated sugar and 1/2 cup brown sugar: The brown sugar adds a lovely caramel note while the white keeps it light
- 1/2 cup unsalted butter and 1/2 cup vegetable oil: This combo gives you buttery flavor with the oil's superior moisture
- 4 large eggs: Room temperature eggs incorporate better and create a more tender crumb
- 1 1/2 tsp vanilla extract: Do not skimp here, it bridges the gap between coconut and pineapple
- 1 cup canned crushed pineapple, well drained: Press it through a sieve to remove excess juice
- 1 cup sweetened shredded coconut: Toast half of it for deeper flavor if you have time
- 1/2 cup whole milk: Room temperature milk prevents the batter from seizing
Instructions
- Get your oven ready:
- Preheat to 350°F and grease two 9-inch round pans, then line them with parchment paper for easy removal later
- Whisk the dry team:
- In a medium bowl, combine flour, baking powder, baking soda, and salt until well blended
- Cream the sugars and fats:
- Beat together both sugars, butter, and oil until the mixture turns light and fluffy, about 2 to 3 minutes
- Add the eggs:
- Drop in eggs one at a time, beating thoroughly after each one, then mix in the vanilla
- Fold in the tropical additions:
- Gently stir in the drained pineapple and shredded coconut until just combined
- Build the batter:
- Add dry ingredients in three parts, alternating with milk, starting and ending with the flour mixture
- Bake to perfection:
- Divide batter between pans and bake for 30 to 35 minutes until a toothpick comes out clean
- Cool completely:
- Let the cakes rest in pans for 10 minutes, then turn onto a wire rack to cool entirely
- Make the frosting:
- Beat cream cheese and butter until smooth, then gradually add powdered sugar, vanilla, and salt
- Assemble and decorate:
- Frost between layers and all around, then arrange strawberries and blueberries on top
My sister-in-law now requests this for every family gathering, birthday or not. Something about that combination of familiar patriotic colors with unexpected tropical flavors makes people feel like they are at a party even on a random Tuesday.
Make It Your Own
Brushing those cake layers with a little of the reserved pineapple juice before frosting creates pockets of extra moisture and flavor. It is a tiny step that transforms the whole eating experience.
Getting The Decoration Right
Work quickly once you start placing the berries, as the frosting will start to set and make rearranging difficult. I like to do a rough sketch on paper first, especially if I am aiming for a specific flag pattern.
Storage And Serving Tips
This cake actually tastes better on day two, after the flavors have had time to mingle and the frosting has firmed up slightly. Keep it refrigerated, but let it sit at room temperature for 20 minutes before serving for the best texture.
- Cut it with a sharp knife dipped in hot water for clean slices
- Press any extra toasted coconut into the sides for a snow-capped look
- The cream cheese frosting needs refrigeration, so plan accordingly for transport
Hope this cake brings as much joy to your table as it has to mine over the years. Happy baking, and happy celebrating.
Recipe FAQs
- → Can I make this cake ahead of time?
-
Yes! Bake the layers up to 2 days in advance, wrap tightly in plastic, and store at room temperature. Frost and decorate the day of serving for best results.
- → How do I prevent the berries from bleeding into the frosting?
-
Gently pat berries dry with paper towels before placing them on the frosting. Arrange them just before serving to maintain the clean patriotic appearance.
- → Can I use fresh pineapple instead of canned?
-
Fresh pineapple works too! Grate it and drain well, or cook briefly to release excess moisture before adding to the batter.
- → What's the best way to achieve the flag pattern?
-
Create a square of blueberries in one corner, then arrange strawberries in stripes across the rest. Start from the outer edge and work inward for clean lines.
- → How should I store leftovers?
-
Refrigerate covered for up to 3 days. Bring to room temperature 30 minutes before serving for the best texture and flavor.
- → Can I freeze the unfrosted layers?
-
Wrap cooled layers tightly in plastic wrap and foil, then freeze for up to 3 months. Thaw overnight in the refrigerator before frosting.