This stunning centerpiece combines tropical sweetness with patriotic flair. Moist layers infused with crushed pineapple and shredded coconut bake into golden perfection, while tangy cream cheese frosting adds rich creaminess between each tier. Fresh strawberries and blueberries create the classic red, white, and blue display perfect for Memorial Day, Independence Day, or any summer gathering.
The cake comes together in about an hour with simple pantry ingredients. The pineapple keeps every bite incredibly moist, while coconut adds delightful texture throughout. For maximum flavor, brush the cooled layers with reserved pineapple juice before frosting—a professional trick that intensifies the tropical notes.
The whipped cream cheese frosting spreads beautifully and balances the sweetness perfectly. Arrange berries in elegant patterns or let everyone help decorate for a fun family activity. Leftovers stay fresh covered in the refrigerator for up to three days, though this crowd-pleasing dessert rarely lasts that long.
Last summer, my sister called me in a complete panic because she'd promised to bring a 'patriotic dessert' to a July 4th potluck and had zero ideas. I suggested this cake, and she was skeptical about pineapple and coconut feeling summery enough until she tasted it.
I made this for a Memorial Day gathering and watched my uncle take three slices before finally admitting he doesn't even like coconut. The pineapple makes it so moist that even coconut skeptics usually come around after one bite.
Ingredients
- All-purpose flour: The structure-holding backbone of this cake, measure it by spooning into your cup and leveling off for accuracy
- Baking powder and soda: These work together to give the cake its lift, so make sure they're fresh and not expired
- Salt: A small amount enhances all the other flavors and keeps the cake from tasting flat
- Granulated and brown sugar: The combination gives you both sweetness and a subtle depth of flavor, plus the brown sugar contributes to the moist texture
- Unsalted butter and vegetable oil: Butter provides flavor while the oil keeps the cake incredibly tender and moist for days
- Eggs: Room temperature eggs incorporate better into the batter, so take them out about 30 minutes before you start
- Vanilla extract: Pure vanilla makes a noticeable difference here, so skip the imitation stuff if you can
- Canned crushed pineapple: Drain it really well, pressing out excess juice, or your cake might turn out dense and gummy
- Sweetened shredded coconut: This adds texture and that characteristic tropical flavor throughout the crumb
- Whole milk: Room temperature milk combines more smoothly with the fats in the batter
- Cream cheese: Use full-fat brick cream cheese, not the kind in a tub, for the most stable frosting
- Powdered sugar: Sifting it first prevents lumps in your frosting and gives it that silky professional finish
- Fresh strawberries and blueberries: The freshest berries you can find make all the difference in both appearance and flavor
- Toasted coconut: Totally optional but adds such a gorgeous crunch and visual element if you have the extra five minutes
Instructions
- Get your oven ready:
- Preheat to 350°F and grease your cake pans well, lining the bottoms with parchment for absolutely foolproof removal later
- Whisk the dry ingredients:
- Combine the flour, baking powder, baking soda, and salt in a medium bowl so everything's evenly distributed
- Cream the sugars and fats:
- Beat both sugars with the butter and oil until the mixture looks pale and fluffy, which takes about 2 to 3 minutes of serious mixing
- Add the eggs:
- Drop them in one at a time, letting each one fully incorporate before adding the next, then mix in the vanilla
- Fold in the tropical mix-ins:
- Gently stir in that well-drained pineapple and coconut until they're evenly distributed throughout the batter
- Combine wet and dry:
- Add the flour mixture in three parts, alternating with milk, mixing just until everything comes together
- Bake the layers:
- Divide batter between your prepared pans and bake for 30 to 35 minutes until a toothpick comes out clean
- Cool completely:
- Let the cakes rest in their pans for 10 minutes before turning them out onto a wire rack to cool all the way through
- Make the frosting:
- Beat cream cheese and butter until completely smooth, then gradually add powdered sugar, vanilla, and salt until fluffy
- Assemble and decorate:
- Stack the cakes with frosting between layers, frost the outside, and arrange those fresh berries in whatever patriotic pattern speaks to you
This cake has become my go-to for summer gatherings because it travels surprisingly well and always feels special without requiring any fancy techniques.
Making It Ahead
You can bake the cake layers up to two days in advance, wrap them tightly in plastic, and store at room temperature. The frosting can also be made ahead and kept refrigerated, but bring it to room temperature before you try to spread it.
Decorating Tips
A chilled cake frosts much more neatly than a room temperature one, so consider popping your cooled layers in the freezer for 30 minutes before you start. And if your frosting gets too soft while you're working, the whole cake can go in the fridge for 15 minutes to firm everything back up.
Serving and Storage
This cake is actually better the second day as the flavors have time to meld and the moisture distributes throughout. Refrigerate it because of the cream cheese frosting, but let it sit at room temperature for about 30 minutes before serving for the best texture and flavor.
- Use a serrated knife with a gentle sawing motion for clean slices that show off those beautiful layers
- Leftovers (if you somehow have any) keep well for up to three days when properly covered
- The berries will start to weep after the first day, so this cake is at its most photogenic within 24 hours of decorating
Hope this cake brings as much joy to your table as it has to mine over the years. There's something magical about that combination of tropical flavors and summer berries.
Recipe Questions & Answers
- → Can I make the cake layers ahead of time?
-
Absolutely. Bake and cool the layers completely, then wrap tightly in plastic wrap and freeze for up to one month. Thaw overnight in the refrigerator before frosting and decorating.
- → What's the best way to drain crushed pineapple?
-
Place the pineapple in a fine-mesh sieve and press gently with the back of a spoon. Reserve the juice for brushing the layers—this adds extra moisture and flavor without making the cake soggy.
- → Can I use frozen berries for decoration?
-
Fresh berries work best for the patriotic topping since frozen ones release excess moisture as they thaw, which can make the frosting runny. If using frozen, thaw and pat them completely dry before arranging.
- → How do I prevent the cream cheese frosting from becoming too soft?
-
Make sure both cream cheese and butter are truly softened to room temperature before beating—cold ingredients cause lumps. Avoid over-beating once the powdered sugar is incorporated, as this can thin the frosting.
- → Can I substitute coconut milk for regular milk?
-
Yes, coconut milk amplifies the tropical coconut flavor throughout the cake. Use full-fat canned coconut milk for the richest results, and shake the can well before measuring.
- → What's the easiest way to achieve smooth frosting?
-
Apply a thin crumb coat first—a very thin layer of frosting that catches loose crumbs. Chill for 15 minutes, then apply the final thick layer. This creates professional-smooth results.