clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
The best chocolate cake recipe

The Best Chocolate Cake Recipe

  • Author: nags
  • Prep Time: 15 minutes
  • Cook Time: 35 minutes
  • Total Time: 50 minutes
  • Yield: One 9 inch cake 1x
  • Category: Cake
  • Method: Baking
  • Cuisine: International


This recipe is truly the best chocolate cake recipe ever – perfect for birthdays, lunch boxes, or just to bake on a day you feel like eating some chocolate cake. 

This recipe makes one 9″ cake. To make a layered cake, simply double or triple the recipe


  • 1 cup flour
  • 1 cup sugar
  • 1/3 cup cocoa powder
  • 1 teaspoon baking powder
  • 3/4 teaspoon baking soda
  • 1/4 teaspoon salt
  • 1/2 teaspoon coffee powder
  • 1/2 cup milk (can substitute with nut milk, rice milk, etc)
  • 1/4 cup oil (I normally use olive oil but vegetable oil works well too)
  • 1 egg
  • 1 teaspoon vanilla extract
  • 1/2 cup boiling water


  1. Pre-heat oven to 180C / 350F
  2. Grease a 9″ cake pan with oil and set aside
  3. Mix together the dry ingredients – flour, cocoa, salt, baking powder, baking soda, coffee powder, and sugar until well combined
  4. Add oil, egg, vanilla, and milk to this and stir well to combine without any lumps
  5. Add boiling water to this batter and mix well
  6. The batter will be very runny and this is perfect
  7. Pour into the baking pan and bake in pre-heated oven for 30-35 minutes
  8. Let cool completely before frosting as needed


  • This chocolate cake recipe is very forgiving and I have tried it with many substitutes, all with good results
  • Instead of milk try – almond milk, rice milk, oat milk, buttermilk, coconut milk
  • Instead olive oil try – vegetable oil, canola oil, coconut oil
  • I have used 50-50 wheat flour and plain flour with good results. I have also tried Bob’s red mill gluten free flour as a direct substitute to the plain flour. The cake turned out more crumbly but still delicious and a good option if you are avoiding gluten
  • In the picture above, I have used a simple chocolate cream cheese frosting with sprinkles on top
  • To make Chocolate Cream Cheese Frosting – Beat together 150 grams softened cream cheese with half cup softened butter, 2 cups sugar, a pinch of salt and a few drops of vanilla. You can adjust the ingredients as you make it. Add milk if too hard and more sugar if too soft. Slather on the cooled cake and serve!

Keywords: chocolate cake recipe