My Love Of Baking

Takes home baking to a whole new level.

HomeAll RecipesWorkshopsMy StoryContact
All RecipesBonus RecipesMy StoryWorkshopsContactDisclosures
My Love Of Baking

Takes home baking to a whole new level.

FacebookPinterestInstagramYouTube
© 2026 My Love of Baking. All rights reserved.
  1. Home›
  2. Recipes›
  3. Cakes›
  4. My Favorite Chocolate cake

My Favorite Chocolate cake

August 31, 2021Prep: 15minCook: 30minServes: 16 (1 slice)
Jump to RecipeJump to Comments
IMG 2587

I've made all sorts of chocolate cakes over the past 15 years or so as a baker, a pastry chef & a home baker. I have absolutely loved each and every one of them, but this cake from my childhood tops the list to this date!

This is a simple chocolate cake that you can make with pantry staples but it is so nostalgic to me. This is one of the two cakes I learnt to bake as a little girl alongside my Mom. A good butter cake and this chocolate cake were two things we never missed to bake during the New Year (Sri Lankan New Year falls in mid April). Though cake is not very traditional over there, these light and moist treats were much loved amongst many other overly sweet, oily, deep fried sugary sweets.

The main difference of this cake batter is that it uses margarine and NOT butter as the fat. I have made this same cake using butter later on but it never turned out the way I remembered. Margarine mostly is made with vegetable oil and will make cakes extra moist (have you made Olive oil cakes? then you know). Also it gives a unique taste (different to that of butter). This unique flavor is so nostalgic to us Sri Lankans that we refer this as "Sri Lankan Chocolate Cake".

chocolate cake

Also back in the days we used a Sri Lankan cocoa powder, Kandos, made using single origin cocoa grown on the island. The cocoa is grown as an underplanting in coconut and rubber plantations and is not considered a major export, so it may not be commonly available in international markets.

If you want to replicate the exact version, you cab buy this specific cocoa powder from an online store or from an Asian grocer. But any Dutch processed cocoa powder works great for this cake!

Frost or not to frost?

I honestly prefer the non-frosted version of this cake. It is moist, light and sort of melts in your mouth, so for me this is just perfect as it is. But my husband loves the addition of chocolate buttercream. And I know that a lot of people that I know love a bit of extra sweetness on this cake. So it is up to you.

We never frosted this cake when we made it in the new Year season, there were already enough sweet stuff flowing around. But if you are making this cake for a celebration (this makes a great birthday cake!) then a light coating of chocolaty frosting is a must!

chocolate cake

I use butter to make the frosting and not margarine. Butter gives the best tasting frosting and unlike cake, margarine doesn't play a roll in the frosting. So use good quality salted butter. I also add extra salt to balance the sweetness. It is up to you though! If you like to really bring out the intense cocoa flavor, add a splash of espresso to the frosting.

You don't have to use my frosting for this cake, any cake frosting will do! Even vanilla buttercream, Italian meringue buttercream or mocha buttercream will marry perfectly with this cake.

Gather the ingredients and follow these simple steps!

ingredients

Make sure all the ingredients are at room temperature. I used Imperial Margarine but any vegetable butter should work. Avoid olive oil spreads as they can be too strong.

I'm using vanilla extract as that's what I used originally. If you have vanilla bean paste, feel free to use that.

Use good quality sea salt, that's what we used

My eggs weighed about 45g. If you have got large eggs (>55g) use 4.

sifted flour
Very important!

Sifting the dry ingredients is crucial to get that light crumb. So do not skip this step. Simply combine flour, cocoa, baking powder, salt and sift using a fine mesh for about 4-5 times.

Repeated sifting will ensure that everything is evenly mixed and that there are no lumps. It also aerate the flour mix making the batter light and fluffy. This may sound wired but later at bakery school I learnt that this is true!

beat fat and sugar

To this fluffy mixture, add one egg at a time and beat at a moderate speed until the egg disappears before adding another.

If the mixture curdles, add a teaspoon of the flour mixture and continue to beat until smooth.

Important as well!

Beating the fat and the sugar until light, pale and fluffy. Having all ingredients at room temperature (soft margarine) helps achieve this faster.

Also if your sugar is in large crystal form, consider blitzing it in a food processor/grinder to a much finer granule. Super fine caster sugar is the best. Fine sugar will dissolve faster and fluff up easily.

batter

Once all the eggs are added, it's time to fold in the flour. Add flour and milk alternatively. Use a big spoon to add flour to the mixture and beat the lowest speed, then add a splash of milk. For best results fold by hand. Video below!

The final batter should be luscious, smooth, voluminous and not too thick.

Continue until all the flour is added. Always try to end with flour and not milk. That way you can ensure the batter is well emulsified and not too runny. Milk will help loosen the batter, so if you don't have to use all of it, it's fine.

Batter curdled/separated?

If this happens, likely one of the ingredients were either too warm or too cold. Another reason could be that you mixed the batter a little too hard or a little too long.

A little trick is to refrigerate the batter with the bowl for 10 minutes and add a tablespoon of extra flour and beat on high for 3-4 seconds to bring back the smooth texture.

