This post may contain affiliate links. Please read our disclosure policy.

This homemade chocolate cake recipe is rich, moist, and incredibly easy to make. If you’ve ever wondered how to make homemade chocolate cake without a box mix, this classic layer cake delivers bakery-quality results using simple pantry ingredients.

Looking for an easy chocolate cake made with cake mix? Try my copycat Portillo’s chocolate cake with homemade chocolate frosting, which upgrades a box of cake mix by adding mayo for delicious results.

Slice of homemade two layer chocolate cake with chocolate frosting.

Why you’ll love this chocolate cake recipe from scratch!

Okay, don’t get me wrong—I love upgrading boxed cake mix to make desserts. But sometimes you want to make a cake from scratch!

I was recently snowed in without a box of cake mix in sight, but luckily I had all the ingredients I needed to make a homemade recipe without cake mix. It was so good, it made me wish we were snowed in more often! (This Wacky Cake is another recipe great for days when you’re stuck inside, as is this Texas Sheet Cake recipe.)

  • Deep chocolate flavor: Cocoa powder gives the cake rich chocolate taste.
  • Super moist texture: Boiling water helps create a soft, tender crumb.
  • Simple pantry ingredients: No special ingredients required.
  • Perfect layer cake: Bakes beautifully in two 9-inch pans.
  • Great for any occasion: Birthdays, holidays, or just because.

Ingredients You Need

Ingredients for homemade chocolate cake recipe, including flour, cocoa, baking powder and soda, eggs, oil, boiling water, vanilla, milk, sugar, butter, milk, powdered sugar, salt.

See recipe card below this post for ingredient quantities and full instructions.

  • Sugar – Sweetens the cake and balances the cocoa.
  • All-purpose flour – If you’d like to make a gluten-free chocolate cake, simply swap in a cup-for-cup all-purpose flour substitute.
  • Cocoa – Don’t use cocoa mix, which has sugar in it. You want to use either natural unsweetened cocoa powder or Dutch process cocoa powder.
  • Baking powder, baking soda, and salt – Standard dry ingredients for a cake recipe.
  • Eggs – Let the eggs come to room temperature before you start baking. This will make for a lighter, fluffier cake!
  • Milk – Adds moisture and tenderness.
  • Vegetable oil – Or canola oil.
  • Vanilla extract – Adds warmth and depth of flavor.
  • Boiling water – Helps dissolve the cocoa and creates a smooth batter.

How to Make Homemade Chocolate Cake

Dry ingredients for chocolate cake in bowl with whisk.
  1. Mix the Dry Ingredients: In a large mixing bowl, sift together the sugar, flour, cocoa, baking powder, baking soda, and salt.
Homemade chocolate cake batter in bowl.
  1. Add the Wet Ingredients: Add the eggs, milk, oil and vanilla to the bowl with the dry ingredients; beat with a mixer on medium speed for 2 minutes. Stir in the boiling water. The cake batter will be thin, but don’t worry—it’s fine!
Homemade chocolate cake baked in round pan.
  1. Bake: Pour the batter into the prepared pans and bake for 30 to 35 minutes, or until a wooden toothpick inserted into center comes out clean. 
Whisk in bowl of chocolate frosting.
  1. Finish: Cool the cakes in the pans on wire racks for 10 minutes, then carefully remove the cakes from pans and let them finish cooling directly on the racks. Make the frosting, layer, and decorate as desired. Then serve! (Here’s the best way to cut round cakes.)
Slice of homemade chocolate cake being cut.

Decorating Ideas

This homemade chocolate cake recipe is incredibly versatile when it comes to decorating.

  • Top with chocolate buttercream frosting or Cream Cheese Frosting.
  • Add chocolate chips or chocolate curls around the sides.
  • Decorate with fresh berries for a simple, elegant look.
  • Add colorful sprinkles for birthdays.

How to Store

  • Room temperature: Store the cake covered for up to 24 hours.
  • Refrigerator: Keep refrigerated in an airtight container for 4–5 days.
  • Freezer: Chocolate cake freezes well for up to 3 months. Thaw at room temperature before serving.

Frequently Asked Questions

What does boiling water do in chocolate cake batter?

Boiling water helps dissolve the cocoa powder and creates a smoother batter, resulting in a softer and more tender cake.

Can I make this chocolate cake gluten-free?

Yes. Substitute the all-purpose flour with a cup-for-cup gluten-free flour blend designed for baking.

Can I add chocolate chips to the batter?

Yes. A small handful of mini chocolate chips adds extra richness and texture.

