One-Bowl Chocolate Coconut Cake
This one-bowl chocolate coconut cake delivers a moist, tender crumb with coconut woven right into the batter. A soft coconut cream cheese frosting and a scatter of toasted coconut on top turn it into the kind of dessert people ask for again and again.

It comes together in a single mixing bowl, which means less cleanup and a cake that feels effortless even on a busy day. The chocolate flavor is deep and round, and shreds of sweet coconut break up every bite with a little chew.
What Makes This Cake So Good
The crumb owes its softness to full-fat coconut milk in the batter. It keeps every square fluffy for days, and a whisper of tropical flavor lingers behind the chocolate.
Hot coffee blooms the cocoa and pushes the chocolate right to the front without ever tasting like coffee. That simple pour of hot liquid is what makes a chocolate cake taste truly chocolatey.
The frosting brings a double layer of coconut. Coconut cream whipped into softened cream cheese gives it a silky, tangy finish, and toasted coconut on top adds crunch. The whole thing feels special but never fussy.
Ingredients

- 2 cups (250g) all-purpose flour: spooned and leveled so the cake stays airy
- 1 cup (85g) unsweetened cocoa powder: Dutch-process or natural both work here
- 2 cups (400g) granulated sugar: gives the cake a fine, tender crumb
- 2 teaspoons baking soda: reacts with the cocoa and coffee for a good rise
- 1 teaspoon baking powder: provides a little extra lift
- 1 teaspoon fine sea salt: balances the sweetness
- 2 large eggs, at room temperature: they mix in smoothly and help the cake rise evenly
- 1 cup (240ml) full-fat coconut milk: shake the can well before measuring
- 1/2 cup (120ml) vegetable oil: any neutral oil works, like canola or sunflower
- 1 cup (240ml) hot strong brewed coffee: the heat blooms the cocoa for deeper flavor
- 1 teaspoon vanilla extract: rounds out the chocolate notes
- 1/2 cup (40g) sweetened shredded coconut: stirred right into the batter for texture
- 8 oz (226g) cream cheese, softened: full-fat brick style for the smoothest frosting
- 1/2 cup (113g) unsalted butter, softened: gives the frosting body and richness
- 3 cups (360g) powdered sugar: sweetens and thickens the frosting
- 1/4 cup (60ml) coconut cream: the thick part scooped from a chilled can of full-fat coconut milk
- Pinch of salt: tames the sweetness of the frosting
Variations and Substitutions
- Make it dairy-free: use a high-quality vegan cream cheese and vegan butter block. The frosting will still be creamy, though the texture may be a touch softer.
- Swap the coffee for hot water: you’ll lose a little depth, but the cake will still be moist and rich. Brewed black tea is another good stand-in.
- Use a different pan: this cake bakes beautifully in two 9-inch rounds for a layer cake, or in an 8-inch square pan for thicker slices. See the timing table in the tips section.
- Add toasted nuts: fold 1/2 cup chopped toasted almonds or macadamias into the batter with the coconut for extra crunch.
- Skip the frosting and dust with powdered sugar: a simple finish that keeps the cake lighter and just as lovely with coffee.
If you’re after a coconut dessert without chocolate, try my Creamy Coconut Rice Pudding.
How to Make Chocolate Coconut Cake
Step 1: Whisk the Dry Ingredients

Preheat the oven to 350°F (175°C) and grease a 9×13-inch baking pan. In a large mixing bowl, whisk together the 2 cups flour, 1 cup cocoa powder, 2 cups sugar, 2 teaspoons baking soda, 1 teaspoon baking powder, and 1 teaspoon salt until no lumps of cocoa remain.
The mixture will look like dark, sandy powder with an intense chocolate smell. Take a second to break up any small cocoa lumps with the back of the whisk so the cake bakes evenly.
Step 2: Mix in the Wet Ingredients

Crack the 2 eggs into the bowl, then pour in the 1 cup coconut milk, 1/2 cup oil, and 1 teaspoon vanilla. Slowly pour the 1 cup hot coffee over everything. Stir with a rubber spatula or whisk until the batter is smooth and glossy, scraping the bottom of the bowl to make sure no dry pockets hide there.
The batter will be thin, almost like heavy cream, and it might smell strongly of coffee at this stage. That coffee scent bakes off in the oven and leaves pure chocolate flavor behind, so don’t let it worry you.
Step 3: Fold in the Coconut

Add the 1/2 cup shredded coconut to the bowl and fold it gently through the batter with your spatula. Stop as soon as the white flecks are distributed—overmixing can make the cake tough.
You’ll see little strands of coconut suspended in the dark batter. The whole step takes only a few turns of the spatula, and the coconut will soften and sweeten as the cake bakes.
Step 4: Bake the Cake

