The Feast

Home cooking recipes for everyday dinners and easy entertaining

Pineapple Coconut Sunshine Cake – Moist Tropical Treat

· 6 min read · Baking and Desserts

Pineapple coconut sunshine cake is a light, fluffy loaf that captures the bright flavors of fresh pineapple and creamy coconut. The combination of tropical fruit purees, shredded coconut, and a touch of vanilla creates a cake that stays moist for days and brings a sunny vibe to any gathering.

Ingredients

  • 1 ½ cups (190 g) all‑purpose flour
  • 1 ¼ cups (250 g) granulated sugar
  • 2  teaspoons baking powder
  • ½  teaspoon baking soda
  • ¼  teaspoon salt
  • ½  cup (120 ml) coconut milk, chilled
  • ½  cup (120 ml) pineapple juice, preferably fresh
  • ¼  cup (60 ml) melted unsalted butter, cooled
  • 2  large eggs, at room temperature
  • 1  teaspoon vanilla extract
  • 1  cup (225 g) crushed pineapple, drained
  • ½  cup (45 g) sweetened shredded coconut
  • Zest of 1 lime (optional, for brightness)

Instructions

  1. Preheat your conventional oven to 350°F (175°C). While the oven warms, thoroughly grease a 9×5‑inch (23×13 cm) loaf pan with butter or non‑stick spray, then line the bottom with parchment paper. This double protection helps the cake release cleanly and keeps the edges from drying out.
  2. In a large mixing bowl, whisk together the flour, granulated sugar, baking powder, baking soda, and salt. Whisking the dry ingredients distributes the leavening agents evenly, which is essential for a uniform rise.
  3. In a separate bowl, combine the chilled coconut milk, fresh pineapple juice, melted butter, eggs, and vanilla extract. Beat with a whisk or electric mixer on low speed until the mixture is smooth and the butter is fully incorporated. The chilled coconut milk creates a subtle temperature contrast that helps the batter stay light.
  4. Make a well in the center of the dry mixture and pour the wet mixture in. Using a rubber spatula, gently fold the two together. Stop mixing as soon as the flour streaks disappear; the batter should look slightly lumpy. Over‑mixing activates gluten, which can make the final cake dense and heavy.
  5. Fold in the drained crushed pineapple, shredded coconut, and lime zest (if using). Distribute the fruit and coconut evenly, but avoid vigorous stirring. The pineapple adds moisture while the shredded coconut contributes texture and a toasty aroma.
  6. Transfer the batter to the prepared loaf pan, smoothing the top with the spatula. Lightly tap the pan on the countertop three to four times; this releases any large air pockets that could create uneven holes in the crumb.
  7. Place the pan in the middle rack of the pre‑heated oven. Bake for 45–55 minutes, rotating the pan halfway through the baking time to promote even browning. Begin checking at the 45‑minute mark by inserting a thin toothpick or cake tester into the center; it should emerge clean or with only a few moist crumbs.
  8. If you prefer a glossy finish, prepare a simple glaze while the cake bakes: whisk together ½ cup (60 g) powdered sugar with 1–2 teaspoons fresh pineapple juice until you reach a pourable consistency. The glaze should coat the top without running off the sides.
  9. When the cake reaches the desired doneness, remove it from the oven and set the pan on a cooling rack. Allow the cake to rest in the pan for 10 minutes; this short steam period helps the crumb set and prevents cracking when you turn it out.
  10. After the 10‑minute rest, run a thin knife around the edges of the pan, then invert the cake onto the wire rack. If you are using the glaze, drizzle it over the warm cake now; the residual heat will help the glaze set with a slight sheen.
  11. Let the cake cool completely, at least 30 minutes, before slicing. Cutting the cake while it is still warm can cause it to crumble and lose its fluffy interior.
  12. Serve the cake at room temperature, ideally with a dollop of lightly sweetened whipped coconut cream or a side of fresh tropical fruit. Store leftovers according to the guidelines below.

Tips

  • Use fresh pineapple juice and well‑drained crushed pineapple for authentic flavor; canned juice often contains added sugars that can make the cake overly sweet.
  • For a dairy‑free version, swap the butter for an equal amount of melted coconut oil and verify that the coconut milk is full‑fat rather than a low‑fat variety.
  • To achieve an ultra‑light crumb, separate the eggs, beat the whites to soft peaks, and gently fold them into the batter after step 4. This adds extra air without compromising the tropical moisture.
  • Avoid opening the oven door during the first 30 minutes of baking; sudden temperature drops can cause the cake to collapse in the center.

Serving Suggestions

Slice the loaf into 1‑inch (2.5 cm) thick pieces and serve alongside a scoop of vanilla ice cream or a spoonful of whipped coconut cream flavored with a hint of rum. For a brunch setting, pair the cake with a citrus‑yoghurt parfait and a glass of chilled pineapple‑mint mocktail. The bright flavors also complement savory dishes like grilled shrimp or jerk chicken, making it a versatile dessert for tropical‑themed meals.

Variations

  • Rum‑Infused Sunshine Cake: Add 2 tablespoons dark rum to the wet mixture for a grown‑up twist.
  • Almond Flour Version: Substitute half of the all‑purpose flour with almond flour for a gluten‑reduced cake that has a nutty undertone.
  • Cupcake Adaptation: Divide the batter among a 12‑cup muffin tin and bake for 20‑25 minutes, yielding individual portable treats.
  • Toasted Coconut Topping: Before baking, sprinkle an extra ¼ cup of shredded coconut on top and toast under the broiler for 1‑2 minutes after the cake is done for added crunch.

Storage and Reheating

At room temperature, the cake stays fresh for up to 2 days when covered loosely with foil or a clean kitchen towel. For longer storage, wrap the cooled loaf tightly in plastic wrap and place it in an airtight container; it will keep in the refrigerator for 4–5 days. The cake also freezes well: slice it, wrap each piece in parchment, then place the slices in a freezer‑safe bag for up to 2 months. To reheat, warm a single slice in a 300°F (150°C) oven for 8‑10 minutes, or microwave a piece on medium power for 20‑30 seconds. Ensure the interior reaches at least 165°F (74°C) if reheating for safety.

Frequently Asked Questions

Can I use canned pineapple instead of fresh?

Yes, canned pineapple works, but drain it thoroughly and pat dry with paper towels to avoid excess liquid that could make the crumb soggy. Choose a brand without added sugar for the best flavor balance.

Do I need to use both coconut milk and shredded coconut?

Both ingredients contribute different textures: coconut milk adds moisture and a subtle creaminess, while shredded coconut provides chewiness and a toasted flavor. If you omit one, the cake will still be tasty but the texture will change.

What is the safe internal temperature for this cake?

The USDA recommends that baked goods containing eggs reach an internal temperature of 160°F (71°C). Use an instant‑read thermometer inserted into the center of the loaf to confirm.

Can I make this cake gluten‑free?

Replace the all‑purpose flour with a 1:1 gluten‑free flour blend that contains xanthan gum. The gluten‑free version may require a slightly longer bake time; start checking at the 50‑minute mark.

How long can the glaze sit before it hardens?

The simple pineapple glaze stays pourable for about 30 minutes at room temperature. If it begins to thicken, whisk in a few more drops of pineapple juice until the desired consistency returns.

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions