This post may contain affiliate links. Please read our disclosure policy.
My million dollar cake looks like it came from a bakery, but it starts with a box of cake mix. It’s super rich, sweet and creamy, with pineapple, coconut and walnuts in every bite. Set it out at the next birthday and watch everyone ask what’s in it.

I make million dollar cake for special occasions, because it takes some time to make and it’s made with love. I bring it out for birthdays, summer cookouts and Thanksgiving, when I want something on the dessert table besides pie. It isn’t a quick, last-minute cake, and that’s okay with me, because the days I make it for are worth a little extra time.
I build my frosting on butter and cream cheese with a little cornstarch, and I put the pineapple juice into the cake batter instead of the frosting. That keeps the frosting thick enough to stay put between three tall layers, and the cake tastes like pineapple all the way through. I also fold coconut and walnuts right into the batter, so the crunch isn’t only on the outside.
If pineapple is your favorite part of this cake, my Pineapple Dump Cake is another pineapple dessert that belongs on the same table.

SPECIAL OCCASION CAKE
The Cake I Bring When I Want Everyone to Notice
I save this cake for the days when I want people to notice what I brought, and it gets noticed before anyone takes a bite. The toasted coconut all over the outside makes it super pretty, and every slice shows off three tall layers full of pineapple, coconut and walnuts.
Then the plates start going around. Even the people who say they’re too full for cake end up asking for a small piece, and I usually hear a few compliments before the night is over. It’s the kind of cake that makes every minute I put into it feel worth it.

What Goes Into Million Dollar Cake and Why

- Yellow cake mix: I use Duncan Hines, and this whole cake is built around one 15.25-ounce box. If you grab a different brand, compare it to Duncan Hines first so you get the most consistent results.
- Instant vanilla pudding mix: I use a 3.4-ounce box of Jello instant vanilla pudding mix, and that’s what this recipe was tested with. Make sure the box says instant, because I haven’t tried cook-and-serve pudding in this cake, so I can’t tell you what it would do.
- Crushed pineapple: I get two jobs out of one 20-ounce can. The juice is the liquid in the cake batter and the crushed pineapple goes into the frosting, so it needs to be drained really well, and I walk through exactly how I do that in the callout above.
- Salted sweet cream butter: I use it melted in the batter and softened in the frosting, where it gets beaten with the cream cheese to give the frosting its body. If you’d rather, you can swap vegetable oil for the melted butter in the batter, but keep the butter in the frosting.
- Cream cheese: I let my cream cheese come all the way to room temperature before it goes in the mixer, because cold cream cheese leaves lumps in the frosting. If you’re pressed for time, you can use canned cream cheese frosting instead of homemade, but the homemade frosting is the one I make.
- Cornstarch: I whisk a little cornstarch into the powdered sugar for the frosting, and it helps the frosting stay thick once the crushed pineapple is mixed in. Don’t leave it out, because it’s part of what keeps the frosting from going loose between the layers.
- Sweetened coconut flakes: I split the coconut in half, folding half into the batter and toasting the other half for the outside of the cake. That’s how you get coconut in every layer and a golden, crunchy coat on the outside, so don’t stir it all into the batter.
- Chopped walnuts: I fold the walnuts right into the batter so there’s a little crunch in every slice, not only on top. You can swap in chopped pecans, and you can sprinkle extra chopped nuts over the top of the cake if you like.

How to Make Million Dollar Cake
Step 1: Mix and Bake the Three Layers
I whisk the cake mix and pudding mix together, beat in the drained pineapple juice, melted butter and eggs, and then fold in half the coconut and all the walnuts. Divide the batter between the three pans and start checking at the low end of the bake time, pulling them when a toothpick in the center comes out clean, then let them cool completely.
Step 2: Toast the Rest of the Coconut
I spread the other half of the coconut on a parchment-lined baking sheet and toast it, giving it a stir partway through. Stay right by the oven for this one, because the coconut goes from golden to burned fast, and let it cool completely before it goes on the cake.
Step 3: Make the Frosting and Chill It
I beat the softened butter and cream cheese, add the powdered sugar and cornstarch a little at a time, and then mix in the crushed pineapple only until it disappears into the frosting. Cover it and give it the full 30 minutes in the fridge, since cold frosting is what holds up between three tall layers.
Step 4: Stack, Frost and Coat in Coconut
I spread frosting over the first layer, stack the second and repeat, then top it with the third layer and a thicker layer of frosting before covering the sides with the rest. Sprinkle the toasted coconut over the top and all around the sides, and keep the cake in the fridge until you’re ready to slice.


How Long Leftovers Keep
I cover any leftover million dollar cake and keep it in the fridge, where it holds up for up to 4 days, so there’s still cake around for days after the party. I serve this cake cold anyway, so there’s nothing to reheat, and I pull slices straight from the fridge whenever someone wants one.
For the freezer, it’s the unfrosted layers that freeze, and I walk through how I wrap and thaw them in the make-ahead section above.