Pour the batter into the prepared pan and smooth the top with the spatula. Slide the pan into the preheated oven and bake for 30 to 35 minutes, until a toothpick pushed into the center comes out with just a few moist crumbs.
The cake will dome slightly and the edges will barely pull away from the sides of the pan. Let it cool in the pan for 10 minutes, then transfer it to a wire rack to cool completely before you frost it.
Step 5: Whip the Frosting

While the cake cools, place the 8 oz softened cream cheese and 1/2 cup softened butter in a medium bowl. Beat them with a hand mixer on medium speed until they are completely smooth and combined, about 2 minutes. Sift in the 3 cups powdered sugar, add the 1/4 cup coconut cream, 1 teaspoon vanilla, and a pinch of salt. Beat on low until the sugar starts to incorporate, then increase the speed to medium-high and whip for 2 to 3 minutes until the frosting is light and fluffy.
The frosting should be spreadable but hold its shape on a spoon. If it feels too thick, add a teaspoon of coconut milk at a time; if too thin, beat in a little more powdered sugar. Cold cream cheese straight from the fridge will make a lumpy frosting, so give it time to soften on the counter.
Step 6: Slice and Serve

Make sure the cake is completely cool, then spread the frosting over the top in generous swoops with an offset spatula. Scatter a handful of toasted shredded coconut across the frosting if you want extra crunch and color. Slice into squares and serve.
The dark cake, white frosting, and golden coconut make a simple but beautiful contrast on a cake stand or plate. Every slice has a tender crumb that holds together cleanly.
Tips for the Best Chocolate Coconut Cake
- Use room temperature eggs and dairy: cold eggs can make the batter seize, and cold cream cheese leads to a lumpy frosting. Take them out of the fridge about an hour before you start.
- Bloom the cocoa with hot liquid: the coffee doesn’t just add moisture—it wakes up the cocoa particles and deepens the chocolate taste. Even if you use decaf, the heat matters.
- Don’t overmix the batter: stir just until the flour disappears. Overworking the gluten will give you a dense, rubbery crumb.
- Toast the coconut topping: spread shredded coconut on a dry pan and toast it over medium heat for 2 to 3 minutes, shaking often, until it turns golden and fragrant. It adds a crisp contrast to the creamy frosting.
- Cool the cake fully before frosting: even a little warmth will melt the frosting and turn it into a soupy mess. The cake needs at least an hour on a rack.
Bake times shift a little depending on the pan you choose. Here’s a quick guide to help you keep the texture right.
| Pan Shape | Pan Size | Bake Time at 350°F |
|---|---|---|
| Rectangle | 9×13-inch | 30–35 mins |
| Two rounds | 9-inch | 25–30 mins |
| Square | 8-inch | 35–40 mins |
Storing Leftover Cake
- Refrigerate: cover the frosted cake tightly and store it in the fridge for up to 5 days. Let slices sit at room temperature for about 20 minutes before serving so the frosting softens.
- Freeze unfrosted layers: wrap the cooled cake layer in plastic wrap, then foil, and freeze for up to 2 months. Thaw overnight in the fridge, then frost and top with toasted coconut fresh.
Frequently Asked Questions
Can I use light coconut milk instead of full-fat?
You can, though the cake will be a little less tender. Full-fat coconut milk gives the crumb its soft, plush texture.
Do I have to use coffee?
No, an equal amount of hot water works perfectly. The coffee only deepens the chocolate flavor—it doesn’t add any coffee taste.
How can I make the frosting dairy-free?
Swap the cream cheese and butter for good vegan block alternatives. The frosting will be slightly softer, so chill it for 15 minutes before spreading if your kitchen is warm.
Can I turn this into a layer cake?
Yes, divide the batter between two greased 9-inch round pans and bake for about 25 to 30 minutes. You’ll have enough frosting to fill and top both layers.
Why did my cake sink in the middle?
An underbaked center or opening the oven door too early can cause sinking. Bake until a toothpick comes out with moist crumbs, and resist peeking before the 25-minute mark.

Chocolate Coconut Cake Recipe
Ingredients
Method
- Preheat oven to 350°F (175°C). Grease a 9×13-inch baking pan. In a large bowl, whisk together the flour, cocoa, sugar, baking soda, baking powder, and salt.
- Add the eggs, coconut milk, oil, and vanilla to the dry ingredients. Pour in the hot coffee and stir until the batter is smooth.
- Fold in the shredded coconut just until distributed.
- Pour the batter into the prepared pan and bake for 30 to 35 minutes, until a toothpick inserted in the center comes out with a few moist crumbs. Let the cake cool completely.
- In a medium bowl, beat the cream cheese and butter until smooth. Sift in the powdered sugar, then add the coconut cream, vanilla, and salt. Beat on medium-high until fluffy.
- Spread the frosting over the cooled cake. Top with toasted coconut if you like, then slice and serve.
