Moist Chocolate Cupcake Recipe

This post may contain affiliate sales links. Please see my full disclosure policy for details

This mouthwatering moist chocolate cupcake recipe makes incredible homemade chocolate cupcakes topped with silky chocolate cream cheese frosting. These light and fluffy cupcakes stay moist for days. This will be your new go-to chocolate cupcake recipe – it’s so easy to make! 

A dark chocolate cupcake is unwrapped sitting on a white board surrounded by sprinkles

My Favorite Chocolate Cupcakes

Everyone needs a go-to chocolate cupcake recipe. One that makes your mouth water, one that you inhale so fast you hardly stop to take a breath. Right?

Look no further my friends. These this easy chocolate cupcake recipe makes fluffy, moist cupcakes that are seriously insane. They stay moist for days, plus the chocolate cream cheese frosting just melts in your mouth.

Seriously you guys, no other cupcake recipe can compare. 

Three chocolate cupcakes with chocolate frosting on a white rimmed plate

This recipe is easy to follow. It’s an oil-based chocolate cupcake, so it’s also very quick to put together. There’s no waiting for butter to soften and no creaming butter and sugar together either.

It reminds me of my favorite doctored cake mix. The chocolate flavors isn’t overly sweet or intense, which is kinda of nice because once you add the frosting, it’s the perfect balance.

Recipe Ingredients

  • Granulated sugar: The ratio of sugar to flour is very important in baked goods, so be sure to follow the recipe.
  • Vegetable oil: oil tends to make cakes more moist than a recipe with butter. It also makes the crumb and texture a bit more tender and tighter.
  • Whole eggs: This is a dense and spongy cupcake, so we’re using the whole egg. 
  • Pure vanilla extract: Be sure you get a high-quality REAL vanilla extract for this recipe, it makes all the difference
  • Sour cream: Sour cream helps keeps these cupcakes very moist.
  • Dry Ingredients: All-purpose flour, baking powder and baking soda, salt. 
  • Cocoa Powder: I use a natural, unsweetened cocoa powder 
  • Espresso powder (optional): Sometimes I also like to add espresso powder to chocolate cakes, I think it helps intensify the chocolate flavor. The espresso powder is optional, or can be substituted for a fine ground coffee or omitted. 
  • Brewed Coffee: Coffee helps bring out the chocolate flavor, but don’t worry, these don’t taste like coffee at all. 

Ingredient Substitutions 

I don’t recommend ingredient substitutions whenever possible, but know that sometimes they are necessary. Here are some suggestions:

  • Sour cream is essential for keeping the cupcakes moist. If you don’t have sour cream. I recommend substituting with non-fat Greek yogurt. The recipe calls for light sour cream, but you can also use full-fat sour cream.
  • Brewed Coffee: I recommend using milk instead, but only if needed. 

two unfrosted chocolate cupcakes stacked, the top one has a bite missing

What kind of cocoa powder should I use?

I recommend using a natural, unsweetened cocoa powder such as Hersheys. I also tend to use Hersheys Special Dark which is my favorite and gives these cupcakes a dark and rich color.

How to make moist chocolate cupcakes

  • Preheat the oven to 350°F. Line a cupcake pan with cupcake liners.
  • Beat together the sugar, vegetable oil, eggs and vanilla extract until well incorporated.
  • Next mix in the sour cream and beat until well combined.two side by side images showing the process of making chocolate cupcakes
  • In a separate bowl combine the remaining dry ingredients and sift together. Add half the dry ingredients and half of the brewed coffee and mix just until the flour starts to incorporate.two side by side images showing the process of making chocolate cupcakes
  • Finally add the remaining dry ingredients, and the remaining coffee. Beat on low speed until all of the ingredients are well combined. two side by side images showing the process of making chocolate cupcakes
  • Using a large cookie scoop, divide the batter evenly, filling each liner 2/3 full. 
  • Bake at 350°F for 14-16 minutes. Test the cupcakes for doneness by inserting a toothpick into the center of the cupcake. If the toothpick comes out clean, the cupcakes are done. Cool Completely.

unfrosted chocolate cupcakes in a pan

How much batter do you use for each cupcake?

It’s easiest to use a large cookie scoop or a measuring cup to fill your cupcake liners. This ensures they’re evenly filled, which means they will bake evenly as well. A large cookie scoop is approximately 3 tablespoons. 

