Coconut frosting is a taste of the tropics — sweet, creamy, and finished with a snowy blanket of shredded coconut. It is a classic coconut buttercream: softened butter whipped with powdered sugar, coconut cream, and vanilla, then rolled in toasted or untoasted coconut flakes. One bite and you are somewhere sunny.
This recipe makes a smooth, pipeable frosting that holds its shape on cakes and cupcakes, with real coconut flavour in every layer — coconut cream in the frosting, coconut extract for aroma, and shredded coconut on the outside for crunch. It takes about 15 minutes, needs no cooking, and frosts 24 cupcakes or a two-layer 8-inch cake. It is the perfect finish for coconut cake, vanilla cupcakes, pineapple cake, and chocolate cake alike.
Prep time: 15 minutes | Total time: 15 minutes | Yield: about 3 cups — enough for 24 cupcakes or a two-layer 8-inch cake (12 servings)
Why You’ll Love This Coconut Frosting
- Real coconut flavour: Coconut cream and extract give it a true tropical taste, not just a hint.
- Snowy and beautiful: Rolled in shredded coconut, it looks like a winter wonderland — or a tropical beach.
- Smooth and pipeable: Whips up light and fluffy, holds swirls, and spreads without tearing cake.
- Only 15 minutes: No cooking, no waiting — just beat, frost, and sprinkle.
- Wonderfully versatile: Gorgeous on coconut, vanilla, chocolate, pineapple, and lime cakes.
- Toasted or plain: Use untoasted coconut for a snowy look, or toasted for a golden, nutty crunch.

Ingredients You’ll Need
- 1 cup (226 g) unsalted butter, softened — must be truly room temperature for a smooth whip.
- 4 cups (480 g) powdered sugar, sifted — sifting keeps the frosting lump-free and silky.
- 1/4 cup (60 ml) coconut cream — the thick cream from the top of a can of full-fat coconut milk; this is where the flavour lives.
- 1 teaspoon coconut extract — boosts the coconut aroma; use a good-quality extract.
- 1 teaspoon pure vanilla extract — rounds out the flavour so the coconut does not taste artificial.
- Pinch of fine sea salt — balances the sweetness.
- 1–2 tablespoons heavy cream or coconut milk, as needed — to adjust the consistency.
- 1 1/2 cups sweetened shredded coconut, for coating — untoasted for a snowy finish, or lightly toasted for a golden crunch.
Equipment You’ll Need
- Stand mixer or electric hand mixer
- Large mixing bowl
- Rubber spatula
- Offset spatula or piping bag with a large star tip
- Shallow bowl or plate, for the shredded coconut
- Skillet (only if toasting the coconut)
How to Make Coconut Frosting
- Beat the butter: In a large bowl, beat the softened butter on medium-high speed for 2–3 minutes until pale, creamy, and fluffy.
- Add the sugar: Add the sifted powdered sugar one cup at a time, beating on low speed until combined, then on medium speed until smooth. Scrape down the sides of the bowl.
- Add the coconut cream: Pour in the coconut cream, coconut extract, vanilla, and salt. Beat on medium-high speed for 2–3 minutes until light, silky, and spreadable.
- Adjust the consistency: If the frosting is too thick, beat in cream or coconut milk one teaspoon at a time. If it is too soft, add powdered sugar two tablespoons at a time.
- Toast the coconut (optional): If you want a golden finish, spread the shredded coconut in a dry skillet over medium heat and stir constantly for 3–4 minutes until lightly golden. Let it cool completely.
- Frost the cake: Spread the frosting over completely cooled cakes or cupcakes with an offset spatula, or pipe generous swirls with a large star tip.
- Coat with coconut: While the frosting is still soft, gently press handfuls of shredded coconut onto the sides and top of the cake, or roll the frosted tops of cupcakes in a shallow bowl of coconut.
- Chill briefly: Refrigerate the frosted cake for 20–30 minutes so the frosting sets and the coconut coating sticks firmly.
- Serve: Bring the cake to room temperature for 20 minutes before slicing, so the frosting is soft and creamy.
- Garnish: Finish with a few toasted coconut flakes, a lime twist, or a single pineapple flower for a tropical look.

