• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Toasty Kitchen

  • Home
  • Recipe Index
  • Subscribe
  • About
  • FAQ
menu icon
go to homepage
  • Home
  • Recipes
  • Subscribe
  • About
  • FAQ

subscribe
search icon
Homepage link
  • Home
  • Recipes
  • Subscribe
  • About
  • FAQ

×
Home » Recipes » Cakes

Homemade Chocolate Cupcakes

Modified: Jun 26, 2025 · Published: Jun 7, 2018 by Heather · As an Amazon Associate I earn from qualifying purchases. · 1512 words. · About 8 minutes to read this article.

Jump to Recipe Jump to Video
Homemade Chocolate Cupcakes by The Toasty Kitchen
Homemade Chocolate Cupcakes by The Toasty Kitchen
Homemade Chocolate Cupcakes by The Toasty Kitchen

Homemade chocolate cupcakes are easier than you think to whip up from scratch. These cupcakes are soft, moist, and topped with a velvety chocolate buttercream frosting.

A bite taken out of a chocolate cupcake.

Recipe summary

Flavor/texture: Moist chocolate cupcakes are topped with rich, velvety chocolate buttercream frosting. A classic chocolate cupcake!

Easy to make: The batter is made with two bowls and a spoon, and the frosting whips up quickly while your cupcakes cool.

Yield: 18 cupcakes

Similar to: Chocolate Sheet Cake and Chocolate Layer Cake

Jump to:
  • Recipe summary
  • Ingredients and substitutions
  • How to make chocolate cupcakes
  • Tips and tricks
  • Frequently asked questions
  • Troubleshooting
  • Recommended
  • 📖 Recipe
  • Comments

Ingredients and substitutions

Ingredients to make cupcakes.
  • Wet ingredients - Buttermilk, granulated sugar, oil, eggs, and vanilla add moisture and flavor to your cupcakes. Reducing or omitting any of these ingredients will result in a dry cupcake. Don't have buttermilk? Add 1.5 teaspoons of white vinegar to a liquid measuring cup, then fill to the ½ cup line with whole milk and wait 5 minutes.
  • Dry ingredients - All-purpose flour, cocoa powder, baking soda, baking powder, and salt balance with the wet ingredients and help your cupcakes rise in the oven.
  • Cocoa powder - This recipe is made with natural cocoa powder. Dutch cocoa powder does not work as a substitute because it's less acidic and won't react in the same way. If you decide to use Dutch cocoa anyway, your cupcakes will rise less in the oven and have a darker, milder flavor.

How to make chocolate cupcakes

Mixing chocolate cupcake batter in a glass bowl.
  1. Whisk dry ingredients in a bowl and set aside.
  2. Mix wet ingredients in a separate bowl.
  3. Add dry ingredients, half at a time, to the wet ingredients and stir to combine.
  4. Use a large cupcake scoop for easy batter portioning.
Baking chocolate cupcakes in a cupcake pan and topping with buttercream frosting.
  1. Portion batter between 18 cupcake liners.
  2. Bake until the centers pop back when gently pressed.
  3. While your cupcakes cool, prepare the frosting with a hand mixer.
  4. Pipe frosting onto cooled cupcakes and serve.

Heather's Top Tip

For accurate results every time, use a kitchen scale to measure flour by weight. If you don't have a kitchen scale, use the spoon and level method. Stir the flour (especially if it's been packed down in a bag/container), then gently spoon into the measuring cup, leveling off the top with a knife. Scooping with a measuring cup compacts flour into the cup and adds up to 25% extra to the recipe, resulting in dry, bland baked goods.

Tips and tricks

Bring ingredients to room temperature - Room temperature buttermilk and eggs blend seamlessly with the other ingredients to create a smooth, even batter.

Don't overmix the batter - All you need is a bowl and a spoon to mix your batter today. Only mix your batter until the ingredients are incorporated. Overmixing your batter can whip extra air in, causing your cupcakes to rise quickly and then fall in the center when they bake.

Allow cupcakes to cool - Do not unwrap your chocolate cupcakes while they're still warm. Your cupcakes will stick to the liners until they are fully cooled throughout. Once cooled, your cupcakes will easily unwrap.

Do not frost warm cupcakes - Buttercream is sensitive to heat and will melt between 90 to 95 degrees Fahrenheit. Instead, allow cupcakes to cool completely before frosting.

