Vegan Frosting with Coconut Oil: Yes, Here's How
In this article
- Refined vs. Unrefined Coconut Oil for Frosting
- How to Make Coconut Oil Frosting: Step by Step
- How Warm Is Too Warm for Coconut Oil Frosting?
- How to Fix Runny or Grainy Coconut Oil Frosting
- Can You Substitute Coconut Oil for Vegan Butter in Frosting?
- How Long Coconut Oil Frosting Lasts and How to Store It
- Flavoring Coconut Oil Frosting Without Dairy
- Common Problems and Quick Fixes
- Can You Use Coconut Oil in Cream Cheese-Style Vegan Frosting?
- Scaling the Recipe and Measuring Accurately
- Making Frosting Ahead and Reviving It
Yes, you can make vegan frosting with coconut oil, and the core ratio is 1 cup of refined coconut oil to 3 cups of powdered sugar, plus 2 to 4 tablespoons of plant milk and 1 teaspoon of vanilla. This produces a fluffy buttercream-style frosting that pipes well at 65–70°F (18–21°C). The key is using refined coconut oil, which has a neutral flavor, and keeping the mixture cool enough to hold its shape but warm enough to spread.
Refined vs. Unrefined Coconut Oil for Frosting
Refined coconut oil is the right choice for frosting because it has a neutral taste and no coconut aroma. Unrefined (virgin) coconut oil carries a strong coconut flavor that will dominate vanilla or chocolate frosting; it works only in recipes where coconut is the intended flavor, such as coconut-almond or tropical fruit cakes. Refined coconut oil also has a higher smoke point and a more consistent texture, but both types behave the same when chilled: they solidify below 76°F (24°C). Use refined for any frosting that should taste like vanilla, chocolate, lemon, or strawberry.
How to Make Coconut Oil Frosting: Step by Step
Start with all ingredients at room temperature, about 68–72°F (20–22°C). Measure 1 cup (200 g) of refined coconut oil; if it is solid, soften it until it is the texture of soft butter but still cool—do not melt it completely. Sift 3 cups (360 g) of powdered sugar to remove lumps. In a stand mixer with the paddle attachment, beat the coconut oil on medium speed for 2 minutes until smooth. Add half the powdered sugar and beat on low until incorporated, then add the remaining sugar and beat for 1 minute. Pour in 2 tablespoons of plant milk (soy or oat milk works best because of their protein and fat content) and 1 teaspoon of vanilla extract. Beat on medium-high for 2 to 3 minutes, scraping the bowl once. If the frosting is too thick, add plant milk 1 teaspoon at a time; if too thin, add powdered sugar 1 tablespoon at a time. The final frosting should hold a soft peak.
How Warm Is Too Warm for Coconut Oil Frosting?
Coconut oil melts at 76°F (24°C), so the frosting will soften and lose its shape above that temperature. Work in a kitchen below 75°F (24°C) if possible. If the room is warmer, chill the bowl and paddle in the refrigerator for 10 minutes before mixing, and stop beating as soon as the frosting comes together. For piping, the frosting should be 65–70°F (18–21°C); if it feels greasy or slides on the spatula, chill it for 5–10 minutes and beat again. Never leave a coconut-oil-frosted cake in direct sun or in a car; the frosting will melt and seep.
How to Fix Runny or Grainy Coconut Oil Frosting
If the frosting looks curdled or grainy, the coconut oil is too cold or the liquid was added too fast. Set the bowl in a larger bowl of warm water for 30 seconds, then beat again; repeat until smooth. If it is runny, chill the bowl for 10 minutes and beat on medium-high for 1 minute; if still runny, add powdered sugar 1 tablespoon at a time. If the frosting separates and looks oily, the mixture got too warm—chill for 15 minutes, then beat. For a frosting that must hold at room temperature for more than 2 hours, replace 2 tablespoons of the coconut oil with 2 tablespoons of vegan butter or vegetable shortening to raise the melting point.
Can You Substitute Coconut Oil for Vegan Butter in Frosting?
Yes, but the result is softer and melts faster. Use the same weight of coconut oil as butter, but reduce the plant milk by 1 tablespoon because coconut oil contains no water. Coconut oil frosting pipes well when chilled but will not hold a sharp edge at room temperature as long as a butter-based frosting. For a 1:1 swap in a recipe that calls for 1/2 cup vegan butter, use 1/2 cup (100 g) refined coconut oil and 1 to 2 tablespoons plant milk. Do not use melted coconut oil as a substitute for softened butter; it will not aerate and the frosting will be dense.
How Long Coconut Oil Frosting Lasts and How to Store It
Frosted cakes and cupcakes keep at cool room temperature (below 70°F/21°C) for up to 4 hours, then should be refrigerated. In the refrigerator, coconut oil frosting lasts 3 to 5 days in a covered container. For longer storage, freeze the frosting in an airtight container for up to 3 months; thaw overnight in the refrigerator, then beat on medium speed for 1 to 2 minutes to restore texture. Do not store frosting in the refrigerator for more than 5 days because the plant milk can spoil. Bring refrigerated frosted cake to room temperature for 20 to 30 minutes before serving for the best texture.
Flavoring Coconut Oil Frosting Without Dairy
Add flavor after the base is smooth. For chocolate frosting, sift 1/2 cup (40 g) of cocoa powder with the powdered sugar and increase plant milk to 3 to 4 tablespoons. For lemon, add 2 teaspoons of lemon zest and 1 tablespoon of lemon juice, reducing plant milk to 1 tablespoon. For strawberry, use 2 tablespoons of freeze-dried strawberry powder and 3 tablespoons plant milk. Avoid watery extracts or fresh fruit purees, which can make the frosting separate; if using a puree, reduce it by half over low heat and cool before adding. A pinch of salt (1/8 teaspoon) balances sweetness in any variation.
Common Problems and Quick Fixes
| Problem | Cause | Fix |
|---|---|---|
| Frosting is soupy | Coconut oil melted or too much liquid | Chill bowl 10–15 minutes, beat; add 1 tbsp powdered sugar at a time |
| Frosting is crumbly | Coconut oil too cold | Warm bowl over warm water 30 seconds, beat until smooth |
| Frosting tastes like coconut | Used unrefined coconut oil | Switch to refined coconut oil |
| Frosting won't pipe | Too warm or too stiff | Chill 5 minutes for warm; add plant milk 1 tsp at a time for stiff |
Can You Use Coconut Oil in Cream Cheese-Style Vegan Frosting?
Yes, but the ratio changes. For a cream cheese-style frosting, use 1/2 cup (100 g) refined coconut oil, 1/2 cup (120 g) vegan cream cheese, 2 cups (240 g) powdered sugar, and 1 teaspoon vanilla. Beat the coconut oil and cream cheese together first, then add the sugar. This frosting is softer and should be refrigerated until serving; it holds for 2 hours at room temperature. Do not use this style for piping intricate designs because it lacks the structure of pure coconut oil frosting.
Scaling the Recipe and Measuring Accurately
For a two-layer 8-inch cake, you need about 3 cups of frosting, which is one batch of the base recipe. For a 9×13-inch sheet cake, make 1.5 batches. For 12 cupcakes, one batch is enough. Measure coconut oil by weight when possible: 1 cup refined coconut oil weighs 200 grams. If using a measuring cup, pack it firmly but not melted. Powdered sugar should be spooned into the cup and leveled; 1 cup weighs 120 grams. Plant milk should be measured in a liquid measuring cup at eye level. These weights ensure the frosting sets correctly.
Making Frosting Ahead and Reviving It
Coconut oil frosting can be made up to 3 days ahead and stored covered in the refrigerator. Before using, let it sit at room temperature for 15 minutes, then beat on medium speed for 1 to 2 minutes. If it looks separated after chilling, beat it cold for 30 seconds, then continue beating while it warms slightly—this re-emulsifies the mixture. Do not microwave the frosting to soften it; direct heat will melt the coconut oil unevenly and cause greasiness. For a quick fix, place the metal mixing bowl in a larger bowl of warm water for 20 seconds, then beat.