This decadent Sri Lankan chocolate cake recipe will transport you to Colombo’s bustling bakeries with its rich, spiced sweetness!
Perfect for special celebrations or weekend baking adventures, this moist, fudgy masterpiece combines traditional Ceylon cinnamon and cardamom with premium cocoa for an exotic twist.

Ready in just 60 minutes, it’s surprisingly simple yet impressively authentic. My neighbor’s Sri Lankan grandmother shared this treasured family recipe after I accidentally knocked over her fence with my enthusiasm for her baking aromas – worth every awkward apology!
Recipe Information:
- Preparation time: 20 minutes
- Cooking time: 35-40 minutes
- Total time: 1 hour
- Serving: 12 generous slices
Ingredients You’ll Need

For the Cake:
- 2 cups (240g) all-purpose flour
- 1¾ cups (350g) granulated sugar
- ¾ cup (75g) unsweetened cocoa powder
- 2 teaspoons baking soda
- 1 teaspoon baking powder
- 1 teaspoon salt
- ½ teaspoon ground cinnamon
- ¼ teaspoon ground cardamom
- 1 cup (240ml) coconut milk (full-fat works best!)
- ½ cup (120ml) vegetable oil
- 2 large eggs
- 1 teaspoon vanilla extract
- 1 cup (240ml) hot coffee (don’t worry – you won’t taste it!)
For the Coconut Chocolate Frosting:
- ½ cup (115g) butter, softened
- ¼ cup (25g) cocoa powder
- 3 cups (360g) powdered sugar
- ¼ cup (60ml) coconut milk
- 1 teaspoon vanilla extract
- ½ cup (40g) shredded coconut (optional, for decoration)
Tools and Equipment
You don’t need fancy gadgets for this beauty! Here’s what you’ll use:
- 9×13 inch baking pan (or two 9-inch round pans)
- Large mixing bowl
- Electric mixer (hand or stand mixer, both work)
- Measuring cups and spoons
- Wire cooling rack
- Rubber spatula
- Fine-mesh sieve (for dusting cocoa powder)
Preparation: Getting Ready to Make
First things first: Preheat your oven to 350°F (175°C). Trust me, you don’t want to forget this step when you’re ready to bake!
Grease your pan with butter or cooking spray, then dust with cocoa powder instead of flour. This little trick prevents white flour marks on your beautiful dark cake.
Brew that coffee and let it cool slightly. The hot coffee enhances the chocolate flavor – it’s like magic for your taste buds!
Step-by-Step Instructions
Step 1: Mix the Dry Ingredients. Whisk together flour, sugar, cocoa powder, baking soda, baking powder, salt, cinnamon, and cardamom in your large bowl. Please stir it to eliminate any lumps.
Step 2: Combine Wet Ingredients. In a separate bowl, whisk together coconut milk, oil, eggs, and vanilla until smooth. The coconut milk might look a bit thick—that’s perfectly normal!
Step 3: Bring It All Together Pour the wet ingredients into the dry ingredients. Mix gently until just combined. Don’t overmix – a few lumps are okay.
Step 4: Add the Coffee. Slowly pour the hot coffee while stirring. Your batter will look thin, which creates that incredibly moist texture we’re after!
Step 5: Bake to Perfection Pour into your prepared pan and bake for 35-40 minutes. The kitchen will smell divine!
How to Know When It’s Done
Your cake is ready when a toothpick inserted in the center comes out with just a few moist crumbs, not wet batter, but not completely clean. That’s the sweet spot for perfect moisture!
The cake should also spring back lightly when you gently press the center. If it leaves an indent, give it a few more minutes.
Tips for the Perfect Sri Lankan Chocolate Cake
- Room temperature ingredients mix better and create a smoother batter
- Don’t skip the coffee – it makes chocolate taste more chocolatey without adding coffee flavor
- Full-fat coconut milk gives the richest results (the light stuff just won’t cut it here!)
- Cool completely before frosting – patience pays off with picture-perfect results.
- Store covered for up to 3 days, and it tastes even better the next day!
Common Mistakes to Avoid
Overmixing the batter is the 1 cake killer. Mix just until ingredients are combined – lumps are your friend here!
Opening the oven door too early can cause your cake to sink. Wait at least 25 minutes before taking a peek.
Skipping the pan preparation might leave you with a stuck cake. Nobody wants that heartbreak!
Using cold ingredients can result in a dense cake. Let everything come to room temperature first.
Nutrition Facts
Per slice (1/12 of cake with frosting):
- Calories: 420
- Fat: 16g
- Carbohydrates: 68g
- Protein: 5g
- Fiber: 3g
- Sugar: 58g
The coconut milk adds healthy fats and gives you that tropical taste without excess calories!
Serving Suggestions
This cake is perfect on its own, but here are some ways to make it extra special:
- Serve with fresh berries – the tartness balances the rich chocolate beautifully
- Add a scoop of vanilla ice cream for the ultimate comfort dessert
- Dust with toasted coconut flakes for extra tropical vibes
- Pair with Ceylon tea (Sri Lankan black tea) for an authentic experience
- Drizzle with caramel sauce if you’re feeling extra indulgent
Pro tip: This cake tastes better as the flavors meld together the next day. If you can resist eating it all at once, wrap it well and enjoy it tomorrow!


