There’s something truly irresistible about the tropical fusion of coconut and pineapple in a cake—it instantly transports me to sun-drenched mornings and ocean breezes. When I first baked this Coconut Pineapple Cake, I was craving a dessert that felt both refreshing and indulgent without hours of effort. The result? A moist, fluffy slice bursting with sweet pineapple bits and a delicate coconut flavor that’s perfect for any occasion. Whether you’re hosting a casual get-together or simply want to brighten your afternoon tea, this cake delivers on flavor and ease. Dive in and discover how simple ingredients can come together to create a crowd-pleasing treat that never fails to bring smiles!

Why choose Coconut Pineapple Cake?
Tropical Escape: Each bite bursts with juicy pineapple and creamy coconut, transporting you to a sunny paradise. Effortless Prep: This cake requires minimal ingredients and simple steps, perfect for busy home cooks. Moist & Fluffy: The texture is light yet satisfyingly tender, making every slice a delight. Versatile Serving: Ideal for celebrations or casual snacks, it pairs wonderfully with tea or coffee. Crowd-Pleaser: Its unique flavor and inviting aroma make it an instant favorite among friends and family.
Coconut Pineapple Cake Ingredients
For the Cake Batter
- All-purpose flour – Use freshly sifted flour for a light, tender crumb.
- Granulated sugar – Balances sweetness and helps create a moist texture.
- Baking powder – Ensures the cake rises perfectly for fluffiness.
- Salt – Enhances the flavors and balances the sweetness.
- Eggs – Provide structure and richness, helping the cake hold together.
- Coconut milk – Adds natural coconut flavor and keeps the cake moist.
- Vegetable oil – Keeps the cake tender and adds moistness without overpowering flavors.
- Vanilla extract – Amplifies sweetness and complements tropical notes.
For the Tropical Twist
- Crushed pineapple (drained) – Infuses juicy, tangy bursts that brighten each bite; fresh pineapple can be used if preferred.
- Sweetened shredded coconut – Gives texture and a pronounced coconut taste that defines this Coconut Pineapple Cake.
For the Frosting (Optional but recommended)
- Cream cheese – Creates a creamy, tangy frosting that pairs beautifully with the tropical flavors.
- Powdered sugar – Sweetens the frosting smoothly without graininess.
- Butter – Adds richness and silky texture to the frosting.
- Vanilla extract – Enhances the frosting’s flavor and ties all the ingredients together.
How to Make Coconut Pineapple Cake
- Preheat oven: Preheat to 350°F and grease a 9-inch cake pan with butter or spray, ensuring even heat distribution for easy cake release.
- Mix dry ingredients: In a large bowl whisk flour, baking powder, salt, and sugar until evenly aerated, creating a light, lump-free foundation for a tender crumb.
- Combine wet ingredients: Whisk eggs, coconut milk, oil, and vanilla in a separate bowl until smooth and pale, ready to bind flavors into a silky batter.
- Fold in pineapple: Gently fold drained crushed pineapple and shredded coconut into the batter until evenly distributed, adding juicy bursts and tropical texture throughout.
- Bake cake: Pour batter into pan, smooth the top, and bake at 350°F for 30–35 minutes until golden brown and a toothpick comes out clean.
For the Frosting:
- Beat frosting: In a chilled bowl beat cream cheese, butter, powdered sugar, and vanilla on medium speed until light and fluffy, about 2–3 minutes.
- Frost and serve: Cool the cake for 10 minutes in pan, then transfer to a rack. Spread frosting evenly and garnish with extra coconut.
Optional: Toast extra shredded coconut for crunch and a golden, nutty finish.
Exact quantities are listed in the recipe card below.

Make Ahead Options
These Coconut Pineapple Cake preparations are perfect for busy home cooks looking to save time without sacrificing flavor! You can prepare the cake batter up to 24 hours in advance by mixing the dry and wet ingredients separately and storing them in the refrigerator. The batter can be combined just before baking to ensure it’s just as fresh and fluffy. Additionally, the cake can be baked and stored for up to 3 days at room temperature or in the fridge, wrapped tightly to maintain its moisture. When you’re ready to serve, simply frost it with the cream cheese mixture and garnish with extra coconut for that tropical flair, delivering a delightful dessert with minimal last-minute effort!
Expert Tips for Coconut Pineapple Cake
- Use Fresh Ingredients: Freshly sifted flour and freshly drained pineapple ensure the cake stays moist and light, enhancing the tropical flavors.
- Don’t Overmix Batter: Gently fold wet and dry ingredients to avoid a dense cake; overmixing develops gluten and toughens the crumb.
- Drain Pineapple Well: Excess juice can make your Coconut Pineapple Cake soggy—use a fine mesh strainer and press out moisture before folding in.
- Check Doneness Early: Begin testing the cake at 30 minutes with a toothpick to prevent overbaking, which dries the cake out.
- Chill Frosting Bowl: Keeping the bowl and beaters cold helps the cream cheese frosting beat up light and fluffy for easy spreading.
- Optional Toasted Coconut: Toast shredded coconut just before frosting to add texture and a peanutty aroma that complements the cake beautifully.
How to Store and Freeze Coconut Pineapple Cake
Room Temperature: Keep the cake covered with a cake dome or wrap it in plastic wrap for 1–2 days to maintain freshness without refrigeration.
Fridge: Store leftover cake in an airtight container in the refrigerator for up to 5 days, ensuring it stays moist and flavorful.
Freezer: For longer storage, wrap sliced cake tightly in plastic wrap and aluminum foil, freezing for up to 3 months. Thaw in the fridge before enjoying.
Reheating: To enjoy leftovers, warm slices in the microwave for 10-15 seconds, or enjoy at room temperature for the best Coconut Pineapple Cake experience.
What to Serve with Coconut Pineapple Cake?
Imagine delighting your guests with a full tropical experience as you serve this delightful cake alongside refreshing and complementary dishes.
-
Tropical Fruit Salad: A vibrant mix of fresh papaya, mango, and kiwi adds a refreshing crunch that enhances the cake’s flavors. This light salad creates a delightful balance of sweetness and tartness.
-
Coconut Whipped Cream: Fluffy and airy, this whipped cream garnished with toasted coconut adds an indulgent touch that mirrors the cake’s tropical notes. A spoonful complements every slice beautifully!
-
Iced Tea with Mint: A cool, mint-infused iced tea brightens up the flavors of the cake, making it a perfect pairing for sunny afternoons. Serve it sweetened or unsweetened for a refreshing sip.
-
Lemon Sorbet: A scoop of tangy lemon sorbet provides a palate-cleansing contrast that refreshes the taste buds between each sweet bite. Its icy texture makes it a delightful addition.
-
Pineapple Coconut Smoothie:Blend up a luscious smoothie using pineapple, coconut milk, and a hint of vanilla. It creates a harmonious drink that echoes the cake’s flavor profile for a refreshing sip.
-
Tropical Green Salad: A crisp salad with mixed greens, avocado, and a mango vinaigrette brings a refreshing crunch and balances the richness of the cake. It’s a vibrant dish that feels light and nourishing.
-
Sparkling Wine: A glass of sparkling wine or champagne elevates the occasion, bringing a touch of elegance while the bubbles cleanse the palate, allowing for repeated slices of cake.
-
Macadamia Nut Cookies: Chewy macadamia nut cookies add a crunchy contrast and a nutty flavor that pairs wonderfully with the coconut in the cake. Their texture and taste create a delightful dessert experience together.
-
Chilled White Sangria: Fruity white sangria made with fresh fruits and a splash of citrus creates a festive drink that complements the cake’s tropical essence, perfect for a summer gathering.
Coconut Pineapple Cake Variations & Substitutions
Feel free to get creative with this recipe and tailor it to your tastes!
- Gluten-Free: Substitute all-purpose flour with a gluten-free blend to cater to dietary needs while keeping the texture delightfully moist.
- Dairy-Free: Use coconut yogurt instead of cream cheese in the frosting for a plant-based twist that still packs a creamy punch.
- Pineapple Upside-Down: Pour some brown sugar and melted butter in the cake pan before adding pineapple slices on the bottom for a beautiful caramelized topping.
- Add Nuts: Incorporate chopped walnuts or pecans for a delightful crunch and added nuttiness that complements the tropical flavors beautifully.
- Coconut Extract: Enhance the coconut flavor by adding 1 tsp of coconut extract to the batter for an extra tropical punch!
- Fruity Variations: Swap the crushed pineapple for fresh mango or a mix of tropical fruits for a colorful explosion of flavors in every slice.
- Zesty Lime: Add the zest of a lime to the batter for a refreshing citrus note that brightens up the cake’s sweetness.
- Spiced Version: Incorporate a dash of cinnamon or nutmeg into the batter for a subtle warmth that contrasts nicely with the pineapple and coconut flavors.
Experimenting with these variations will make your Coconut Pineapple Cake even more delightful and uniquely yours! Enjoy your tropical adventure in baking!

Coconut Pineapple Cake Recipe FAQs
How ripe should the pineapple be for the best flavor in this cake?
Use pineapple that is fully ripe but firm, with a bright yellow color and sweet aroma. Overripe pineapple with dark spots all over may add excess moisture, which can make the cake soggy.
What’s the best way to store Coconut Pineapple Cake to keep it moist?
I recommend storing the cake in an airtight container at room temperature, covered with a cake dome or plastic wrap, for 1 to 2 days. For longer freshness, refrigeration is ideal—place leftovers in an airtight container, and they’ll stay moist and delicious for up to 5 days.
Can I freeze Coconut Pineapple Cake, and how should I do it?
Absolutely! To freeze, slice the cooled cake and wrap each slice tightly in plastic wrap, then cover with aluminum foil or place in a freezer-safe bag. This method protects the cake from freezer burn and keeps the tropical flavors intact for up to 3 months. When ready to eat, thaw slices overnight in the fridge and warm for 10–15 seconds in the microwave if you like it slightly warm.
What if my cake turns out dense or dry?
Don’t worry—it happens! Dense or dry cake usually means the batter was overmixed or baked too long. Try folding the wet and dry ingredients gently next time, and begin checking for doneness at 30 minutes with a toothpick. Also, ensure you drain pineapple thoroughly to avoid extra moisture.
Is Coconut Pineapple Cake safe for pets or people with allergies?
This cake contains common allergens like eggs and dairy (in the frosting). It’s not suitable for pets due to ingredients like chocolate or cream cheese which can be harmful to them. For guests with allergies, consider ingredient substitutions or making a separate allergen-free version.

Easy Coconut Pineapple Cake: Irresistibly Moist Tropical Delight
Ingredients
Equipment
Method
- Preheat oven to 350°F and grease a 9-inch cake pan.
- In a large bowl whisk flour, baking powder, salt, and sugar until lump-free.
- Whisk eggs, coconut milk, oil, and vanilla in a separate bowl until smooth.
- Fold in drained crushed pineapple and shredded coconut into the batter.
- Pour batter into pan and bake at 350°F for 30–35 minutes.
- In a chilled bowl beat cream cheese, butter, powdered sugar, and vanilla until light and fluffy.
- Cool the cake for 10 minutes, then frost evenly.




