22 Quick and Easy Recipes in 30 Minutes (or less) + 5 Chef Secrets To Make You A Better Cook!

Chocolate Cupcakes

Tested & Perfected Recipes

This post may contain affiliate links. Read my full disclosure policy.

Sweet enough for kids but intensely chocolate enough for grown-ups, these are my go-to chocolate cupcakes.

Chocolate cupcakes on an elevated serving dish.

Starting a baking business specializing in cakes and cupcakes sparked my passion for creating recipes, which was the impetus for creating Once Upon a Chef many years ago. These chocolate cupcakes, a delicious discovery from that time (and the mini version of my favorite chocolate cake), have been my go-to ever since. The cake recipe is wonderfully simple—a one-bowl recipe that and yields an ultra moist, deeply chocolate, and tender crumb. And the chocolate buttercream, modestly adapted from Cook’s Illustrated, is fast and foolproof—a welcome change from most homemade chocolate frostings, which can be temperamental and take hours to set.

“Delicious!!! So perfect for the chocolate lover in me!”

Nancy

What You’ll Need To Make Chocolate Cupcakes

For the Cupcakes

chocolate cake ingredients
  • All-Purpose Flour: The foundation of the cupcakes. For accurate measuring, use the spoon and level method: spoon the flour into your measuring cup and level it off with the back of a knife.
  • Granulated Sugar: Adds sweetness and helps create a moist and tender crumb.
  • Unsweetened Natural Cocoa Powder: Key for that rich chocolate flavor. It’s important to note that natural cocoa powder isn’t interchangeable with Dutch-process cocoa powder due to differences in acidity.
  • Baking Powder and Baking Soda: These leavening agents help your cupcakes rise and become light and fluffy. (Understand the difference between baking soda vs baking powder.)
  • Eggs: Add structure, richness, and stability to the batter.
  • Vegetable Oil: Adds moisture to the cupcakes, ensuring they’re soft and not dry. Oil-based cakes tend to stay moist longer than those made with butter.
  • Sour Cream: A secret weapon for moistness! Sour cream not only adds richness and a subtle tang but also reacts with baking soda for a tender texture.
  • Vanilla Extract: Rounds out the sweetness and brings complexity to the overall taste.
  • Boiling Water: Adds moisture and intensifies the cocoa’s flavor, resulting in a more robust chocolate taste.
  • Jump to the printable recipe for precise measurements

For the Frosting

Cupcake ingredients, including vanilla, corn syrup, and cocoa.
  • Milk or Semi-Sweet Chocolate: Choose based on your preference for sweetness. Milk chocolate offers a milder, sweeter taste, while semi-sweet chocolate adds a deeper chocolate flavor. The quality of the chocolate can significantly affect the frosting’s flavor, so opt for a good brand.
  • Unsalted Butter: Make sure it’s softened but still cool, which ensures that it blends well without becoming too runny. Unsalted butter allows you to control the frosting’s saltiness more precisely.
  • Confectioners’ Sugar: This finely ground sugar, also known powdered sugar, dissolves easily, preventing any grittiness in the frosting.
  • Natural Unsweetened Cocoa Powder: Adds a rich and deep chocolate flavor.
  • Light Corn Syrup: Adds gloss and sheen to the frosting, making it smooth and spreadable. It also helps in stabilizing the texture.
  • Vanilla Extract: Rounds out the flavors and adds depth.
  • Jump to the printable recipe for precise measurements

Step-by-Step Instructions

Step 1: Make the Cupcakes

In the bowl of a stand mixer fitted with the paddle attachment, combine the flour, sugar, cocoa powder, salt, baking powder, and baking soda. Mix on low speed for 30 seconds to combine.

mixed dry ingredients

Add the eggs, oil, and sour cream.

adding eggs, oil, and sour cream

Mix on low speed until combined.

chocolate cake batter with wet ingredients mixed in

Increase the speed to medium and beat for 2 minutes. Then, reduce the speed to low and gradually pour in the hot water (be careful to pour very slowly so it doesn’t splash). The batter will be soupy. Stop the mixer and scrape down the sides and bottom of the bowl; mix again until evenly combined.

chocolate cake batter

Divide the batter evenly into the cupcake liners.

chocolate cupcakes ready to bake

Bake for 18 to 20 minutes, or until the cupcakes are set and a toothpick inserted into the center of a cupcake comes out clean.

chocolate cupcakes cooling on rack

