Some cakes are forgettable. You eat a slice, say “that’s nice,” and move on. This is not that cake. It is the one people ask about at parties. The one your cousin wants the recipe for before she is even finished with her slice. Soft, buttery, and deeply tropical, it smells like a Hawaiian vacation the moment it comes out of the oven, and the kitchen hasn’t even cooled down before someone is already asking for seconds.
If you’ve been searching for the perfect pineapple coconut cake, you have landed in the right place. This recipe has been a reader favorite for good reason, and we’ve refreshed it for 2026 with clearer instructions, expert tips, new serving ideas, dietary swaps, and answers to the questions you have been searching for. That glaze alone is worth the trip. Everything you need to nail this cake, whether it’s your first bundt or your fiftieth, is right here, and we promise it tastes even better than it looks.
Why You’ll Keep Coming Back to This Recipe
There are dozens of pineapple and coconut cake recipes floating around the internet, but most either skimp on coconut flavor or leave you with a dry, dense crumb. This one does neither. The secret is in the combination. Coconut milk and melted coconut oil both go into the batter, which means you’re getting layers of coconut flavor, not just a faint hint. Then crushed pineapple adds bright, juicy acidity that cuts through the richness and keeps every bite light.
Baked in a bundt pan, it looks stunning without much effort. Add the glaze and a handful of toasted shredded coconut on top, and you have got a dessert that looks bakery worthy even if you’ve never decorated a cake in your life. This is genuinely one of the easiest impressive cakes you’ll ever make.
What Makes This a True Coconut Pineapple Cake (Not Just a Pineapple Cake)
A lot of “pineapple coconut” cakes use maybe a teaspoon of coconut extract and call it a day. That’s not what’s happening here. This coconut pineapple cake uses three separate sources of coconut flavor, shredded coconut folded into the batter, coconut milk as the primary liquid, and coconut oil in place of neutral oil. Each one contributes something different, the shredded coconut adds texture and a slightly nutty chew, the coconut milk keeps the crumb tender and moist, and the coconut oil gives the cake a subtle richness that you’d notice immediately if it were missing. The result is a cake that actually tastes like coconut. Not like a sunscreen scented candle. Like real, toasted, tropical coconut. That distinction matters.
To make this cake, you’ll need;
Ingredients for Pineapple Coconut Cake
For the cake
- 2 1/2 cups flour
- 2 tsp baking powder
- 1/2 tsp salt
- 1 1/4 cup sugar
- 3/4 cup unsalted butter
- 3 eggs
- 1 tsp vanilla
- 1 tsp pineapple extract
- 1 tsp coconut extract
- 3/4 cup coconut milk
- 1/4 cup coconut oil (melted)
- 1/2 cup unsweetened shredded coconut
For the glaze
- 2 tbsp butter (melted)
- 1/2 cup powdered sugar
- 1/8 cup whole milk
- A pinch of salt
- 1 tsp coconut extract
- 1/2 tsp vanilla extract
- 3/4 cup unsweetened shredded coconut
Instructions
- Preheat the oven to 350°F (180°C). Grease and lightly flour a bundt cake pan
- In a medium bowl, whisk together flour, baking powder, and salt.
- In a large bowl, whisk together sugar and butter until light. Add eggs, one at a time, while beating until fluffy. Add coconut oil, followed by coconut milk and the extracts
- Add the dry ingredients to the wet ingredients and stir until combined.
- Fold in the shredded coconut.
- Divide the batter evenly between the prepared pans and smooth the tops.
- Bake for 45 minutes or until a toothpick inserted in the center comes out clean.
- Allow the cakes to cool in the pan for 5 minutes before transferring to a wire rack to cool completely.