You might find my post how to bake cupcakes to be helpful.

chocolate cupcake batter in a pan

Make the Chocolate Cupcake Frosting

I don’t know about you but I am ALL about the chocolate frosting.

These cupcakes are topped with a Chocolate Cream Cheese frosting. It’s rich and velvety and just melts in your mouth. I love that it doesn’t have an over powering butter flavor and it’s a little bit tangy from the cream cheese. 

If you don’t love cream cheese frosting (I mean really though), then you might try my chocolate fudge frosting or my best chocolate frosting. All good contenders, but the chocolate cream cheese frosting is by far my favorite.

A piping bag fitted with a large piping tip is frosting a dark chocolate cupcake

How to Frost Chocolate Cupcakes

Want to make beautiful bakery style frosted cupcakes? A simple trick is to use jumbo piping tips for the frosting. Start from the outside edge of the cupcake, working your way up towards the middle, and only fill your piping bag a maximum of 2/3 full. I have shared tons more tips and information in this post about how to decorate cupcakes

A big bite is taken out of a chocolate cupcake showing all the air bubbles inside

How to Store Frosted Cupcakes

If you live in a hot and humid environment then I would suggest that you refrigerate cupcakes that are frosted and allow them to come to room temperature before serving.

Otherwise I store my cupcakes in a cool, dry place in an airtight container for up to 3 days once they are frosted.

Frequently Asked Questions

Can I use this chocolate cupcake recipe to make a cake?

If you’re more interested in a traditional 9×13-inch cake, don’t worry, I’ve got you covered. My Super Moist Chocolate Cake recipe is the same recipe, just with a reduced amount of frosting.

If you’d like to make a layer cake, then you’ll want to review my tips for this Chocolate Cake.

What Makes these Cupcakes so Moist?

I find the simplest way to by adding sour cream or Greek yogurt. That is why you’ll find that my cake and cupcake recipes usually contain this ingredient.

Other factors that can make your cupcakes dry is incorrectly measuring ingredients, over mix the batter or over baking the cupcakes.

I also suggest storing them in an airtight container to maintain the moisture.

three unfrosted chocolate cupcakes stacked

Use this recipes to make more chocolate cupcakes

Looking for more cupcake recipes? Here are all my best cupcake recipes.


Follow Beyond Frosting:

Facebook | Twitter | Pinterest | Instagram

If you love no-bake recipes, be sure to check out my cookbook, No-Bake Treats!



Three chocolate cupcakes with chocolate frosting on a white rimmed plate

Moist Chocolate Cupcake Recipe

  • Author: Beyond Frosting
  • Prep Time: 15 minutes
  • Cook Time: 15 minutes
  • Total Time: 45 minutes
  • Yield: 24 cupcakes


This mouthwatering moist chocolate cupcake recipe is a homemade chocolate cupcake topped with a silky chocolate cream cheese frosting.


For the cupcakes:

  • 1 ½ cups (285g) granulated sugar
  • ½ cup (118 ml) vegetable oil
  • 3 large eggs
  • 1 tablespoon (15 ml) pure vanilla extract
  • ½ cup (118 ml) light sour cream
  • 2 cups (280g) all-purpose flour
  • ½ cup (55 g) natural cocoa powder
  • 1 tablespoon (5g) espresso powder (optional)
  • 2 ½ teaspoons (9 g) baking powder
  • ½ teaspoon (2 g) baking soda
  • 1 teaspoon (5 g) salt
  • 1 ¼ cup (355 ml) brewed coffee

For the frosting:

  • ¾ cups (6 oz) unsalted butter
  • 8 ounces cream cheese
  • ½ cup +2 tablespoons (69g) cocoa powder
  • 6 cups (780 g) powdered sugar
  • 2 tablespoons (30 ml) milk or heavy whipping cream
  • 1 tablespoon (15ml) pure vanilla extract


