Easy Pineapple Sunshine Cake
This Pineapple Sunshine Cake is the kind of dessert that shows up at every potluck and leaves with an empty dish, and once you taste it you will understand why. A soft golden cake soaks up sweet crushed pineapple, then gets covered with a fluffy vanilla topping that feels like a cool, creamy dream. It is bright, it is tropical, and it comes together with simple grocery store ingredients.

It is the cake I reach for when I need something cheerful and unfussy. The flavor lands somewhere between a vintage church cookbook and a vacation, and the whole thing takes about 15 minutes of actual work. You bake, you poke, you pour, you dollop. That is it.
Why This Pineapple Cake Is a Keeper
The cake itself stays impossibly moist because the crushed pineapple and its juice seep into every hole you poke, so even a day later the crumb is almost pudding-soft in the best way. There is no greasy buttercream or fussy frosting, just a cloud of whipped topping folded with vanilla pudding that tastes like a creamsicle met a piña colada.
I love how forgiving the recipe is. You do not need a mixer, piping bags, or a crumb coat. You need a bowl, a whisk, and a sheet pan. It feeds a crowd without asking for much from you, and the leftovers keep beautifully in the fridge. That is the kind of sweet I want in my rotation.
Ingredients

- 1 box (15.25 oz) yellow cake mix: plus the eggs, oil, and water called for on the box.
- 1 can (20 oz) crushed pineapple, undrained: the juice does all the soaking work, so do not drain it.
- 1 box (3.4 oz) instant vanilla pudding mix: this thickens the topping and gives it that nostalgic creaminess.
- 1 cup cold whole milk: cold milk sets the pudding fast and keeps the topping stable.
- 1 container (8 oz) frozen whipped topping, thawed: use the original kind, not the light or extra-creamy version, for the best texture.
- ½ cup sweetened shredded coconut, toasted: the toasty flavor cuts the sweetness, and the crunch is welcome.
- Maraschino cherries, for garnish: a few bright pops of color finish the look.
Variations / Substitutions
- Cake base: White cake mix or butter recipe golden cake mix both work, so use whichever you have.
- Pineapple: Crushed pineapple in its own juice is what I always grab. If you can only find pineapple in heavy syrup, reduce the soaking time by 10 minutes so the cake does not get syrupy.
- Pudding: A box of coconut cream instant pudding pushes the tropical flavor further.
- Dairy-free: Swap the milk for a creamy oat or almond milk and use a dairy-free whipped topping. The pudding will set just fine.
- Nuts: If you like crunch, add ¼ cup chopped toasted macadamia nuts or pecans on top with the coconut.
- If you love the tropical vibe, you might also enjoy a classic Hummingbird Cake.
How to Make Pineapple Sunshine Cake
Step 1: Bake the Cake Base

Heat your oven to 350°F (175°C). Grease a 9×13-inch pan with butter or baking spray. Prepare the cake mix according to the box directions, using the eggs, oil, and water it lists. Pour the batter into the pan and bake until a toothpick poked in the center comes out clean, about 25 minutes.
The top will be a light golden brown and the cake will spring back when you touch it. The whole kitchen should smell like warm vanilla.
Step 2: Poke and Soak with Pineapple

Let the cake cool on a wire rack for about 5 minutes, then use the handle of a wooden spoon to poke holes all over the warm cake. Space them about an inch apart and push all the way down. Spoon the entire can of crushed pineapple, juice and all, over the top and spread it evenly with the back of the spoon so every hole gets some liquid.
It will look like a wet mess for a minute, but the cake drinks it right up. After about 10 minutes the surface should still be shiny but no longer pooling. Let the cake cool completely to room temperature before the next step, about 45 minutes.
Step 3: Whisk the Vanilla Topping