Delicious Pineapple Coconut Cake
Ingredients
For the cake
- 21/2 cups all-purpose flour
- 2 tsp baking powder
- 1/2 tsp salt
- 11/4 cup sugar
- 3/4 cup butter unsalted
- 3 large eggs
- 1 tsp vanilla extract
- 1 tsp pineapple extract
- 1 tsp coconut extract
- 3/4 cup coconut milk
- 3/4 cup coconut oil melted
- 1/2 cup shredded coconut unsweetened
For the glaze
- 2 tbsp butter melted
- 1/2 cup powdered sugar
- 1/8 cup milk whole
- a pinch of salt
- 1 tsp coconut extract
- 1/2 tsp vanilla extract
- 3/4 cup shredded coconut unsweetened
Instructions
- Preheat the oven to 350°F (180°C). Grease and lightly flour a bundt cake pan
- In a medium bowl, whisk together flour, baking powder, and salt.
- In a large bowl, whisk together sugar and butter until light. Add eggs, one at a time while beating until fluffy. Add coconut oil followed by coconut milk and the extracts
- Add the dry ingredients to the wet ingredients and stir until combined.
- Fold in the shredded coconut.
- Divide the batter evenly between the prepared pans and smooth the tops.
- Bake for 45 minutes or until a toothpick inserted in the center comes clean.
- Allow the cakes to cool in the pan for 5 minutes before transferring to a wire rack to cool completely.
Notes
Nutrition
Which Pan Should You Use? Bundt vs. Layer vs. Sheet Cake
Not everyone has a bundt pan sitting in their cabinet, and that is completely fine. Here is how this recipe translates across different pans:
| Pan Type | Bake Time | Texture Result | Best For |
|---|---|---|---|
| Bundt Pan (10–12 cup) | 40–45 minutes | Moist, dense, impressive | Celebrations, gifting, parties |
| Two 9-inch Round Pans | 30–35 minutes | Slightly lighter, layer cake option | Birthdays, frosted presentation |
| 9×13 Sheet Pan | 28–32 minutes | Thin, casual, easy to serve | Potlucks, weeknight dessert |
| Muffin Tin (standard) | 18–22 minutes | Individual cupcakes | Parties, portion control |
For the best pineapple upside down cake with box mix, coconut oil shortcut version, swap the from scratch batter for a box of vanilla cake mix, use coconut oil as the fat, and press pineapple rings into a butter-brown sugar base in your bundt or round pan before pouring in the batter. It won’t be as richly flavored, but it cuts prep time in half.
The Pineapple Coconut Dream Cake Variation
Want to turn this into a showstopping pineapple coconut dream cake? Here’s how. After the cake cools completely, slice it horizontally (if using a round pan) or serve it as-is from the bundt. Make a simple cream filling by whipping together 8 oz of softened cream cheese, ½ cup powdered sugar, ½ cup crushed pineapple (well drained), and a splash of coconut cream until smooth and fluffy.
Spread this between layers or serve it alongside each slice as a cloud-like accompaniment. The slight tang of the cream cheese plays beautifully against the cake’s sweetness, and the whole thing feels indulgent in the best possible way. This pineapple coconut dream cake recipe variation works especially well at Easter, summer garden parties, or any occasion where you want something that feels a little extra without requiring pastry school skills.
Pro Tips for a Perfect Pineapple Coconut Cake Every Time
These are the things that separate a good pineapple coconut cake from a genuinely memorable one.
Drain the pineapple well, but save the juice:
Extra liquid from the undrained pineapple can make the batter wet and cause the center to sink. Press the crushed pineapple firmly against a fine-mesh strainer and let it drain for a few minutes. Keep that juice for your glaze.
Use full fat canned coconut milk:
This is non negotiable. The refrigerated coconut milk sold as a dairy alternative is much thinner and will make your cake pale and flavorless by comparison. Reach for the canned variety, full fat, not light.
Bring your eggs to room temperature:Â
Cold eggs don’t incorporate as smoothly into melted butter and can cause the batter to look slightly curdled. Leave them on the counter for 20 minutes before you start baking.
Don’t open the oven for 35 minutes:
Bundt cakes need time to set their structure. Opening the oven door too early can cause a sudden drop in temperature, leading the center to collapse.
Toast your coconut garnish:
Spread shredded coconut onto a dry skillet over medium heat, stirring constantly until golden. It takes about 3–4 minutes and transforms the flavor entirely, nutty, caramely, and far more interesting than raw coconut flakes.
Make Ahead, Storage & Freezing
One of the most practical things about this pineapple coconut cake is how well it keeps.
Room Temperature:Â
Once glazed, store the cake covered at room temperature for up to 2 days. The glaze actually helps seal in moisture.
Refrigerator:
Store in an airtight container in the fridge for up to 5 days. Pull it out 30 minutes before serving, the texture and flavor are noticeably better at room temperature than straight from the cold.
Freezer:Â
Freeze the unglazed cake (whole or sliced) wrapped tightly in plastic wrap, then foil, for up to 3 months. Thaw overnight at room temperature, then add the glaze fresh before serving.
Make Ahead Tip:Â
Bake the cake a day in advance and glaze it the morning of your event. It actually tastes better the next day once the flavors have had time to settle into each other.
Dietary Swaps and Substitutions for This Pineapple Coconut Cake
Dairy free:
This recipe is already nearly dairy free. The only adjustment needed is ensuring your shredded coconut does not contain any milk derivatives (most don’t). Everything else, coconut milk, coconut oil, is plant based.
Gluten-free:Â
Swap the all purpose flour for a 1:1 gluten-free baking flour blend. The texture will be slightly more tender, so bake until a toothpick comes out clean, and let the cake cool completely in the pan before turning it out.
Lower sugar:Â
Reduce the granulated sugar to ¾ cup if you’re using sweetened shredded coconut. The pineapple itself adds sweetness, and the glaze handles the finishing touch.
Egg free:Â
Replace each egg with 1 tablespoon of ground flaxseed mixed with 3 tablespoons of water (let it sit for 5 minutes before using). The cake will be slightly denser but still delicious.
Serving Ideas for Every OccasionÂ
This pineapple coconut cake is genuinely versatile. Here is how we love to serve it:
- For summer birthday parties, serve this pineapple coconut cake with a scoop of coconut or vanilla ice cream and a wedge of fresh pineapple on the side. The contrast of warm cake and ice cream is spectacular.
- At Easter or spring celebrations, the bright tropical flavors are a natural fit alongside lighter mains. Our Best Fluffy Orange Cheesecake makes a great partner dessert for a larger spread.
- For casual weeknight treats, skip the garnish fuss and just drizzle the glaze and serve warm. It’s that good even at its simplest.
- For gifting, this bundt cake travels beautifully. Wrap it in cellophane with a ribbon, it looks like something from a specialty bakery.
Also try our other recipes:
- Pistachio Cake Â
- Fluffy Marble Cake
- The Ultimate Pound Cake Recipe
- The Best Orange Cake
- The Best Moist Chocolate Cake Recipe
- Moist and Easy Carrot Cake
- Delicious Strawberry Cake
- Moist Lemon Cake Recipe
Frequently Asked Questions (FAQs)
Can I use fresh pineapple instead of canned?
Yes, absolutely. Use fresh crushed or finely chopped pineapple, and be sure to drain as much juice as possible before adding it to the batter. Fresh pineapple has a slightly more tart, vibrant flavor than canned pineapple, which is wonderful, but it may mean the batter needs a touch more sugar to balance.
Why did my bundt cake stick to the pan?
This is almost always a greasing issue. Bundt pans have lots of ridges and grooves that are easy to miss. Use a pastry brush dipped in melted butter to get into every crevice, then dust with flour and tap out the excess. Alternatively, use a flour-based cooking spray (like Baker’s Joy). Never use non-stick spray alone, it’s rarely enough for a bundt.
Can I make this as a pineapple coconut sheet cake?
Yes, pour the batter into a greased 9×13 pan and bake for 28–32 minutes. It won’t have the dramatic bundt shape, but the flavor is identical, and it’s even easier to serve in squares at a potluck or gathering.
What’s the difference between this pineapple coconut cake and a pineapple upside-down cake?
A pineapple upside down cake is built with pineapple rings on the bottom of the pan that caramelize in butter and sugar, then get flipped to become the topping. This pineapple coconut cake has pineapple mixed throughout the batter, giving you tropical flavor in every single bite rather than just on top. Both are delicious, they’re just different experiences.
Can I use a box mix for a shortcut version?
You can. Use a box of vanilla or yellow cake mix as the base, replace the water with coconut milk, use coconut oil as the fat, and fold in drained crushed pineapple and shredded coconut before baking. It’s the closest thing to a best pineapple upside-down cake with box mix coconut oil approach, adapted for this style. The flavor won’t be quite as deep, but it’s a solid weeknight shortcut.
How do I know when the pineapple coconut cake is done?
Insert a toothpick into the thickest part of the cake. It should come out clean or with just a couple of dry crumbs, never wet batter. The top of the cake should also feel springy when gently pressed, not soft or jiggly in the center.
Can this pineapple coconut cake be made ahead of time for a party?
Absolutely, and it is actually better the next day. Bake the cake, let it cool completely, wrap it in unglazed wrap, and store it at room temperature overnight. Glaze it 1–2 hours before your guests arrive for the freshest presentation.


















