The Best Fluffy Pancakes recipe you will fall in love with. Full of tips and tricks to help you make the best pancakes.
There’s something magical about desserts that instantly transport you somewhere warm and sunny. One bite of this Pineapple Coconut Cake and suddenly you’re dreaming of ocean breezes, backyard gatherings, and long summer afternoons with a cold drink in hand. This cake is soft, buttery, incredibly moist, and packed with bright pineapple flavor balanced perfectly by creamy coconut richness.
Unlike overly sweet bakery cakes that feel heavy after a few bites, this tropical-inspired dessert stays light, fluffy, and refreshing. The crushed pineapple melts right into the batter, creating a tender crumb that practically dissolves in your mouth. Meanwhile, toasted coconut adds texture and a warm nutty aroma that makes every slice irresistible.
What makes this recipe truly special is how easy it is to pull together. You don’t need fancy decorating skills or complicated techniques. It’s the kind of cake that looks naturally beautiful with rustic frosting swirls and a casual sprinkle of coconut on top. Whether you’re baking for a summer party, Easter brunch, birthday celebration, or simply craving a comforting homemade dessert, this cake delivers every single time.
If you love desserts that taste like sunshine on a plate, this Pineapple Coconut Sunshine Cake is about to become your new favorite.

Why You’ll Love This Recipe
- Ultra-moist texture thanks to juicy crushed pineapple
- Sweet tropical coconut flavor in every bite
- Easy enough for beginner bakers
- Perfect balance of fruity freshness and creamy richness
- Great make-ahead dessert for gatherings
- Naturally beautiful with simple rustic decoration
- Delicious chilled straight from the refrigerator
- Ideal for spring and summer celebrations
- Stays soft and flavorful for days
- Pairs perfectly with coffee, tea, or tropical drinks
Ingredients
For the Cake
- 2 ½ cups all-purpose flour
- 2 teaspoons baking powder
- ½ teaspoon baking soda
- ½ teaspoon salt
- 1 cup unsalted butter, softened
- 1 ¾ cups granulated sugar
- 4 large eggs
- 2 teaspoons vanilla extract
- 1 cup canned crushed pineapple, drained slightly
- 1 cup full-fat coconut milk
- 1 cup sweetened shredded coconut
For the Coconut Cream Frosting
- 8 ounces cream cheese, softened
- ½ cup unsalted butter, softened
- 3 ½ cups powdered sugar
- 1 teaspoon vanilla extract
- 2 tablespoons coconut cream
- Pinch of salt
For Garnish
- 1 cup toasted shredded coconut
- Pineapple tidbits or fresh pineapple slices
- Optional maraschino cherries for a retro tropical touch