Testing for doneness - I use these three methods every time I bake a cake.

  • Thermometer - Use an instant read thermometer to test for doneness. Cake is done when it reaches 210 degrees Fahrenheit in the center.
  • Jiggle test - Gently jiggle the pan. Is your cake still jiggly and liquid in the middle? It needs more time.
  • Spring back - Gently press the top of your cake. If it springs right back, your cake is done. If it leaves an indent, it needs more time.
Chocolate cupcakes sitting on a white counter top.

Frequently asked questions

How can I bring my ingredients to room temperature quickly?

To bring eggs to room temperature quickly, place whole eggs in a bowl of warm water for ten minutes. Buttermilk can be microwaved in 10 to 15 second increments, stirring in between, until room temperature. Take care not to bring milk to a warm or hot temperature. Hot ingredients can ruin the texture of the batter, causing cupcakes to turn out dense when baked.

Can I use less sugar to make the frosting less sweet? I don't like buttercream frosting.

Buttercream frosting is made with two main ingredients: confectioner's sugar and butter. It's popular because it's easy to prepare with minimal ingredients. However, because it's mainly made of sugar, it's very sweet. Unfortunately, making it with less sugar means it will begin to taste like butter, the other main ingredient. Instead, I highly recommend making a frosting that's already written to include less sugar, like ermine frosting. You could also add a dollop of whipped cream instead.

What tips do you use to decorate your cupcakes?

For years I've used this simple Wilton cupcake decorating kit (Amazon) to decorate my cupcakes. It comes with four piping tips, bags, and easy to read instructions. I also purchased this additional coupler (Amazon) to make it easy to secure the piping tips and to change out tips halfway through decorating.

Can I make a layer cake from this recipe?

Yes, with adjustments. Follow my recipes for Chocolate Layer Cake or Chocolate Sheet Cake, which use the same recipe adjusted for larger pan sizes.

Why can't I use Dutch cocoa in this recipe?

The reason natural cocoa powder can't be substituted with Dutch process cocoa powder is because they have different levels of acidity. Each type works differently with the rest of the ingredients in the recipe. I have formulated this recipe to work with natural cocoa powder, so this is the type of cocoa you will need. If you only have Dutch process cocoa powder on hand, I suggest searching for a Dutch process cupcake recipe so that you can guarantee your cupcakes will turn out properly.

Troubleshooting

Why did my cupcakes turn out dense?

Cupcake can turn out dense from expired leavening, overmixing the wet and dry ingredients (this overworks the gluten) or adding extra wet ingredients (like adding sour cream or applesauce to make cupcakes "extra moist"). If the balance of wet and dry ingredients is off, this can cause a change in texture, preventing your cupcakes from rising properly in the oven.

Why did my cupcakes sink in the middle?

