A vegetarian coconut cake is simply a coconut cake made without meat, fish, or poultry — and most classic recipes already qualify, since the usual ingredients are flour, sugar, eggs, butter, and coconut. The main condition is that you use a gelatin-free coconut product and check that your frosting doesn’t contain animal-derived additives. Below is a dependable recipe with a tender crumb and a creamy coconut frosting, plus the key factors that change the result.
What Makes a Coconut Cake Vegetarian
Most coconut cakes are naturally vegetarian because they rely on eggs, butter, and milk — none of which come from meat. The two things to watch are gelatin (sometimes used in frosting or canned coconut milk as a stabilizer) and certain food colorings or flavorings that may use animal products. Check the label on your coconut milk, shredded coconut, and frosting ingredients for gelatin, lard, or animal-derived mono- and diglycerides. If you’re serving vegans, you’ll need to swap the eggs and dairy, but for a vegetarian diet, the standard recipe below works as written.
The Core Recipe: 9-Inch Layer Cake
This makes two 9-inch (23 cm) round layers that bake at 350°F (175°C) for 25–30 minutes, until a toothpick inserted in the center comes out clean. The cake is lightly sweet, with shredded coconut folded into the batter for texture, and a simple buttercream that uses coconut milk instead of regular milk.
Ingredients
- 2 1/2 cups (300 g) all-purpose flour
- 1 tbsp baking powder
- 1/2 tsp salt
- 1 cup (226 g) unsalted butter, softened
- 1 1/2 cups (300 g) granulated sugar
- 4 large eggs, at room temperature
- 1 tsp vanilla extract
- 1 cup (240 ml) canned coconut milk (full-fat, shaken)
- 1 1/2 cups (120 g) sweetened shredded coconut
Frosting
- 1/2 cup (113 g) unsalted butter, softened
- 4 cups (480 g) powdered sugar
- 1/4 cup (60 ml) coconut milk
- 1 tsp vanilla extract
- 1/2 cup (40 g) shredded coconut for topping
Bake the Layers Evenly
Preheat the oven to 350°F (175°C). Grease two 9-inch (23 cm) round pans and line the bottoms with parchment paper. In a bowl, whisk the flour, baking powder, and salt. In a large bowl, beat the butter and sugar until light and fluffy, about 3 minutes. Add the eggs one at a time, beating well after each, then stir in the vanilla. Add the flour mixture in three additions, alternating with the coconut milk, starting and ending with flour. Fold in the shredded coconut. Divide the batter between the pans and bake for 25–30 minutes, until a toothpick comes out clean and the top springs back when touched. Cool in the pans for 10 minutes, then turn out onto a wire rack to cool completely before frosting — about 1 hour.
Frost While the Cake Is Fully Cool
For the frosting, beat the butter until creamy, then add the powdered sugar one cup at a time, alternating with the coconut milk. Beat in the vanilla and continue until fluffy, about 2 minutes. If the frosting is too thick, add a teaspoon of coconut milk; if too thin, add more powdered sugar. Place one layer on a plate, spread about 1 cup of frosting on top, then add the second layer. Frost the top and sides, then press the remaining shredded coconut onto the sides and top. Refrigerate for 30 minutes to set the frosting before slicing.
Factors That Change the Result
| Factor | Effect | Adjustment |
|---|---|---|
| Type of coconut milk | Full-fat canned milk gives a richer crumb; light or carton milk makes the cake drier. | Use full-fat canned for best texture; if using light, add 2 tbsp (30 ml) extra milk. |
| Shredded vs. flaked coconut | Shredded is finer and blends into the batter; flaked is larger and adds more chew. | Use shredded for a uniform crumb; flaked works but may poke through the top. |
| Egg substitution | For a vegan version, eggs are key for structure; replacing them changes the crumb. | Use a commercial egg replacer or flax eggs, but expect a denser cake. |
| Frosting type | Buttercream is classic; cream cheese frosting adds tang, and a simple glaze is lighter. | If using cream cheese, reduce the butter to 1/4 cup (57 g) and add 4 oz (113 g) cream cheese. |
Worked Example: Scaling to a Sheet Cake
For a 9×13-inch (23×33 cm) sheet cake, bake the same batter at 350°F (175°C) for 30–35 minutes, until a toothpick comes out clean. The yield is about 12 servings instead of 10. If you want a 3-layer 9-inch cake, multiply all ingredients by 1.5 — that gives you 3 3/4 cups (450 g) flour, 2 1/4 cups (450 g) sugar, 6 eggs, and 1 1/2 cups (360 ml) coconut milk. Bake the three layers for 22–25 minutes, checking earlier because thinner layers bake faster.
Storage and Safety: Keep It Cold or Covered
Frosted coconut cake can sit at room temperature for up to 2 hours, but because the frosting contains butter and coconut milk, it’s safest to refrigerate it after that. Store in an airtight container in the fridge for up to 4 days; let it come to room temperature for 30 minutes before serving for best flavor. You can freeze the unfrosted layers, wrapped tightly in plastic and foil, for up to 2 months. Thaw overnight in the fridge before frosting. Never leave the cake out overnight — any perishable frosting should be refrigerated within 2 hours of serving.
How to Tell If Your Cake Is Done
The most reliable test is a toothpick inserted in the center that comes out clean, with no wet batter clinging to it. The edges will pull slightly away from the pan, and the top will spring back when pressed gently. If you use an instant-read thermometer, the center should read about 200°F (93°C) — that’s a common doneness cue for pound-style cakes. Overbaking dries the crumb, so start checking at the lower end of the time range.
Common Substitutions That Work
If you’re out of coconut milk, use whole milk or buttermilk (add 1/2 tsp baking soda to the flour if using buttermilk) — the cake will be less coconut-forward but still moist. For a nut-free version, this cake is naturally nut-free as written, but check your shredded coconut for cross-contamination if that’s a concern. To make it gluten-free, swap the all-purpose flour for a 1:1 gluten-free baking flour that contains xanthan gum; the texture will be slightly more tender and may need an extra 2–3 minutes of baking. If you want a stronger coconut flavor, add 1/2 tsp coconut extract along with the vanilla, or toast the shredded coconut for the topping in a dry skillet over medium heat for 2–3 minutes, stirring, until golden — let it cool before pressing onto the frosting.
Related
- Can You Freeze Magic Cookie Bars With Condensed Milk?
- Can You Freeze Chocolate Chip Cookie Bars?
- How to Plant Rubber Tree Leaves
Spotted a mistake? Tell us and we will correct it. How we write and check articles.