Instructions
1. Prepare the Oven and Pans
Preheat your oven to 350°F (175°C). Grease and line two 9-inch round cake pans with parchment paper. This helps the cakes release easily and prevents sticking.
2. Mix the Dry Ingredients
In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
3. Cream the Butter and Sugar
In a large mixing bowl, beat the softened butter and sugar together for about 3–4 minutes until light and fluffy. Don’t rush this step — properly creamed butter creates a softer cake texture.
4. Add the Eggs and Vanilla
Beat in the eggs one at a time, mixing well after each addition. Stir in the vanilla extract.
5. Add the Pineapple and Coconut Milk
Mix in the crushed pineapple and coconut milk until fully combined. The batter may look slightly curdled at this stage, which is completely normal.
6. Combine Wet and Dry Ingredients
Gradually add the dry ingredients into the wet mixture. Mix just until combined. Overmixing can make the cake dense.
Fold in the shredded coconut gently using a spatula.
7. Bake the Cakes
Divide the batter evenly between the prepared cake pans. Smooth the tops gently.
Bake for 28–32 minutes, or until a toothpick inserted into the center comes out clean.
Allow the cakes to cool in the pans for 10 minutes before transferring them to a wire rack to cool completely.
8. Make the Frosting
In a large bowl, beat the cream cheese and butter together until smooth and creamy.
Gradually add powdered sugar while mixing on low speed. Stir in vanilla extract, coconut cream, and a pinch of salt.
Beat until fluffy and spreadable.
9. Assemble the Cake
Place one cake layer on a serving plate. Spread a thick layer of frosting evenly over the top.
Add the second cake layer and frost the top and sides.
Sprinkle toasted coconut generously over the cake. Garnish with pineapple pieces or cherries if desired.
10. Chill Before Serving
For the best flavor and texture, refrigerate the cake for at least 30 minutes before slicing. This helps the frosting set beautifully.
Pro Tips
Drain the Pineapple Slightly — But Not Completely
Leaving a little juice in the crushed pineapple keeps the cake extra moist without making the batter watery.
Toast the Coconut
Toasting coconut transforms its flavor completely. It becomes nuttier, richer, and adds incredible aroma to the finished cake.
Use Room Temperature Ingredients
Cold butter or eggs can prevent the batter from mixing properly and affect texture.
Chill the Cake Before Frosting
Slightly chilled cake layers are easier to frost and create cleaner layers.
Don’t Overbake
This cake should stay soft and tender. Start checking a few minutes early to avoid drying it out.
Variations
1. Pineapple Coconut Poke Cake
Bake the cake in a 9×13 pan, poke holes throughout, and pour sweet coconut cream over the top before frosting.
2. Tropical Layer Cake
Add sliced bananas or mango puree between the layers for an even more tropical flavor profile.
3. Lime Coconut Sunshine Cake
Add fresh lime zest and a little lime juice to the frosting for a bright citrus twist.
4. Cupcake Version
Turn the batter into cupcakes for easy party servings. Bake for 18–20 minutes instead.
Serving Suggestions
This Pineapple Coconut Sunshine Cake shines brightest when served slightly chilled. The cool frosting combined with the moist pineapple crumb creates the perfect refreshing dessert.
Serve it with:
- Fresh pineapple slices
- Coconut whipped cream
- Vanilla bean ice cream
- Hot coffee or iced latte
- Tropical fruit salad
- Sparkling lemonade
- Sweet iced tea
For special occasions, decorate the serving table with tropical flowers, citrus slices, or palm leaves for a fun island-inspired presentation.
Storage & Reheating
Refrigerator
Store the cake covered in the refrigerator for up to 5 days. The flavor actually improves after the first day as the pineapple moisture settles into the cake.
Freezer
Wrap individual slices tightly in plastic wrap and freeze for up to 2 months.
Serving After Refrigeration
Allow slices to sit at room temperature for 15–20 minutes before serving for the softest texture.
Common Mistakes to Avoid
Using Too Much Pineapple Juice
Excess liquid can make the cake dense and gummy. Slight draining is important.
Overmixing the Batter
Once the flour is added, mix gently to avoid a tough texture.
Skipping the Toasted Coconut
Untoasted coconut lacks the deep nutty flavor that makes this cake stand out.
Frosting a Warm Cake
Warm cake melts frosting instantly and creates a messy finish.
Using Low-Fat Coconut Milk
Full-fat coconut milk gives the cake richer flavor and better moisture.
Cultural Context & Fun Facts
Pineapple cakes became especially popular in American home baking during the mid-20th century when canned pineapple became widely available. Tropical-inspired desserts symbolized luxury, sunshine, and vacation escapes, especially in colder regions.
Coconut and pineapple are a classic pairing across Caribbean, Hawaiian, and Southern-style desserts because they balance sweetness with refreshing acidity. The combination became iconic in retro summer cakes, poke cakes, and picnic desserts throughout the 1960s and 1970s.
Today, tropical cakes are making a huge comeback thanks to their nostalgic flavor and bright, cheerful appearance that looks stunning in Pinterest and social media photography.

FAQs
Can I use fresh pineapple instead of canned?
Yes, but crush it finely and drain excess juice carefully. Canned pineapple tends to provide more consistent moisture.
Can I make this cake ahead of time?
Absolutely. In fact, the flavor becomes even better after chilling overnight.
Can I use boxed cake mix?
You can, but homemade batter gives much better texture and richer tropical flavor.
How do I toast coconut?
Spread shredded coconut on a baking sheet and bake at 325°F for 5–8 minutes, stirring halfway through until golden.
Can I make this cake gluten-free?
Yes. Use a high-quality 1:1 gluten-free baking flour blend.
What frosting works best besides cream cheese frosting?
Whipped coconut frosting or vanilla buttercream both work beautifully.
Final Thoughts
This Pineapple Coconut Sunshine Cake is the kind of dessert that instantly brightens the table. It’s soft, creamy, fruity, and packed with comforting homemade flavor that feels both nostalgic and refreshing at the same time.
The tropical pineapple keeps every bite moist while the coconut adds warmth and texture that makes the cake unforgettable. Whether you bake it for birthdays, summer cookouts, Easter brunch, or simply because you need a little sunshine in your day, this recipe never disappoints.
One slice in, and you’ll understand exactly why this cake disappears so quickly at every gathering.

Pineapple Coconut Sunshine Cake
Ingredients
Equipment
Method
- Preheat oven to 350°F and grease two 9-inch cake pans.
- Whisk together flour, baking powder, baking soda, and salt.
- Cream butter and sugar until fluffy, then add eggs and vanilla.
- Mix in crushed pineapple and coconut milk.
- Fold dry ingredients into wet mixture, then stir in shredded coconut.
- Bake cakes for 28–32 minutes until golden and cooked through.
- Cool completely before frosting.
- Beat frosting ingredients until fluffy and smooth.
- Assemble cake layers and decorate with toasted coconut.