Sinking can happen for many reasons. Overmixing the batter (which adds extra air that's released during baking), underbaking, using expired leavening, using the wrong leavening, or accidentally doubling the leavening can all cause your cupcakes to sink in the middle.

Why are my cupcakes sticky on top?

This can be caused by humidity in your home or storing cupcakes in a sealed container while they're still warm. This can't really be fixed, but can easily be covered with frosting.

Why did my cupcakes turn out dry? I followed the recipe exactly.

Baked goods can turn out dry for a few reasons:
- Baking too long.
- Adding too many dry ingredients.
- Adding too few wet ingredients.
- Butter-based cake is refrigerated (it feels dry when chilled, but softens when it comes back to room temperature).
It's important to follow the recipe exactly, including the measurements and exact ingredients listed. I recommend using an instant-read thermometer to make sure your cake doesn't get overbaked in the oven.

Recommended

  • Chocolate Sheet Cake
  • A chocolate Oreo icebox cake with one square missing.
    Chocolate Oreo Icebox Cake
  • A white bowl filled with chocolate frosting, with a red spatula balanced across the top.
    Whipped Chocolate Buttercream Frosting
  • Chocolate buttercream frosting swirled in a glass bowl.
    Chocolate Buttercream Frosting

📖 Recipe

A chocolate cupcake topped with piped chocolate frosting.
Pin Print Rate
4.78 from 31 reviews

Homemade Chocolate Cupcakes

Homemade chocolate cupcakes are easier than you think to whip up from scratch. These cupcakes are soft, moist, filled with chocolate flavor, and topped with a velvety chocolate buttercream frosting.
Prep Time15 minutes minutes
Cook Time18 minutes minutes
Total Time33 minutes minutes
Servings: 18 cupcakes
Calories: 367kcal
Author: Heather

Ingredients

Chocolate Cupcakes

  • 1 cup (120 g) all-purpose flour
  • ½ cup (42 g) natural cocoa powder, (NOT dutch process)
  • 1 teaspoon baking soda
  • ½ teaspoon baking powder
  • ¼ teaspoon salt
  • 1 cup (198 g) granulated sugar
  • 2 large eggs
  • ½ cup (113 g) buttermilk
  • ½ cup (113 g) warm water
  • ¼ cup (50 g) vegetable oil
  • 1 teaspoon vanilla extract

Chocolate Buttercream Frosting

  • 1.5 cups (339 g) unsalted butter, room temperature
  • 4 cups (454 g) confectioner's sugar
  • 6 tablespoons (32 g) cocoa powder
  • 1 teaspoon vanilla extract
  • ¼ cup (57 g) heavy cream, or milk
Prevent your screen from going dark

Instructions

Chocolate Cupcakes

  • Preheat oven to 325℉. Line a cupcake pan with liners and set aside.
  • To a large bowl add your dry ingredients : flour, cocoa powder, baking soda, baking powder, and salt. Whisk to remove clumps and set aside.
  • In a separate bowl, add your wet ingredients: granulated sugar, eggs, buttermilk, warm water, vegetable oil, and vanilla extract. Stir until combined.
  • Add half of the dry ingredients to the wet ingredients and stir until just combined. Add remaining dry ingredients and mix until just combined. 
  • Divide cupcake batter between 18 cupcake liners, filling about halfway full. Bake in preheated oven for about 18-20 minutes, or until cupcakes pop back when gently pressed in the center. If an indent is left, your cupcakes need more time.
  • Remove pan from oven and allow to cool for 5 minutes before transferring cupcakes to a wire rack to finish cooling.

Chocolate buttercream frosting

  • To a large bowl add your butter. Using a hand mixer or stand mixer, beat until creamy and smooth, about a minute. Add confectioner's sugar 1 cup at a time until incorporated. Add cocoa powder and mix until incorporated. Add vanilla extract and heavy cream and whip at high speed until light and fluffy, about 2 to 3 minutes.
  • Pipe or spread frosting with a knife onto cupcakes and serve.

Equipment Recommendations

  • 24-Cupcake/Muffin Pan
  • Brown Cupcake Liners
  • Kitchenaid Hand Mixer
  • Nicewell Digital Kitchen Scale

Notes

  • Serve fresh: Cupcakes are best served the same day of baking, but will remain moist for 3-4 days when covered in a sealed container at room temperature.
  • Frosting yield: Amount of frosting is enough to frost generously with a knife or to pipe tall frosting (as shown in the photos). For a thin layer of frosting, I recommend cutting the frosting recipe in half.
  • More tips: Be sure to check out my 10 tips for baking cake, based on reader comments and questions!

Nutrition Estimate

Serving: 1cupcake | Calories: 367kcal | Carbohydrates: 46g | Protein: 3g | Fat: 21g | Saturated Fat: 14g | Cholesterol: 64mg | Sodium: 112mg | Potassium: 103mg | Fiber: 2g | Sugar: 38g | Vitamin A: 559IU | Calcium: 28mg | Iron: 1mg
Course: Dessert
Cuisine: American

More Cakes

  • A slice of apple fritter cake on a small plate.
    Apple Fritter Cake
  • A slice of peach cake dusted with confectioner's sugar.
    Peach Cake
  • A slice of sheet cake with layered topping on a small plate with a fork.
    Berry Chantilly Sheet Cake
  • A slice of coffee cake on a plate.
    Lemon Coffee Cake

Share this post:

Reader Interactions

Comments

    4.78 from 31 votes (30 ratings without comment)

    Leave a Reply Cancel 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.

  1. Lisa

    June 24, 2022 at 12:46 pm

    can i use coconut oil rather than vegetable oil?
    Thanks

    Reply
    • Heather

      June 24, 2022 at 12:55 pm

      Yes, vegetable oil can be substituted with melted coconut oil.

      Reply
    • Steph

      March 25, 2025 at 6:10 pm

      Can I substitute coffee for the warm water?

      Reply
      • Heather

        March 26, 2025 at 8:58 am

        Yes, the water can be substituted with coffee for a more intense flavor.

        Reply
  2. Monika

    April 12, 2022 at 10:16 am

    Can you freeze these cupcakes and your white ones?

    Reply
    • Heather

      April 12, 2022 at 12:48 pm

      Yes, these cupcakes and the white cupcakes can all be frozen!

      Reply
  3. Linda

    September 04, 2021 at 5:11 am

    I made these and they were so moist and chocolatey.
    I adjusted the frosting amounts and found there was still enough for 3 rounds of icing. My heavy cream was out of date so used skimmed milk as this was all I had, it was still creamy and light. Also only had canola oil as was told you can interchange these with sunflower, and vegetable oil... Results very tasty chocolate cakes.

    Reply
  4. Caroline

    May 28, 2021 at 12:12 pm

    Can I use this recipe for a layer cake??

    Reply
    • Heather

      May 28, 2021 at 3:42 pm

      Hi Caroline, I am working on turning all of my cupcake recipes into cake recipes, but haven't tested this one yet. As written, I think this recipe would make a thin 8 or 9 inch 2-layer cake. If you want to give it a try, I'd guess that about 1.5x this recipe would make a standard size 8 or 9 inch 2-layer cake.

      Reply
  5. Robin

    June 27, 2020 at 5:51 pm

    Can I use cake flour for this recipe?

    Reply
    • Heather

      June 27, 2020 at 5:52 pm

      Yes, you can! I've used cake flour and all-purpose successfully with this recipe.

      Reply
  6. ann

    February 10, 2020 at 11:58 pm

    why I can't use dutch processed cocoa?

    Reply
    • Heather

      February 11, 2020 at 7:39 am

      Hi Ann, dutch cocoa has much less acidity than natural cocoa powder. I developed this recipe with natural cocoa powder, which will work perfectly with the amounts of baking powder, baking soda, and buttermilk listed. When substituting natural cocoa powder for dutch cocoa, you'd also need to change the amounts of leavening agents in the recipe, which can get tricky. I haven't tested this recipe with dutch cocoa, so it technically could work with some adjustments, but I don't want you to waste your ingredients if it doesn't work out. I'd suggest searching for a cupcake recipe that specifically asks for dutch cocoa if that is what you have on hand. Hope this helps!

      Reply
  7. Gabby James

    February 19, 2019 at 12:30 pm

    Literally just made these today. Unfortunately I overbaked them just a tad. His was my first time making homemade cupcakes. I didn't make the buttercream icing since I did not have heavy cream. But next time I make these I may put mini chocolate chips in the batter to give it that extra chocolatey tast ☺️😋

    Reply
    • Heather

      February 19, 2019 at 3:18 pm

      Sounds like a great idea to add chocolate chips! Let us know how the next batch goes.

      You can use milk in the frosting instead of heavy cream, it just won't be quite as creamy 😊

      Reply
  8. Kunal Pahuja- Handmade Chocolates

    June 09, 2018 at 2:02 pm

    I have just printed the recipe and added what I need to a grocery list! My kids are going to love them!

    Reply
    • Heather

      June 09, 2018 at 2:41 pm

      I hope your family enjoys them! Come back and let us know how they turn out 😊

      Reply

Primary Sidebar

Heather of The Toasty Kitchen

Hi, I'm Heather!

I love cooking with simple, everyday ingredients and want to help you make homemade meals with ease.

Read more

Reader favorites

  • A metal fork in a bowl of cheesy rice.
    Cheesy Rice
  • Whipped buttercream frosting recipe.
    Whipped Buttercream Frosting
  • Beef roast in a large slow cooker.
    Slow Cooker Beef Roast with Potatoes and Carrots
  • Pouring gravy over a bowl of mashed potatoes.
    How To Make Gravy Without Drippings

Christmas

  • A cinnamon roll on a small plate with a pan of more in the background.
    Christmas Morning Cinnamon Rolls
  • A stack of lace cookies on a cooling rack.
    Lace Cookies
  • Chocolate cut out cookies on a cooling rack with festive icing.
    Chocolate Cut Out Cookies
  • A cup of peppermint bark candy.
    Peppermint Bark

Footer

featured on:

decorative image of website logos.

Explore

  • Recipe Index
  • About
  • FAQ
  • Subscribe

About

  • Privacy Policy
  • Disclaimer
  • Image Copyright
  • Contact

Copyright © 2025 The Toasty Kitchen®

Rate This Recipe

Your vote:




Let us know what you thought of this recipe:

This worked exactly as written, thanks!
My family loved this!
Thank you for sharing this recipe

Or write in your own words:

A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.