For the cupcakes: 

  1. Preheat the oven to 350°F. Line a cupcake pan with cupcake liners.
  2. In a large mixing bowl, combine the sugar, vegetable oil, eggs and vanilla extract. Beat on medium speed until the eggs and oil are well incorporated and the batter is lighter in color.
  3. Next mix in the sour cream and beat until well combined.
  4. In a separate bowl, sift together the dry ingredients. Then add half the dry ingredients followed by half of the coffee and mix just until the flour starts to incorporate.
  5. Finally add the remaining dry ingredients, mixing on low speed while pouring in the remaining coffee and beating until all of the ingredients are well combined. Use a spatula to scrape down the sides of the bowl and stir the batter from the bottom to the top to ensure it’s well mixed.
  6. Using a large cookie scoop, divide the batter evenly, filling each liner 2/3 full.
  7. Bake at 350°F for 14-16 minutes. Test the cupcakes for doneness by inserting a toothpick into the center of the cupcake. If the toothpick comes out clean, the cupcakes are done. Cool Completely.

For the frosting: 

  1. Cut the butter into 1-inch blocks. Beat the butter for 1-2 minutes until it is slightly softened.
  2. Then add the cream cheese and cream together for 2-3 minutes until they are fluffy and free of lumps, scape down the bowl occasionally.
  3. Add the cocoa powder and vanilla extract and beat until well combined,
  4. Next, add the confectionary sugar 2 cups at a time, followed by one tablespoon of heavy whipping cream and vanilla extract and beat for 60-90 seconds until completely smooth.
  5. Add the remaining powdered sugar and heavy whipping cream and beat until desired consistency, at least 2 minutes.
  6. In a large piping bag fitted with a large open star pipping tip, pipe the frosting onto the cupcakes. Keep in an airtight container.


  • Sour cream: If you need to substitute the sour cream, use nonfat Greek Yogurt
  • Coffee: If you need to substitute the coffee, use milk
  • To make this as a single layer cake you’ll want to see my Moist Chocolate Cake Recipe
  • To make this as a layer cake, you’ll want to see my Chocolate Cake Recipe
  • Make Ahead of time: These can be prepared up to 2 days in advance and stored in an airtight container. You can freeze the prepared cupcakes, stored in an airtight container, thaw overnight in the fridge, then bring to room temperature before frosting. I recommend frosting the day you’re serving.
  • Frosting options: If you don’t like cream cheese frosting, you can top these with vanilla frosting, or my chocolate buttercream.
Nutrition Information:
1 cupcake
  • Category: Cupcakes
  • Method: Baked
  • Cuisine: American

Keywords: chocolate cupcake recipe, chocolate cupcakes, best, easy, homemade, moist chocolate cupcake recipe


43 Responses
  1. Cyndi

    Hello I made your chocolate cake and homemade cream cheese frosting . First the Cake was extremely thick and dense and not light and fluffy like you suggested. Therefore I tweaked you’re recipe and omitted the egg yolks and only used the egg whites . Complete perfection after I made that little change . I highly recommend everyone to omit egg yolks when baking a cake . If you’re looking for a very light fluffy and airy cake this is the way to go I promise you

    1. Beyond Frosting

      Hi Cyndi, I can’t imagine this cake as dense and thick, is it perhaps over mixing of the batter or over baking? You are correct that egg whites will make the ultimate light and airy cake such as a white cake or angle food. I have not prepared this recipe with egg whites only but I am glad it worked out for you!

  2. Evelynmaria

    Instead of Hot Coffee, can I swap it out for hot chocolate? I have never tried this but I saw a post from, The cake blog and they did a Hot chocolate cake and used hot chocolate instead of water or coffee. Do you think this would dry out the cake, and if I can should I do it with water or Milk????

  3. Nichaud Munday

    These look amazing!! So excited to make them! Is there a way of adjusting it to make 12 cupcakes, or are 24 the best amount?

    1. Beyond Frosting

      Personally I prefer 24 for the BEST results, but for 12 cupcake, you can half the ingredients and use 2 eggs and 2/3 cup of milk. It makes about 14 cupcakes.

  4. Anne Marie

    I’m really looking forward to making this and will surely update once I do. Just curious though (and trying to save myself a trip to the grocery), can I substitute regular sour cream for light sour cream or will this adversely affect the overall results?

  5. Kakeladi

    Thanks for this recipe. I can’t wait to try it. I don’t have a coffee maker. Will the old fashioned way of making coffee…. boiling water work for the recipe?

    1. Beyond Frosting

      Yep! I actually don’t have a coffee maker either, I use a French press, This will be fine. You can also purchase cold brew or already prepared coffee as well.

Leave a Reply

Recipe rating

I accept the Privacy Policy

Subscribe to my newsletter and get my fav tips to take your cakes & cupcakes to the next level.