While the cake cools, whisk together the instant vanilla pudding mix and the cold whole milk in a medium bowl. Whisk hard for about 2 minutes until the mixture thickens and feels like a soft pudding. Fold in the thawed whipped topping with a spatula, going gently so you do not deflate the air.
The finished topping should be thick, smooth, and hold soft peaks when you lift the spatula. It should taste like the inside of a cream puff. Pop it in the fridge until you are ready to spread.
Step 4: Assemble and Chill

Once the cake is fully cool, dollop the vanilla topping over the pineapple layer. Spread it all the way to the edges with an offset spatula or the back of a spoon. Sprinkle the toasted coconut evenly across the top and dot with maraschino cherries if you are using them.
Cover the pan loosely with plastic wrap and chill for at least 2 hours. The chilling lets the pudding set firmly and the flavors marry, so do not skip it.
Step 5: Slice and Serve

Run a sharp knife under hot water, wipe it dry, and cut the cake into 12 squares right in the pan. Serve each piece cold, letting the cake break into soft, saturated bites. The crumb will be dense and damp, almost like a tres leches, and the topping stays cloud-light.
If you are bringing this to a gathering, set the pan on a pretty platter and watch people come back for the corner pieces first.
How to Get the Fluffiest Topping
- Start with a fully thawed whipped topping, still cold from the fridge. If it is too warm it will deflate when you fold it.
- Whisk the pudding and milk until it is so thick you could flip the spoon and it would not slide off. The texture here determines the final fluff.
- Fold gently with a spatula, not a whisk, so you keep as much air as possible. A few streaks in the bowl are fine; they disappear when you spread.
- If you want extra height, add an extra ½ cup of whipped topping to the mixture. The topping will stand tall and look extra generous.
- Toast the coconut in a dry skillet over medium heat for 3 minutes, shaking often, until it is golden in spots. No one ever complains about more toastiness.
Bake times by pan:
| Pan size | Material | Bake time |
|---|---|---|
| 9×13 inch | Metal or glass | 25 minutes |
| 8×8 inch | Metal | 28-30 minutes |
| Cupcake tin | Standard liners | 16-18 minutes |
Storing Leftover Sunshine Cake
Cover the pan tightly with plastic wrap or transfer squares to an airtight container. Keep it in the fridge for up to 4 days. The cake only gets more tender as it sits, so second-day slices taste even better. I do not recommend freezing, because the whipped topping separates and turns watery when it thaws. If you need to make it ahead, bake the cake a day early and store it at room temperature, then do the poke, soak, and topping on the day you plan to serve.
Frequently Asked Questions
Can I use fresh pineapple instead of canned?
I would not. Fresh pineapple juice can keep the pudding from setting, and you miss the syrupy soak. Stick with the canned crushed pineapple in juice.
Do I have to use yellow cake mix?
No, you can use white, vanilla, or even a lemon cake mix if you want a brighter citrus note. The soaking step works the same way.
Can I make this cake in a different pan?
Yes, a 9×13 is easiest, but an 8×8 pan works if you want a thicker cake. Just follow the bake time in the table above.
Why did my topping turn runny?
The most common cause is warm milk or an under-whipped pudding. Use cold milk and whisk until the pudding is very thick before folding in the whipped topping.
Can I skip the coconut?
You can leave it off entirely or swap in crushed vanilla wafers or toasted nuts. The cake is still delicious without it.

Pineapple Sunshine Cake Recipe
Ingredients
Method
- Heat oven to 350°F (175°C). Grease a 9×13 pan. Prepare cake mix according to box, pour into pan, and bake 25 minutes until a toothpick comes out clean.
- Cool cake 5 minutes, then poke holes all over with a wooden spoon handle. Pour the undrained crushed pineapple over the cake and spread evenly. Cool completely, about 45 minutes.
- Whisk vanilla pudding mix and cold milk for 2 minutes until thick. Fold in whipped topping until smooth and fluffy.
- Spread the topping over the cooled cake. Sprinkle toasted coconut on top and add cherries. Cover and refrigerate at least 2 hours.
- Slice into 12 squares and serve cold.
