Coconut Pineapple Loaf Cake That Tastes Like Vacation
This Coconut Pineapple Loaf Cake is sunshine in slice form—soft, fruity, and gently coconutty with a golden, toasty top. It’s the kind of bake that makes your kitchen smell like vacation and your afternoon coffee feel fancy. The batter comes together fast, and you don’t need a mixer if you don’t want one. It’s moist, tender, and loaded with juicy pineapple bits that don’t sink. Craving a little tropical joy without fuss? This is your cake.
Why This Coconut Pineapple Loaf Cake Works
- Big tropical flavor: Sweet pineapple and nutty coconut play so well together, balanced with vanilla and a hint of citrus.
- Moist and tender crumb: Oil, yogurt, and pineapple juice keep this loaf soft for days without getting soggy.
- No-fuss method: One bowl for wet, one for dry, stir together—done. No stand mixer needed.
- Sturdy but soft texture: A bit of shredded coconut adds chew, while the loaf still slices cleanly without crumbling.
- Make-ahead friendly: Flavors deepen overnight, and it freezes like a champ. Perfect for brunch, gifting, or snack o’clock.
Ingredients You’ll Need

- 1 1/2 cups (190g) all-purpose flour — spoon and level for accuracy.
- 1/2 cup (100g) granulated sugar — you can reduce by 1–2 tablespoons if you like it less sweet.
- 1/4 cup (50g) light brown sugar — adds moisture and depth.
- 1 teaspoon baking powder — check it’s fresh for a good rise.
- 1/2 teaspoon baking soda — helps counter the acidity of yogurt and pineapple.
- 1/2 teaspoon fine sea salt — don’t skip; it makes the flavors pop.
- 3/4 cup (60g) unsweetened shredded coconut — toasted optional for extra flavor.
- 2 large eggs, room temperature — room temp mixes more evenly.
- 1/2 cup (120ml) neutral oil — like canola, vegetable, or light olive oil.
- 1/2 cup (120g) plain Greek yogurt or sour cream — for richness and a tender crumb.
- 1/3 cup (80ml) pineapple juice — from the can is perfect.
- 1 teaspoon vanilla extract — or 1/2 teaspoon coconut extract for extra coconut oomph.
- 1 tablespoon fresh lime or lemon zest — optional, but brightens everything.
- 1 cup (165g) crushed pineapple, well-drained — press gently to remove excess liquid.
- 2–3 tablespoons turbinado sugar or extra shredded coconut — for sprinkling on top.
Instructions
- Preheat your oven to 350°F (175°C). Grease a 9×5-inch loaf pan and line it with a parchment sling for easy removal.
- In a large bowl, whisk together flour, granulated sugar, brown sugar, baking powder, baking soda, salt, and shredded coconut until evenly combined.
- In a separate bowl, whisk eggs, oil, yogurt, pineapple juice, vanilla, and zest until smooth.
- Fold the wet ingredients into the dry with a spatula until just combined and no dry patches remain. Don’t overmix.
- Gently fold in the drained crushed pineapple. If it looks very wet, blot the pineapple with paper towels first.
- Pour the batter into the prepared pan. Smooth the top and sprinkle with turbinado sugar or extra coconut for a toasty, crackly finish.
- Bake for 50–60 minutes, until the top is golden and a toothpick inserted in the center comes out mostly clean with a few moist crumbs (no wet batter). Tent loosely with foil if browning too fast.
- Cool in the pan for 15 minutes, then lift out and cool completely on a wire rack before slicing. The crumb sets as it cools—worth the wait, promise.
- Optional glaze: Whisk 1/2 cup powdered sugar with 1–2 tablespoons pineapple juice or lime juice. Drizzle over cooled loaf.
Fridge: Store slices in an airtight container up to 5 days. Bring to room temp or warm before serving for best texture.
Freezer: Wrap whole loaf or individual slices tightly in plastic, then foil. Freeze up to 2 months. Thaw overnight in the fridge or at room temp for a few hours.
Reheating: Toast slices in a 300°F (150°C) oven for 8–10 minutes or pop into a toaster oven for a warm, slightly crisp edge. A quick 10–15 seconds in the microwave also works.
Storage Instructions

Keep the loaf covered at room temperature for 2–3 days, away from direct sun and heat. If your kitchen runs warm or humid, refrigerate to prevent spoilage. Always cool the cake fully before wrapping to avoid condensation, which can make the top soggy. For longer storage, freeze as noted above—future you will be thrilled.
Benefits of This Recipe
- Weeknight-easy: Pantry-friendly and minimal dishes. You can mix it by hand in under 10 minutes.
- Moist for days: Oil, yogurt, and pineapple keep the crumb tender without drying out.
- Flexible and forgiving: Swap dairy, adjust sweetness, or add nuts without ruining the texture.
- Brunch and snack MVP: Works as a simple loaf, dressed-up with glaze, or sliced and toasted with butter.
Common Mistakes to Avoid

- Skipping the drain on the pineapple—excess juice can make the center gummy.
- Overmixing the batter—stir just until combined to prevent a tough loaf.
- Cutting too soon—let it cool so the crumb sets and slices cleanly.
- Using old leaveners—replace baking powder/soda every 6 months for reliable rise.
- Overbaking—check at 50 minutes and tent with foil if the top darkens too quickly.
Alternatives
- Dairy-free: Use coconut yogurt and a neutral oil. The coconut flavor will be even more pronounced.
- Gluten-free: Substitute a 1:1 gluten-free baking blend with xanthan gum. Let the batter rest 10 minutes before baking.
- Less sweet: Reduce sugar by 2–3 tablespoons; the pineapple will still shine.
- Nutty twist: Fold in 1/2 cup chopped macadamias or toasted pecans for crunch.
- Spice vibes: Add 1/2 teaspoon ground ginger or cardamom for a warm, fragrant note.
- Topping swap: Instead of glaze, brush warm loaf with a little pineapple juice and sprinkle with coconut for a subtle finish.
FAQ
Can I use fresh pineapple instead of canned?
Yes, but chop it very small and drain off excess juice. Fresh pineapple can be juicier, so blot it with paper towels and keep the 1/3 cup added liquid to about the same amount as written.
What if I only have sweetened shredded coconut?
It works fine. Reduce the granulated sugar by 1–2 tablespoons to balance the sweetness, and keep an eye on browning since sweetened coconut toasts faster.
Why did my loaf sink in the middle?
Usually it’s from underbaking or too much moisture. Make sure the pineapple is well-drained, measure flour accurately, and bake until the center tests done with just a few moist crumbs.
Can I make this as muffins?
Yes! Divide batter into a lined 12-cup muffin tin and bake at 350°F (175°C) for 18–22 minutes. Start checking at 18 minutes.
How do I keep the coconut from burning on top?
Sprinkle lightly and tent the loaf with foil once it’s nicely golden, usually around the 35–40 minute mark. That protects the top while the center finishes baking.
Do I need a glaze?
Nope, the loaf is great as-is. The glaze adds a sweet tang and a pretty finish, but a simple dusting of powdered sugar or nothing at all is totally fine, IMO.
Final Thoughts
This Coconut Pineapple Loaf Cake brings vacation vibes with almost zero effort. It’s tender, bright, and perfect for sharing—or not sharing, your call. Bake it once and it’ll slide into your regular rotation fast. Got 10 minutes and a can of pineapple? You’re basically there.
Printable Recipe Card
Want just the essential recipe details without scrolling through the article? Get our printable recipe card with just the ingredients and instructions.