Frequently Asked Questions
Why is it called million dollar cake?
It looks and tastes like a million dollars, but it costs a whole lot less to make. Some people even think the bits of crushed pineapple look like little gold nuggets in every slice.
Is this the same cake as million dollar pound cake?
No, they’re two different cakes that happen to share a name. Million dollar pound cake is a dense, buttery pound cake. Mine is three cake layers made with cake mix and pudding, then filled and frosted with a pineapple cream cheese frosting.
How is a millionaire’s cake different?
A millionaire’s cake is more of a layered torte than a fully frosted cake. It uses a lot of the same ingredients and flavors, but the frosting usually only goes between the layers and on top. Mine gets frosted all the way around and covered in toasted coconut.
More Cake Recipes
- Hawaiian Wedding Cake
- Pineapple Upside Down Dump Cake
- Pineapple Angel Food Cake
- Better Than Sex Cake

Million Dollar Cake
Ingredients
Cake Batter
- 15.25 ounce box of yellow cake mix (your favorite brand, I used Duncan Hines)
- 3.4 ounce box of instant vanilla pudding mix (your favorite brand, I used the Jello brand)
- 20 ounce can of crushed pineapple very well drained (you will use the drained juice in the cake batter and reserve the crushed pineapple for the frosting. The juice should measure 1¼ cups)
- ½ cup salted sweet cream butter melted
- 3 large eggs room temperature
- 3 cups sweetened coconut flakes divided into 1½ cups and 1½ cups
- 1 cup chopped walnuts
Frosting and Filling
- 3 cups powdered sugar sifted
- 2½ tablespoons cornstarch
- 1 cup salted sweet cream butter softened
- 12 ounces cream cheese softened
Instructions
- Preheat the oven to 350°F. Spray three 9-inch round cake pans with baker’s spray (Baker’s Joy or generic version).
- Add the yellow cake mix and instant pudding mix to a medium-sized mixing bowl. Whisk to combine.15.25 ounce box of yellow cake mix , 3.4 ounce box of instant vanilla pudding mix
- Add drained pineapple juice (just the pineapple juice, you will use the crushed pineapple in the frosting), melted butter, and eggs to the cake mix and pudding mix. Use a handheld mixer on medium speed to mix the ingredients together until well incorporated, about 1½-2 minutes.20 ounce can of crushed pineapple, ½ cup salted sweet cream butter, 3 large eggs
- Fold in the coconut flakes and chopped walnuts.1 cup chopped walnuts, 1.5 cups sweetened coconut flakes
- Divide the batter between the prepared cake pans. Bake for 22-25 minutes, or until a toothpick inserted in the center comes away clean. Allow the cakes to cool completely.
- Keep the oven on 350°F. Line a baking sheet with parchment paper. Spread the remaining 1½ cups of sweetened coconut flakes over the lined baking sheet. Bake for 6 minutes, keeping a close eye on the coconut. Use a silicone spatula to stir the coconut flakes. Continue baking for another 4 minutes. Again, keep a very close eye on the coconut. It will not take long for the coconut to go from golden to burned. Allow the coconut to cool completely.1.5 cups sweetened coconut flakes
- Add the sifted powdered sugar and cornstarch to a medium size mixing bowl. Whisk to combine.3 cups powdered sugar, 2½ tablespoons cornstarch
- Using a stand mixer or a medium-sized mixing bowl and a handheld mixer on medium-high speed, beat the softened butter and softened cream cheese for 1-1½ minutes.1 cup salted sweet cream butter, 12 ounces cream cheese
- Lower the mixer speed to medium. Add the powdered sugar and cornstarch ½ cup at a time, beating well after each addition.
- Add the drained and reserved crushed pineapple and continue mixing just until incorporated. Cover and chill in the refrigerator for 30 minutes.
- Remove the first cake from the pan and place it onto a serving plate or 10-inch round cake board.
- Using a silicone spatula or an offset spatula, spread a layer of frosting over the top of the cake. Place the second cake on top of the first cake layer and repeat the layer of frosting. Place the third cake on top of the second layer. Mound a thicker layer of frosting on top of the third layer, using the silicone spatula or the offset spatula to spread the frosting evenly.
- Evenly spread the rest of the frosting around the sides of the cakes.
- Once the cake is completely frosted, sprinkle the toasted coconut over the top and around the sides of the cake. Keep the cake chilled in the refrigerator until ready to slice and serve.
Jenn’s Notes
- I press the crushed pineapple in a strainer with a spoon until I have 1¼ cups of juice for the batter, because wet pineapple thins out the frosting and makes it slide off the layers. If I come up a little short, I add a little water, and if I’m really short, I get more juice.
- I let my cream cheese come all the way to room temperature, because cold cream cheese leaves lumps in the frosting. Then I give the finished frosting the full 30 minutes in the fridge before I start stacking, so it’s thick enough to hold between three tall layers.
- I stay right by the oven when I toast the coconut, because it goes from golden to burned fast. I also start checking the cake layers at 22 minutes, since oven temperatures vary.








Yum