Chocolate Coconut Oil Cake and Frosting Recipe
This chocolate coconut oil cake is a rich, moist, and deeply decadent dessert that relies on the unique properties of coconut oil to create a tender crumb. By replacing traditional butter or vegetable oil with coconut oil, the cake achieves a silky mouthfeel and a subtle tropical undertone that complements the intensity of the cocoa. The accompanying chocolate frosting is equally lush, providing a smooth, velvety finish that makes every slice feel like a professional bakery treat.
Ingredients
- 2 cups all-purpose flour
- 2/3 cup unsweetened cocoa powder, high quality
- 1 1/2 teaspoons baking powder
- 1 1/2 teaspoons baking soda
- 1 teaspoon fine sea salt
- 1 cup granulated sugar
- 1/2 cup packed light brown sugar
- 2 large eggs, room temperature
- 1 cup coconut milk, full fat
- 1/2 cup coconut oil, melted and slightly cooled
- 2 teaspoons pure vanilla extract
- 1 cup boiling water
- 1/2 cup unsalted butter, softened (for frosting)
- 1/4 cup coconut oil, solidifying but soft (for frosting)
- 3 cups powdered sugar, sifted
- 1/2 cup unsweetened cocoa powder, sifted (for frosting)
- 1/4 cup coconut milk or heavy cream (for frosting)
- 1/4 teaspoon fine salt (for frosting)
Instructions
- Preheat your oven to 350°F (175°C). Grease two 8-inch round cake pans with coconut oil and lightly dust them with cocoa powder, tapping out any excess. This prevents sticking better than flour for chocolate cakes.
- In a large mixing bowl, whisk together the all-purpose flour, 2/3 cup cocoa powder, baking powder, baking soda, and salt. Ensure there are no large lumps of cocoa, as these can create bitter spots in the finished cake.
- Add the granulated sugar and light brown sugar to the dry ingredients. Whisk briefly to combine.
- In a separate medium bowl, whisk the eggs, coconut milk, melted coconut oil, and vanilla extract until the mixture is well combined and the oil is emulsified into the liquid.
- Pour the wet ingredients into the dry ingredients. Using a spatula or a whisk, mix on medium speed or stir by hand until just combined. Do not overmix, as this develops gluten and can make the cake tough.
- Carefully pour in the boiling water. The batter will be very thin and liquid; this is normal and is the secret to the cake's extreme moisture. Stir gently by hand until the water is fully incorporated.
- Divide the batter evenly between the two prepared cake pans. If you have a kitchen scale, aim for equal weights to ensure even baking times.
- Bake for 30 to 35 minutes. To check for doneness, insert a wooden toothpick into the center of the cake; it should come out clean or with just a few moist crumbs attached. Avoid testing too early, as this can cause the cake to deflate.
- Remove the pans from the oven and let them sit on a wire rack for 15 minutes. Gently run a knife around the edges, then invert the cakes onto the rack to cool completely. The cakes must be entirely cold before frosting, otherwise, the frosting will melt and slide off.
- To make the frosting, beat the softened butter and the solidifying coconut oil together in a large bowl using a hand mixer or stand mixer for about 3-5 minutes until the mixture is pale and very fluffy.
- Sift the powdered sugar and cocoa powder into the butter mixture. Add the coconut milk (or cream) and salt. Beat on low speed initially to prevent a sugar cloud, then increase to medium-high.
- Continue beating for another 2-3 minutes until the frosting is smooth and spreadable. If it is too stiff, add a teaspoon of coconut milk at a time. If it is too soft, add a bit more powdered sugar.
- Once the cake layers are cool, place one layer on a serving plate. Spread a thick layer of frosting over the top. Place the second layer on top and cover the top and sides of the cake with the remaining frosting.
Tips
- Temperature Matters: Ensure your eggs and coconut milk are at room temperature. Cold ingredients can cause the melted coconut oil to seize and form small, hard clumps in the batter, resulting in an uneven texture.
- Sifting is Essential: Cocoa powder is notorious for containing stubborn lumps. Always sift both the cocoa in the cake batter and the cocoa in the frosting to ensure a silky, professional finish.
- Avoid Overmixing: Once you add the flour, mix only until the streaks of white disappear. Overworking the batter traps air unevenly and develops too much gluten, which turns a moist cake into a bread-like texture.
- Pan Preparation: For the best results, use parchment paper rounds at the bottom of your greased pans. This provides a secondary safety net to ensure the delicate cake releases perfectly without breaking.
Serving Suggestions
This cake is incredibly rich, so it pairs beautifully with something bright and acidic to cut through the fat. Fresh raspberries or sliced strawberries are the classic choice. For a more decadent dessert, serve a warm slice with a dollop of unsweetened coconut cream and a sprinkle of toasted coconut flakes. If you are serving this at a dinner party, a small scoop of high-quality vanilla bean ice cream provides a temperature contrast that is highly satisfying.
Variations
For a textured experience, you can add 1/2 cup of mini semi-sweet chocolate chips to the batter just before adding the boiling water. If you prefer a deeper flavor profile, replace 1/4 cup of the flour with finely ground espresso powder; the coffee will not make the cake taste like mocha, but it will intensify the chocolate notes significantly. For a tropical twist, you can fold in 1/2 cup of shredded sweetened coconut into the batter, though you may need to add an extra tablespoon of coconut milk to compensate for the absorption.
Storage and Reheating
Because of the high coconut oil content, this cake is best stored in an airtight container. If kept at room temperature in a cool, dry place, it will remain moist for up to 2 days. However, for optimal freshness and to prevent the frosting from softening too much, it is highly recommended to store the cake in the refrigerator. In the fridge, the cake will stay fresh for up to 5 days. When you are ready to eat, let a slice sit at room temperature for about 20-30 minutes. This allows the coconut oil in the cake and frosting to soften slightly, restoring the intended creamy texture. Do not microwave the cake for long periods, as this can cause the coconut oil to separate and leave the cake feeling greasy.
Frequently Asked Questions
Why is my cake batter so thin?
It is perfectly normal for this batter to be quite liquid. The addition of boiling water at the end is a specific technique used to bloom the cocoa powder and create a very thin, high-moisture batter. This results in a much more tender and moist crumb than a thick, heavy batter would provide. Do not add more flour to thicken it, as this will ruin the texture.
Can I use extra virgin coconut oil instead of refined?
Yes, you can use extra virgin coconut oil, but be aware that it has a much stronger coconut aroma and flavor. If you want a cake that tastes primarily of chocolate with just a hint of coconut, use refined coconut oil. If you love the taste of coconut and want it to be a prominent feature of the dessert, extra virgin is the way to go.
How do I prevent the frosting from melting?
The stability of the frosting depends on the state of the coconut oil. Ensure you are using coconut oil that is in a soft, semi-solid state for the frosting, rather than liquid oil. If your kitchen is very warm, you may need to chill the frosting slightly before spreading. If the frosting becomes too soft to work with, pop the bowl in the fridge for 10 minutes and then re-whip it.
What should I do if my cake sinks in the middle?
A sunken center usually indicates that the cake was overbaked, or that the leavening agents (baking powder/soda) were expired. It can also happen if the oven door was opened too early in the baking process, causing a sudden drop in temperature. If this happens, don't worry; you can still serve the cake by leveling the top with a knife and using the extra frosting to fill the indentation.
Can I make this cake in a single large pan?
Yes, you can bake this in a 9x13 inch rectangular baking pan. If you do this, the baking time will change. Start checking for doneness at around 35-40 minutes. Because a single large pan has more surface area, it may bake more quickly at the edges; keep a close eye on it to ensure the edges don't dry out before the center is set.