Take a look at the folding technique below. Mater this and your batter will be perfect every time.

Folding technique

Fold flour by hand using the mechanism shown in the video. Fold and cut through! This is the best way to incorporate flour to a batter without splitting the mixture.

This will also incorporate some air to the batter making it light and fluffy. This helps in achieving the supper light crumb.

light and moist crumb
light and moist crumb
deposit the batter

Deposit the batter into prepared pans. I'm using two 8 inch round cake pans. This batter fits a 9 by 9 brownie pan too.

You can also bake this batter in 5 individual 6 inch cake pans too. The baking time may vary depending on the pan you use.Once the batter is distributed, tap the trays on a table several times to release any trapped air pockets.

bake

Bake in a preheated moderate oven (175 °C/ 350 °F) for about 25 minutes.9" pans - 30-40 minutes6" pans - about 15 minutes

Test with a cake tester. If the tester comes out clean, the cake is done. Remove and leave to cool completely.

9 inch pans

sugar syrup

To keep the cakes moist for longer, I brush the tops with a simple syrup while the cakes are still hot.

Bring 1 part sugar : 1 part water to a boil and simmer for a minute until sugar dissolves and syrup is slightly thickened

Frosting

Frosting is optional for this cake! It is usually served with tea (milk tea) and this light cake slides down easily. A little frosting can make this cake celebration ready though!

frosting

To make the frosting simply whisk butter until pale and fluffy, add the sifted icing sugar and cocoa powder and beat until incorporated. Use whisk attachment and beat on high for a 2 minutes to make it fluffier.

Feel free to adjust the amount of cocoa/sugar to your taste. A pinch of salt will help dial down the sweetness a notch!

frost the cake

Once the cakes are fully cooled, frost them however you fancy!Use any frosting you like. eg: Cream cheese frosting, Swiss butter cream, chocolate ganache, whipped ganache

IMG_2526-683x1024.jpg

Shop the Ingredients

As an Amazon Associate I earn from qualifying purchases.

  • Amazon product

    Amazon product

    Shop on Amazon
Recipe
IMG 2587

My Favorite Chocolate cake

Prep 15 minCook 30 minServes 16 (1 slice)

Ingredients

Method

  1. 1

    Preheat the oven to 350°F and place a rack in the center

  2. 2

    Line baking pans with parchment and spray the sides. I have used two 8" round cake pans in this post. You can use a 9" by 9" heavy cake/brownie pan to make a slab or even 5 individual 6" cake pans to make a tiered cake

  3. 3

    Make sure all ingredients are room temperature

  4. 4

    Sift flour, baking powder, salt and cocoa powder several times and set aside

  5. 5

    Using a mixer, beat margarine and sugar until light and fluffy. Scrape down the bowl several times

  6. 6

    Once done add one egg at a time and beat until cleared before adding another

  7. 7

    Once all the eggs are added, slowly fold in the flour. Either use hand folding technique or use the lowest speed in the stand mixer

  8. 8

    Add milk and flour alternating each other. Milk will help loosen the batter so you can easily fold in flour

  9. 9

    Do not over mix the batter. Once all the flour is added, scrape down the sides and bottom of the bowl to ensure everything is mixed and no lumps or dry flour is left

  10. 10

    Drop the batter to prepared pans, smooth the surface

  11. 11

    Tap the pans on a table a few times to release any trapped air pockets

  12. 12

    Place in the preheated oven and bake until done

  13. 13

    When a tester inserted in the center comes out clean the cakes are done. Baking times vary depending on the pan size. Sheet pan may take 30-40 minutes, 8" pans about 20-25 minutes and 6" about 15 minutes

  14. 14

    Remove the baked cakes from the oven, set on a wire rack to cool

  15. 15

    When cool enough to handle, demold and set on wire rack to cool completely

  16. 16

    Cooled cakes can be stored in an airtight container at room temperature for up to two days or longer in fridge. Wrap and freeze to keep for several weeks

  17. 17

    To make the frosting, beat butter until light, pale and fluffy

  18. 18

    Add sifted powdered sugar and cocoa powder a little at a time and continue to beat

  19. 19

    Add a splash of milk or coffee to loosen up

  20. 20

    Use a whisk attachment towards the end to fluff up the frosting

  21. 21

    Frost the cooled cake as desired

  22. 22

    Use any other frosting of your choice to frost this cake

birthday cakecakechocolatechocolate cakedessertsri lankan

Never Miss a Recipe

Get new recipes straight to your inbox.

Share this recipe
Vindi

Hello, I'm Vindi

Baker, culinary instructor and reformed software engineer. Welcome to my kitchen in Seattle, where I share the recipes my family loves.

Read My Story →
FacebookPinterestInstagramYouTube

You might also like

IMG 1222 1
BreadDesserts

Cranberry Jam & Orange Marzipan Holiday Bread

Nov 25, 2024Continue Reading →
IMG 9714 scaled
BreakfastBunsDesserts

Cinnamon Rolls (using instant Yeast)

Jun 19, 2023Continue Reading →
IMG 8892
BreadCakesSourdough

Traditional Panettone

Dec 17, 2022Continue Reading →

Comments

Loading comments…

Leave a comment