Love this? Save it for later!
Share the inspiration with your friends
“You’re seriously telling me that’s pineapple and coconut in a cake?” my friend asked, eyeing the baking dish like it was some tropical mystery. Honestly, I wasn’t sure myself the first time I threw this Moist Pineapple Coconut Dream Cake with Creamy Buttercream together. It started as an experiment on a lazy Sunday afternoon when I had a can of crushed pineapple staring at me in the pantry and a half-open bag of shredded coconut begging for attention. I wasn’t aiming for perfection, just a quick fix to satisfy a sudden sweet craving—and, well, it turned into a full-on obsession.
The kitchen filled with this intoxicating aroma of toasted coconut and sweet pineapple, and I kept sneaking bites of the buttery crumb while the frosting was still cooling. That creamy buttercream? It’s honestly the kind that makes you close your eyes after the first bite (you know the feeling). What stuck with me wasn’t just how moist and tender the cake turned out, but how it managed to feel like a little tropical vacation on a plate—without any fuss or fancy ingredients. Since then, I’ve made it so many times I’ve lost count, tweaking the frosting just a bit or swapping fresh pineapple for canned when I’m feeling lazy.
This cake found its way onto many tables, from casual weekend hangouts to unexpected potlucks where it disappeared faster than I could slice it. It’s that kind of recipe that feels like a secret weapon—comforting, easy, and just a little bit dreamy. If you’re the kind of person who loves a cake that’s juicy but not soggy, sweet but not cloying, and topped with buttercream so smooth it almost melts on your tongue, you’re in the right place. You might even find yourself making it again and again—just like I did, without even planning to. There’s something quietly satisfying about a cake that can do all that with just a few humble ingredients and a little patience.
Why You’ll Love This Recipe
After countless trials in my kitchen, this Moist Pineapple Coconut Dream Cake with Creamy Buttercream has become a staple for anyone who loves tropical flavors with a classic twist. The recipe is straightforward but thoughtful, tested enough to trust it to perform every single time.
- Quick & Easy: From mixing to frosting, you can have this cake ready in about 1 hour and 15 minutes—perfect for when you want something special without spending all day in the kitchen.
- Simple Ingredients: No exotic shopping trips here. Most ingredients like crushed pineapple, shredded coconut, and pantry staples are probably sitting in your kitchen right now.
- Perfect for Any Occasion: Whether it’s a summer barbecue, a cozy tea time, or an unexpected guest, this cake fits seamlessly into any celebration.
- Crowd-Pleaser: Kids love the sweet tropical vibe, and adults appreciate the moist crumb balanced with silky buttercream. I’ve had it disappear in seconds at family dinners!
- Unbelievably Delicious: The pineapple juice keeps the cake tender while the coconut adds a subtle chewiness. The buttercream is creamy without being overly sweet, making each bite a dream.
What sets this recipe apart is the way the buttercream pairs perfectly with the cake’s tropical notes. Instead of a heavy frosting, it’s light, whipped just right, and feels like a cloud of vanilla and butter that complements rather than overwhelms. Plus, I like to fold in a little toasted coconut on top for texture and that extra nutty pop. If you’ve ever made a layered cake with rich buttercream, you’ll find this one just as satisfying but with a fresh, sunny spin.
What Ingredients You Will Need
This recipe uses simple, wholesome ingredients to deliver bold flavor and a moist, tender texture without fuss. Most are pantry staples, and you can swap some out depending on what you have on hand.
- For the Cake Batter:
- All-purpose flour, sifted (2 ½ cups / 315 g) – for a tender crumb
- Baking powder (2 ½ tsp) and baking soda (½ tsp) – essential for rise and lightness
- Salt (½ tsp) – balances sweetness
- Unsalted butter, softened (1 cup / 227 g) – I prefer Land O Lakes for its creamy texture
- Granulated sugar (1 ¾ cups / 350 g) – for sweetness and structure
- Large eggs (4), room temperature – helps build the cake’s structure
- Vanilla extract (2 tsp) – adds warmth and depth
- Crushed pineapple in juice, drained (1 cup / 240 ml) – the star ingredient for moisture and tropical flavor
- Shredded sweetened coconut (1 cup / 80 g) – adds texture and chewiness
- Buttermilk (1 cup / 240 ml) – keeps the cake moist and tender (can substitute with milk + 1 tbsp lemon juice)
- For the Creamy Buttercream:
- Unsalted butter, softened (1 cup / 227 g) – room temperature for easy whipping
- Powdered sugar (4 cups / 480 g), sifted – ensures smooth frosting
- Vanilla extract (2 tsp) – for flavor
- Heavy cream or whole milk (2-3 tbsp) – adjusts frosting consistency
- Pinch of salt – balances sweetness
- Toasted shredded coconut (optional, ¼ cup / 20 g) – for garnish and extra coconut flavor
If you want to make this cake gluten-free, I recommend swapping the all-purpose flour with a trusted gluten-free blend like Bob’s Red Mill 1-to-1 Baking Flour. And if you prefer dairy-free, coconut yogurt works great in place of buttermilk, and you can use vegan butter for the frosting. In summer, fresh pineapple chunks can replace crushed pineapple for a burst of freshness.
Equipment Needed
- Two 9-inch (23 cm) round cake pans – I like using non-stick versions for easy release, but you can also line regular pans with parchment paper.
- Electric mixer (stand or hand) – absolutely makes the buttercream smooth and fluffy; I’ve tried whipping by hand, and it’s a workout!
- Mixing bowls – medium and large sizes for batter and frosting.
- Measuring cups and spoons – precise measurements make all the difference, especially for baking powder and soda.
- Cooling racks – to cool cakes evenly and avoid sogginess.
- Spatula and offset spatula – for folding ingredients and frosting the cake neatly.
- Sieve or sifter – optional but helpful for lightening the flour and powdered sugar.
If you don’t have two cake pans, you can bake the batter in one pan and slice it horizontally once cooled. For budget-friendly options, simple metal pans work fine and just oil and flour them well. I find keeping a good electric mixer on hand saves so much time and effort, especially for creamy frostings like this one.
Preparation Method
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line them with parchment paper. This prevents sticking and helps with easy removal.
- Whisk dry ingredients. In a medium bowl, combine 2 ½ cups (315 g) sifted all-purpose flour, 2 ½ tsp baking powder, ½ tsp baking soda, and ½ tsp salt. Set aside.
- Cream butter and sugar. Using an electric mixer, beat 1 cup (227 g) softened unsalted butter and 1 ¾ cups (350 g) granulated sugar on medium speed until light and fluffy—about 4-5 minutes. This step is crucial for a tender crumb.
- Add eggs and vanilla. Beat in 4 large eggs one at a time, mixing well after each addition. Then mix in 2 tsp vanilla extract. The batter should look smooth and creamy now.
- Incorporate pineapple and coconut. Fold in 1 cup (240 ml) well-drained crushed pineapple and 1 cup (80 g) shredded sweetened coconut gently. These add moisture and texture without weighing down the batter.
- Alternate adding dry ingredients and buttermilk. Add the dry flour mixture in three additions, alternating with 1 cup (240 ml) buttermilk, starting and ending with the flour. Mix on low speed just until combined after each addition to avoid overmixing, which can make the cake dense.
- Divide and bake. Pour the batter evenly into the prepared pans. Smooth the tops with a spatula. Bake for 30-35 minutes until a toothpick inserted in the center comes out clean and the cakes spring back when lightly pressed.
- Cool completely. Let cakes cool in the pans for 10 minutes, then turn out onto cooling racks. Make sure they are fully cool before frosting to avoid melting the buttercream.
- Prepare the buttercream. Beat 1 cup (227 g) softened unsalted butter on medium speed until creamy. Gradually add 4 cups (480 g) sifted powdered sugar, mixing on low. Add 2 tsp vanilla extract, a pinch of salt, and 2-3 tbsp heavy cream or milk until you reach a smooth, spreadable consistency.
- Assemble the cake. Place one cake layer on your serving plate. Spread a generous layer of buttercream on top. Add the second layer, then frost the top and sides evenly. For a finishing touch, sprinkle toasted shredded coconut over the top for crunch and a beautiful presentation.
Pro tip: If you want extra moistness, brush the cake layers lightly with pineapple juice before frosting. Also, chilling the cake for 30 minutes after frosting helps the buttercream set nicely and makes slicing easier.
Cooking Tips & Techniques
One thing I learned early on is not to rush the creaming step. Getting the butter and sugar fluffy makes a world of difference in the cake’s lightness. I used to think all mixing was the same, but beating the butter and sugar for at least 4 minutes changed everything.
Another common mistake is overmixing once you add the flour. Overdoing it can lead to a dense cake, and honestly, it’s easy to get carried away. Folding gently until just combined keeps the crumb tender.
Drain the crushed pineapple well! Too much juice can make the batter soggy. I usually press it through a sieve or cheesecloth, and that little step prevents a cake that’s too wet.
For the buttercream, start with softened butter—not melted. If the butter’s too cold, you’ll get lumps, and if it’s melted, your frosting will be runny. When adding powdered sugar, do it gradually to keep the frosting smooth and easy to spread.
Timing-wise, I like to bake the cake layers first thing, then make the frosting while they cool. It keeps everything moving along. And if you’re like me and get distracted, it’s no big deal—the cake keeps well at room temp for a bit.
Variations & Adaptations
- Dietary swaps: For gluten-free, swap in a 1:1 gluten-free baking flour like King Arthur’s. For dairy-free, use vegan butter and coconut or almond milk in the frosting and cake.
- Flavor twists: Add a tablespoon of rum or coconut rum to the buttercream for an adult-friendly version. You can also fold in some crushed macadamia nuts into the batter for a lovely crunch.
- Seasonal adaptations: In summer, fresh pineapple chunks or mango can replace canned crushed pineapple for a brighter, fresher flavor. For winter, add a pinch of warm spices like cinnamon or nutmeg to the batter.
- Cooking method: This recipe can be made as cupcakes for easy serving. Reduce baking time to 18-22 minutes and keep an eye on them.
- Personal twist: I once swapped the shredded coconut for pine nuts in the frosting for a nutty twist—it was surprisingly good and worth a try!
Serving & Storage Suggestions
This cake is best served at room temperature so the buttercream stays creamy and the flavors shine. It looks beautiful garnished with extra toasted coconut or even a few fresh pineapple wedges on the side.
Pair it with a cup of lightly brewed tea or a refreshing iced coffee for a tropical afternoon treat. If you’re serving at a party, slice it into neat squares or wedges for easy sharing.
Store leftovers tightly covered in the refrigerator for up to 4 days. Before serving, let it sit out for about 30 minutes to soften the buttercream again. You can freeze the cake layers wrapped well in plastic wrap for up to 2 months. Thaw overnight in the fridge, then frost as usual.
Flavors tend to meld and deepen after a day, so if you can wait, it actually tastes even better the next day. Just don’t wait too long or that buttercream craving will get the best of you.
Nutritional Information & Benefits
Each slice of this Moist Pineapple Coconut Dream Cake with Creamy Buttercream contains roughly 400-450 calories, depending on portion size. It’s a treat with moderate protein from eggs and butter, some fiber from coconut, and natural sweetness from pineapple.
Pineapple provides vitamin C and bromelain, which aids digestion, while coconut adds healthy fats that give sustained energy. Using real butter and fresh ingredients keeps it wholesome compared to store-bought mixes or frostings loaded with preservatives.
This cake isn’t low-calorie, obviously, but it’s a satisfying dessert that can fit into a balanced lifestyle when enjoyed mindfully. It’s free from artificial colors or flavors, and can be adapted gluten-free or dairy-free for special diets.
Conclusion
This Moist Pineapple Coconut Dream Cake with Creamy Buttercream has earned a permanent spot in my recipe box because it’s truly one of those desserts that feels like a gift to yourself. It’s easy enough to whip up on a whim but special enough to impress without stress. Whether you’re baking for a crowd or just craving something sweet and tropical after dinner, this cake hits all the right notes.
Feel free to make it your own—swap ingredients, tweak the frosting, or add your favorite toppings. I love this recipe because it’s forgiving, fun, and downright delicious. If you try it, I’d love to hear how you put your spin on it, or if you’ve discovered any tips to make it even better.
Enjoy every bite and remember, baking dreams really can come true in the form of a cake.
FAQs
- Can I use fresh pineapple instead of canned crushed pineapple?
Yes! Fresh pineapple works beautifully. Just chop finely and drain any excess juice to avoid making the batter too wet. - How do I prevent the cake from being dry?
Make sure not to overbake and fold the wet and dry ingredients gently. Properly draining the pineapple also helps maintain moisture balance. - Can I make this cake ahead of time?
Absolutely. Bake the layers a day ahead, wrap well, and store at room temperature. Frost on the day you plan to serve for best results. - What if I don’t have buttermilk?
No worries! Use regular milk with 1 tablespoon of lemon juice or white vinegar added. Let it sit for 5 minutes before using. - How do I store leftover cake?
Wrap leftovers tightly and store in the refrigerator for up to 4 days. Bring to room temperature before serving for the best texture.
Pin This Recipe!