Cool the cupcakes in the pan for about 10 minutes, then transfer them to a rack to cool completely.

chocolate cupcakes cooling on rack

Step 2. Make the Frosting

Place the chocolate in a microwave-safe bowl.

milk chocolate pieces in bowl

Cook in the microwave in 20-second intervals, stirring in between, until it’s about three-quarters of the way melted. Stir, allowing the residual heat in the bowl to melt the remaining chocolate completely. (If necessary, place the chocolate back in microwave for a few seconds.) Set aside to cool.

Melted chocolate in a bowl.

In a food processor, combine the butter, confectioners’ sugar, cocoa powder and salt.

butter, confectioners sugar, and cocoa powder in food processor

Process until smooth, about 30 seconds, scraping down the sides of the bowl as needed. Then add the corn syrup and vanilla.

adding the corn syrup and vanilla to the chocolate frosting

Process until just combined, 5 to 10 seconds. Scrape down the sides of the bowl, then add the lukewarm melted chocolate. Pulse until smooth and creamy, 10 to 15 seconds. Do not overmix.

finished silky chocolate frosting

When the cupcakes have cooled, use a small offset spatula or butter knife to swirl the frosting on top.

Chocolate cupcakes on an elevated serving dish.

Frequently Asked Questions

Can I make these cupcakes in advance? How should I store them?

Yes, you can make these cupcakes a day in advance. Once they have completely cooled, store them in an airtight container at room temperature.

Can the cupcakes be frozen?

Yes, the cupcakes can be frozen without the frosting for up to 3 months. Let them cool completely, wrap them individually in plastic wrap, and then in foil. Thaw them overnight on the countertop before serving. (Wait until the cupcakes are completely defrosted to ice them.)

You May Also Like

Chocolate Cupcakes

Sweet enough for kids but intensely chocolate enough for grown-ups, these are my go-to chocolate cupcakes.

Servings: 24 cupcakes
Cook Time: 20 Minutes
Total Time: 1 Hour

Ingredients

For the Cupcakes

  • 1½ cups all-purpose flour, spooned into measuring cup and leveled off with knife
  • 1½ cups granulated sugar
  • ¾ cup unsweetened natural cocoa powder, such as Hershey’s
  • ¾ teaspoon salt
  • 1½ teaspoons baking powder
  • ¾ teaspoon baking soda
  • 2 large eggs, lightly beaten
  • ¼ cup vegetable oil
  • ¾ cup sour cream
  • 1 teaspoon vanilla extract
  • ¾ cup boiling water

For the Frosting

  • 8 ounces milk or semi-sweet chocolate, broken into small pieces (see note)
  • 2½ sticks (20 tablespoons) unsalted butter, softened but still cool
  • 1¼ cups Confectioners' sugar
  • ¾ cup natural unsweetened cocoa powder, such as Hershey's
  • Pinch salt
  • ¾ cup light corn syrup
  • 1 teaspoon vanilla extract

Instructions

For the Cupcakes

  1. Preheat the oven to 350°F and set two oven racks in the centermost positions. Line two 12-cup muffin tins with paper liners.
  2. In the bowl of a stand mixer fitted with the paddle attachment, combine the flour, sugar, cocoa powder, salt, baking powder, and baking soda. Mix on low speed for 30 seconds to combine. Add the eggs, oil, sour cream, and vanilla and mix on low speed until combined.
  3. Increase the speed to medium and beat for 2 minutes. Then, reduce the speed to low and gradually pour in the hot water (be careful to pour very slowly so it doesn’t splash). The batter will be soupy. Stop the mixer and scrape down the sides and bottom of the bowl; mix again until evenly combined.
  4. Pour the batter evenly into the prepared muffin tins (they should be about halfway full). Bake for 18 to 20 minutes, or until the cupcakes are set and a toothpick inserted into the center of a cupcake comes out clean.
  5. Cool the cupcakes in the pans for about 10 minutes, then transfer them to a wire rack to cool completely.