How do you know when chocolate cake is done baking?

Insert a toothpick into the center of the cake. If it comes out clean or with a few crumbs, the cake is ready.

More Chocolate Cake Recipes You’ll Love

💌 Love easy recipes? Join my newsletter and get my Top 10 Reader-Favorite Recipes eBook FREE! Sign up here.

Need help with this recipe?
Click the buttons below to summarize it, adjust for diets, swap ingredients, or ask your own questions!

Homemade Chocolate Cake Recipe

This homemade chocolate cake recipe is rich, moist, and easy to make from scratch with everyday ingredients you already have on hand!
4.67 from 9 votes
Course: Dessert
Cuisine: American
Servings: 8
Prep Time: 20 minutes
Cook Time: 30 minutes
Total Time: 50 minutes

Ingredients  

  • 2 cups sugar
  • 1 3/4 cups all-purpose flour
  • 3/4 cup cocoa
  • 1 1/2 tsps baking powder
  • 1 1/2 tsps baking soda
  • 1 tsp salt
  • 2 eggs
  • 1 cup milk
  • 1/2 cup vegetable oil
  • 2 tsps vanilla extract
  • 1 cup boiling water

Chocolate Frosting

Instructions 

  • Heat oven to 350°F. Grease and flour two 9-inch round baking pans.
  • In a large bowl, sift together sugar, flour, cocoa, baking powder, baking soda and salt.
    2 cups sugar, 1 3/4 cups all-purpose flour, 3/4 cup cocoa, 1 1/2 tsps baking powder, 1 1/2 tsps baking soda, 1 tsp salt
  • Add eggs, milk, oil and vanilla; beat on medium speed of mixer 2 minutes.
    2 eggs, 1 cup milk, 1/2 cup vegetable oil, 2 tsps vanilla extract
  • Stir in boiling water (batter will be thin). Pour batter into prepared pans.
    1 cup boiling water
  • Bake 30 to 35 minutes or until wooden pick inserted in center comes out clean.
  • Cool 10 minutes; remove from pans to wire racks. Cool completely before frosting.
    homemade chocolate frosting

Notes

  • Use room temperature eggs for best texture.
  • Sift cocoa powder to prevent lumps.
  • Let cake layers cool completely before frosting.
  • Use a serrated knife to cut clean slices.

Nutrition

Calories: 349kcal | Carbohydrates: 78g | Protein: 7g | Fat: 3g | Saturated Fat: 2g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 1g | Trans Fat: 1g | Cholesterol: 44mg | Sodium: 528mg | Potassium: 286mg | Fiber: 3g | Sugar: 52g | Vitamin A: 109IU | Calcium: 88mg | Iron: 3mg
Did you make this recipe?Mention @kasey_allthingsmamma or tag #allthingsmamma!

Categories: , ,

About Kasey Schwartz

For over 15 years, Kasey Schwartz, the mastermind behind All Things Mamma, has been the ultimate go-to for mouthwatering family recipes. Her work has been featured on Today.com, Buzz Feed, Better Homes and Gardens, and more, making her your go-to mom next door for all things delicious and family-friendly.

Comments

  1. Kimmy says:

    I’m hoping that baking this cake in a bundt pan won’t upset the outcome , or myself … what do you think? Also I’m not understanding the purpose of a cup of boiling water added to the beaten mixture .Enlighten me if you would. Thank you so much Kasey. ✌️ peace

  2. Norma says:

    Hi
    I am going to try this recipe since I cannot find Duncan Hines Swiss Chocolate cake mix anymore. I am a little confused by the measurements listed. When you say 1 – 1/2 tsps of baking powder do you mean 1 1/2 tsps or 1/2 tsp? It will make a difference in the cake. Also, i need to use a 9X13 pan. Should I double the recipe? Thank you.

    1. Shyanne - ATM Team says:

      Hi Norma! Sorry for any confusion. We have updated the recipe card to make it clearer. You should be able to use the same amount of ingredients. We hope you enjoy!

  3. Krystina Gaddis says:

    3 stars
    I have been wanting to make this cake for my moms birthday but you didn’t put any measurements of the ingredients so I have no idea how much if everything I’m supposed to put.

    1. Karen Watkins-Smith says:

      Were you able to find the measurements they were listed in there

  4. Brandy says:

    5 stars
    Fantastic recipe, I cannot wait to try it.

    1. Chef Jerrieann says:

      5 stars
      Excellent very Yummy! I will make it again, for sure.

4.67 from 9 votes (6 ratings without comment)

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.