Moist Pineapple Coconut Dream Cake with Creamy Buttercream
A tropical-inspired moist and tender cake featuring crushed pineapple and shredded coconut, topped with a light and creamy buttercream frosting. Perfect for any occasion, this easy homemade cake delivers a sweet, juicy, and dreamy flavor experience.
- Prep Time: 20 minutes
- Cook Time: 35 minutes
- Total Time: 1 hour 15 minutes
- Yield: 12 servings 1x
- Category: Dessert
- Cuisine: American
Ingredients
- 2 ½ cups (315 g) all-purpose flour, sifted
- 2 ½ tsp baking powder
- ½ tsp baking soda
- ½ tsp salt
- 1 cup (227 g) unsalted butter, softened
- 1 ¾ cups (350 g) granulated sugar
- 4 large eggs, room temperature
- 2 tsp vanilla extract
- 1 cup (240 ml) crushed pineapple in juice, drained
- 1 cup (80 g) shredded sweetened coconut
- 1 cup (240 ml) buttermilk (or milk + 1 tbsp lemon juice)
- For the Buttercream:
- 1 cup (227 g) unsalted butter, softened
- 4 cups (480 g) powdered sugar, sifted
- 2 tsp vanilla extract
- 2–3 tbsp heavy cream or whole milk
- Pinch of salt
- ¼ cup (20 g) toasted shredded coconut (optional, for garnish)
Instructions
- Preheat oven to 350°F (175°C). Grease and flour two 9-inch round cake pans or line with parchment paper.
- In a medium bowl, whisk together sifted flour, baking powder, baking soda, and salt. Set aside.
- Using an electric mixer, beat softened butter and granulated sugar on medium speed until light and fluffy, about 4-5 minutes.
- Add eggs one at a time, beating well after each addition. Mix in vanilla extract until smooth.
- Fold in drained crushed pineapple and shredded coconut gently.
- Add dry ingredients and buttermilk alternately in three additions, starting and ending with the dry ingredients. Mix on low speed just until combined after each addition.
- Divide batter evenly between prepared pans and smooth tops with a spatula.
- Bake for 30-35 minutes or until a toothpick inserted in the center comes out clean and cakes spring back when lightly pressed.
- Cool cakes in pans for 10 minutes, then turn out onto cooling racks to cool completely.
- For the buttercream, beat softened butter on medium speed until creamy.
- Gradually add sifted powdered sugar on low speed. Add vanilla extract, pinch of salt, and heavy cream or milk until smooth and spreadable.
- Place one cake layer on serving plate, spread a generous layer of buttercream on top.
- Add second layer and frost top and sides evenly.
- Sprinkle toasted shredded coconut on top for garnish if desired.
- Optional: Brush cake layers lightly with pineapple juice before frosting for extra moistness.
- Chill cake for 30 minutes after frosting to set buttercream and ease slicing.
Notes
Do not overmix after adding flour to keep cake tender. Drain crushed pineapple well to avoid soggy batter. Use softened butter for smooth buttercream. Brushing cake layers with pineapple juice before frosting adds extra moistness. Chilling cake after frosting helps set buttercream and makes slicing easier. Can be made gluten-free or dairy-free with substitutions.
Nutrition
- Serving Size: 1 slice (1/12 of cak
- Calories: 425
- Sugar: 38
- Sodium: 280
- Fat: 22
- Saturated Fat: 13
- Carbohydrates: 55
- Fiber: 2
- Protein: 4
Keywords: pineapple cake, coconut cake, buttercream frosting, tropical cake, moist cake, easy cake recipe, homemade cake, dessert