Tips for the Perfect Coconut Frosting
- Use room-temperature butter: Cold butter will not whip smooth, and melted butter will not hold air.
- Sift the powdered sugar: It takes a minute and is the difference between silky and gritty.
- Use coconut cream, not coconut milk: The thick cream gives flavour and body; thin milk will make the frosting runny.
- Taste before adding more extract: Coconut extract is strong — start with the recipe amount and add a drop more only if needed.
- Coat while the frosting is soft: The coconut sticks best in the first few minutes after frosting.
- Watch the toasting: Shredded coconut goes from golden to burnt in seconds — stir constantly and pull it off the heat early.
- Beat long enough: The final 2–3 minute whip is what makes the frosting light instead of dense.
Easy Variations to Try
- Chocolate coconut: Beat in 3 tablespoons of cocoa powder with the powdered sugar for a chocolate-coconut frosting.
- Lime coconut: Add 1 tablespoon of lime zest and replace the vanilla with lime juice for a bright, tropical twist.
- Pineapple coconut: Fold in 1/4 cup of very well-drained crushed pineapple for a piña colada frosting.
- Coconut cream cheese: Replace half the butter with softened cream cheese for a tangy version.
- Almond coconut: Add 1/2 teaspoon of almond extract for a flavour reminiscent of a coconut-almond chocolate bar.
- Toasted marshmallow coconut: Fold in 1/2 cup of marshmallow fluff for an extra-light, pillowy frosting.
What to Use It On Coconut Frosting
- Coconut layer cake: The classic — white cake layers, coconut frosting, and a snowy coconut coat.
- Vanilla cupcakes: A simple vanilla cupcake becomes a tropical treat with this frosting.
- Chocolate cake: Coconut and chocolate are a beloved pairing — think of a coconut-almond chocolate bar.
- Pineapple cake: The tropical flavours match perfectly, especially with a little lime zest.
- Lemon cake: The bright citrus cuts the sweetness of the coconut beautifully.

Make Ahead and Storage
- Room temperature: Use within a few hours of making, or keep covered for up to 1 day.
- Refrigerator: Store in an airtight container for up to 1 week. Bring to room temperature for 30–45 minutes, then re-whip for 1–2 minutes before using.
- Freezer: Freeze in a sealed container for up to 3 months. Thaw overnight in the fridge, then bring to room temperature and re-whip.
- Frosted cakes: A frosted cake keeps at room temperature for 1 day, or refrigerated for up to 4 days — bring to room temperature before serving.
- Toasted coconut: Toasted shredded coconut keeps in a sealed jar at room temperature for up to 2 weeks.
Frequently Asked Questions
Can I use coconut milk instead of coconut cream?
You can, but use only the thick cream that rises to the top of a can of full-fat coconut milk. Thin coconut milk will make the frosting too soft.
Is this frosting very sweet?
It is a classic sweet buttercream, but the salt and the coconut cream balance it. For a less sweet version, reduce the powdered sugar to 3 1/2 cups and add a little more coconut cream.
Can I make this dairy-free?
Yes — use a plant-based butter and full-fat coconut cream. The texture will be slightly softer, so chill the frosting briefly before piping.
Should the coconut be sweetened or unsweetened?
Either works. Sweetened shredded coconut is softer and sticks well; unsweetened gives a more natural coconut flavour and a chewier texture.
Why is my frosting grainy?
Unsifted powdered sugar is the usual cause. Sift it next time, and beat the frosting for the full 2–3 minutes at the end.
Can I pipe this frosting?
Yes — it pipes beautifully with a large star tip. Press the coconut flakes on by hand afterwards, since they will clog a piping tip.
How much frosting do I need for a layer cake?
This recipe frosts a two-layer 8-inch or 9-inch cake. For a three-layer cake, make 1 1/2 times the recipe.
Can I colour coconut frosting?
Yes — a drop of gel food colouring tints it nicely. Keep the shredded coconut white for a pretty contrast.
Nutrition (Estimated)
Per serving (1 of 12, about 1/4 cup of frosting plus coconut coating): approximately 260 calories, 15 g fat, 10 g saturated fat, 31 g carbohydrates, 29 g sugar, 1 g protein, 45 mg sodium. Values are approximate and will vary with the exact ingredients and serving size.