For the Frosting

  1. Place the chocolate in a microwave-safe bowl and cook in the microwave in 20-second intervals, stirring in between, until about three-quarters of the way melted. Stir, allowing the residual heat in the bowl to melt the remaining chocolate completely. (If necessary, place the chocolate back in microwave for a few seconds.) Set aside to cool.
  2. In a food processor, process the butter, sugar, cocoa powder and salt until smooth, about 30 seconds, scraping down the sides of the bowl as needed. Add the corn syrup and vanilla and process until just combined, 5 to 10 seconds. Scrape down the sides of the bowl, then add the lukewarm chocolate and pulse until smooth and creamy, 10 to 15 seconds. Do not overmix. The frosting can be used immediately or held at room temperature for up to 3 hours.
  3. When the cupcakes are completely cool, use a small offset spatula or butter knife to swirl the frosting lavishly over top. The cupcakes are best enjoyed fresh on the day they are made, but they will keep for two days stored in an airtight container at room temperature.
  4. Note: If making this cake for children, I recommend using milk chocolate for the frosting (Hershey or Lindt milk chocolate bars work well). Semi-sweet chocolate will lend a more intense chocolate flavor (Ghirardelli bars for baking are ideal).
  5. Make-Ahead/Freezer-Friendly Instructions: The cupcakes can be made up to one day ahead of time and stored in an airtight container at room temperature. They can also be frozen without the frosting for up to 3 months. Let them cool completely, wrap them individually in plastic wrap, and then in foil. Thaw overnight on the countertop before serving. (Wait until the cupcakes are defrosted to ice them.)

Nutrition Information

Powered by Edamam

  • Serving size: 1 cupcake
  • Calories: 320
  • Fat: 17 g
  • Saturated fat: 9 g
  • Carbohydrates: 42 g
  • Sugar: 32 g
  • Fiber: 3 g
  • Protein: 3 g
  • Sodium: 161 g
  • Cholesterol: 47 mg

This website is written and produced for informational purposes only. I am not a certified nutritionist and the nutritional data on this site has not been evaluated or approved by a nutritionist or the Food and Drug Administration. Nutritional information is offered as a courtesy and should not be construed as a guarantee. The data is calculated through an online nutritional calculator, Edamam.com. Although I do my best to provide accurate nutritional information, these figures should be considered estimates only. Varying factors such as product types or brands purchased, natural fluctuations in fresh produce, and the way ingredients are processed change the effective nutritional information in any given recipe. Furthermore, different online calculators provide different results depending on their own nutrition fact sources and algorithms. To obtain the most accurate nutritional information in a given recipe, you should calculate the nutritional information with the actual ingredients used in your recipe, using your preferred nutrition calculator.

See more recipes:

Comments

  • Really good recipe! Made it with my Nana! They turned out great!!

    • — Addy Dinsmore on February 25, 2024
    • Reply
  • I make these cupcakes so many times and my whole family LOVES them. Yes, I had a lot frosting leftover, put it in a bowl with lid and saved it in the refrigerator; I used a week later in another recipe and it was perfectly fine.

    • — Eugenia on December 8, 2023
    • Reply
  • Awful! I’ve been baking for 30 years and was super disappointed. Way to gummy texture and a lot of cake stuck to liner. Very small cupcakes with filling batter halfway. Oil is too heavy for this recipe. Rice under liners didn’t help much. Chocolate taste was mild – truly needs ganache or icing.

    • — JAM on September 7, 2023
    • Reply
  • The cupcakes turned out great! But I have a lot of leftover frosting and not enough energy to do cupcakes again. Is there another cake or dessert recipe that could work with the frosting from this recipe?

    • — Val on August 29, 2023
    • Reply
    • Glad you liked them! You could use the frosting on this chocolate cake as the frosting recipe is very similar. Hope you enjoy if you make it!

      • — Jenn on August 30, 2023
      • Reply
  • What can I substitute for the sour cream if i dont have any on hand?

    • — Alora on August 21, 2023
    • Reply
    • Greek yogurt will work nicely as well.

      • — Jenn on August 22, 2023
      • Reply
  • Hi Jenn. Can this recipe be halved and have the same consistency as a full recipe?

    • — Lori on June 22, 2023
    • Reply
    • Sure!

      • — Jenn on June 22, 2023
      • Reply
  • Great, easy recipe for this non-baker! Thanks.

    • — Melissa on June 18, 2023
    • Reply
  • Hi Jenn, this recipe seems different from before and I noticed you updated it. Is there a difference in the final product? And how come it’s been updated?

    • — Serena on April 11, 2023
    • Reply
    • It is a little different. They’re a bit moister and darker. They’re also a little easier to make. If you want the old recipe, there’s a link to it immediately under the last picture.

      • — Jenn on April 11, 2023
      • Reply
  • I want to make these in mini cupcake version for a baby shower, so a more mature crowd. Could/should I substitute the water for coffee?

    • — Keara on April 5, 2023
    • Reply
    • Sure, I bet they’ll be great!

      • — Jenn on April 6, 2023
      • Reply
  • Delicious!!! So perfect for the chocolate lover in me!

    • — Nancy on April 1, 2023
    • Reply
  • OMG again, Jenn.
    Thanks for sharing this recipe. As usually, I followed the instructions step by step and then: perfect cupcakes!
    Moist: checked
    Chocolate flavor: checked
    Taste: double checked!

    • — Luana Silva on March 31, 2023
    • Reply
  • Recipe looks delicious. Can this recipe be doubled and baked in a 24 cupcake tin?

    • — Tina on March 29, 2023
    • Reply
    • Yep!

      • — Jenn on March 30, 2023
      • Reply
  • I made these for my daughter’s teacher’s birthday and everyone loved them! My daughter and I happen to NEVER like frosting and this one is actually delicious. I plan to try a slightly healthier version. Will report back 🙂

    • — Julie on March 28, 2023
    • Reply
  • I want to infuse the cupcakes with Old Bay. It sounds weird, I know, but the combo works. How much Old Bay would you recommend I add to the batter? I will be frosting the cupcakes with salted caramel buttercream and topping with a choc. dipped Old Bay potato chip. Thanks for all of your great recipes!!

    • — Emily on February 25, 2023
    • Reply
    • That does sound unusual! I’d suggest anywhere between 1/4 to 1/2 teaspoon (and I’d omit the 3/4 teaspoon of added salt). I’d love to hear how they turn out!

      • — Jenn on February 28, 2023
      • Reply
      • I ended up adding a heaping teaspoon and took your advice to omit the salt. They turned out fantastic!

        • — Emily on March 6, 2023
        • Reply
        • So glad they came out well — thanks for taking the time to report back!

          • — Jenn on March 6, 2023
          • Reply
  • If I’m reading correctly, these cupcakes can be left out at room temp with frosting on for two days? Correct? Thanks!

    • — Samantha on January 23, 2023
    • Reply
    • Correct!

      • — Jenn on January 24, 2023
      • Reply
  • Can butter be used for the cupcakes instead of oil and if not, why?

    • — Renee on January 7, 2023
    • Reply
    • Sure, (melted) butter can be used here. Enjoy!

      • — Jenn on January 9, 2023
      • Reply
  • My comment is actually a question— I’d like to bake these using mini muffin tins rather than regular sized cupcake tins. Will that work and how should the baking time be adjusted. Many thanks for your wonderful recipes and your responsiveness to questions.
    MP W

    • — MP W on October 21, 2022
    • Reply
    • Yes, you can definitely make these as mini cupcakes. I’d start checking them at about 10 minutes. Enjoy!

      • — Jenn on October 21, 2022
      • Reply
  • Jenn,
    Can you suggest baking times for jumbo cupcakes? I own your cookbooks and all your recipes are fantastic!

    • — Sandy Ropper on October 20, 2022
    • Reply
    • Hi Sandy, Thanks for your support of the cookbooks! I’d add about 5 to 10 minutes to the baking time in the recipe (but I’d check them after 5 extra minutes). You’ll know they’re done when you insert a toothpick/cake tester in the middle and it comes out clean. Hope you enjoy!

      • — Jenn on October 20, 2022
      • Reply
  • Can this frosting be piped?

    • — Jane Mangelson on August 31, 2022
    • Reply
    • Unfortunately, it’s not thick enough to be piped — sorry!

      • — Jenn on August 31, 2022
      • Reply
  • My son wants chocolate cupcakes with vanilla frosting for his birthday party. Can you recommend a good vanilla frosting recipe to go with these cupcakes?

    • — Amy on August 16, 2022
    • Reply
    • Hi Amy, this frosting would work well. Happy birthday to your son!

      • — Jenn on August 17, 2022
      • Reply
  • Made this today for my grandsons birthday tomorrow and I haven’t tasted the cake part yet but the Icing!! OMG!! I can only guess all will be delicious 👍

    • — Gail on June 4, 2022
    • Reply
  • Do you think I’ll be able to swap dark corn syrup for light corn syrup? Are they interchangeable or will I need to make any adjustments?

    • — Shoba on April 22, 2022
    • Reply
    • Hi Shoba, I wouldn’t recommend dark corn syrup here — sorry!

      • — Jenn on April 23, 2022
      • Reply

Add a Comment

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