• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Dollop of Dough
  • Home
  • About
    • Work with Me
  • Contact
  • Gluten Free Recipes
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
menu icon
go to homepage
  • All Recipes
  • Spring Recipes
  • Subscribe
  • About
  • Contact
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
  • subscribe
    search icon
    Homepage link
    • All Recipes
    • Spring Recipes
    • Subscribe
    • About
    • Contact
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
  • ร—
    Home ยป Recipes ยป Cupcake Recipes

    Perfect Chocolate Cupcakes with Cream Cheese Frosting

    Updated: Dec 22, 2025 by Megan Weimer ยท This post may contain affiliate links.

    I love when you share my recipes!

    • Facebook
    Jump to Recipe

    These chocolate cupcakes with cream cheese frosting are the moistest, fluffiest cupcakes you'll ever eat. The rich, decadent chocolate cake is perfectly balanced with slightly tangy cream cheese frosting. They're easy to make and perfect for any occasion.

    Chocolate cupcakes with cream cheese frosting on a cooling rack.

    Have you ever bitten into a perfectly baked moist chocolate cupcake, topped with tangy, luscious cream cheese frosting, and felt like you were in dessert heaven? If not, you're in for a real treat. These chocolate cupcakes with cream cheese frosting are absolutely delicious and will leave you wanting more.

    These cupcakes are similar to red velvet cupcakes and are the cupcake version of my chocolate cake with cream cheese frosting. They're perfect for any occasion, from birthday parties to potlucks to simple weeknight desserts. They're versatile enough to dress up or down, so whether you're looking to impress your guests or satisfy your sweet tooth, these chocolate cupcakes are the way to go.

    If you're a chocolate cupcake connoisseur, try these mini chocolate cupcakes, dark chocolate cupcakes, and hot cocoa cupcakes.

    Jump to:
    • Why You'll Love This Recipe
    • Ingredient Notes
    • Substitutions
    • Helpful Equipment and Tools
    • Step by Step Instructions
    • How to Make Cream Cheese Frosting
    • Expert Baking Tips
    • Additions and Variations
    • Storage Tips
    • Frequently Asked Questions
    • More Cupcake Recipes to Try
    • ๐Ÿ“– Recipe
    • ๐Ÿ’ฌ Comments

    Why You'll Love This Recipe

    • The cupcakes have a rich, decadent chocolate cake base with a deep cocoa flavor. The cake is also soft, moist, and tender! I used the same base for the these chocolate fudge cupcakes and banana chocolate cupcakes.
    • They're topped with slightly tangy cream cheese frosting that cuts through the rich chocolate perfectly.
    • These cupcakes are so versatile and can be customized with a variety of frostings (like coffee cream cheese frosting, strawberry cream cheese frosting, or almond buttercream), toppings, and other decorations.

    Ingredient Notes

    Here are some notes about the ingredients used. For quantities and the full instructions, see the recipe card below.

    Ingredients for the Chocolate Cupcakes

    Ingredients to make chocolate cupcakes on a white and pink surface.
    • All purpose flour- I usually use cake flour in vanilla cupcakes to make them super light, but I love using all purpose flour in chocolate cupcakes to make them slightly dense and ultra moist
    • Granulated sugar- White sugar sweetens the batter, retains moisture, and mixes in well.
    • Cocoa powder- I prefer the deep flavor and color of Dutch-processed cocoa powder. It is treated with alkali, which reduces the acidity. Natural or unsweetened cocoa powder works too, but the color and flavor won't be as deep.
    • Baking powder and baking soda- These two leaveners work together to help the cake rise to perfection. Using them together creates a sponge that is fluffy and moist.
    • Egg and egg white- An egg binds the ingredients together while the egg white gives the cake extra lift. Make sure they're at room temperature; take them out of the refrigerator an hour before you start.
    • Oil- To give chocolate cupcakes extra moisture and sponginess, I prefer using oil over butter. You have several options to choose from, like canola, avocado, grapeseed, or vegetable oil.
    • Buttermilk- I'm a huge buttermilk fan. It thins out the batter, adds a tangy flavor, and tenderizes the gluten, making a super soft cake.
    • Vanilla extract- Vanilla enhances the chocolate flavor and gives the cupcakes a gorgeous aroma.
    • Brewed coffee- Hot coffee is used to activate (or "bloom") the cocoa powder and bring out the full spectrum of chocolatey flavors. Don't worry, you can't taste it at all!

    Ingredients for the Cream Cheese Frosting

    Ingredients to make a small batch of cream cheese frosting.
    • Unsalted butter- Make sure the butter is softened so it's easy to mix. Pull it and the cream cheese out of the refrigerator an hour before you start.
    • Cream cheese- Use softened, full fat cream cheese to make the frosting extra creamy. Make sure the cream cheese is in block form, not from a tub. Cream cheese from a tub will be too runny.
    • Powdered sugar- Powdered sugar (also called icing or confectioners sugar) adds structure and sweetness, giving the frosting a sturdy, pipeable consistency. You don't need to worry about sifting it beforehand.
    • Vanilla extract- Vanila adds extra flavor and a beautiful aroma to the frosting.
    • Salt- Salt rounds out the flavor profile and balances the sweetness of the powdered sugar.

    Substitutions

    • Buttermilk substitutes: You can substitute plain kefir, plain Greek yogurt, or sour cream for buttermilk at a 1:1 ratio. You can even make your own buttermilk by combining 1 cup of whole milk with 1 tablespoon of either vinegar or lemon juice. Let the mixture curdle for 10 minutes and it's good to go.
    • Brewed coffee substitute: If you don't have coffee, use hot water. The chocolate flavor won't be as deep, but the cupcakes will still be delicious.

    Helpful Equipment and Tools

    • You need a 12-well cupcake tin lined with cupcake liners. I don't recommend using a glass pan since it conducts heat differently than metal, which I used to test this recipe. Don't use a silicone pan because the cupcakes will burn.
    • For making the frosting, I recommend using an electric hand mixer or a 5-quart stand mixer fitted with the paddle attachment.
    • For decorating the cupcakes, you'll need a piping bag and a large piping tip. I love the Wilton 1M for making pretty ruffles.

    Step by Step Instructions

    Before you start baking cupcakes, line a 12-well cupcake pan with paper liners, brew your coffee, and preheat the oven to 350ยฐF (180ยฐC).

    Flour, cocoa powder, and other ingredients in a bowl with a wire whisk.

    Step 1: Whisk the flour, sugar, cocoa powder, baking powder, baking soda, and salt in a large bowl until the ingredients are evenly distributed.

    Wet ingredients in a bowl.

    Step 2: In a separate large bowl, whisk the egg, egg white, oil, buttermilk, and vanilla extract together vigorously until smooth.

    Chocolate batter in a bowl.

    Step 3: Gently pour the wet ingredients into the bowl of dry ingredients. Fold together with a rubber spatula. There will be lots of lumps, but keep mixing until the batter is smooth and drips off the spatula in ribbons.

    Chocolate cupcake batter in a bowl.

    Step 4: Pour half of the hot coffee into the batter and fold it in. Repeat with the other half, folding until smooth. The batter will be very thin.

    Cupcake batter in cupcake wells in a pan.

    Step 5: Use a large cookie scoop, ice cream scoop, or spoon to evenly portion the batter between the cupcake liners. Fill them only half way or they might overflow in the oven.

    Chocolate cupcakes on a cooling rack.

    Step 6: Bake the cupcakes for 16-20 minutes until a toothpick inserted in the center comes out clean with a few loose crumbs.

    Let the cupcakes cool in the tin for 10 minutes, then remove them from the pan and let cool completely on a wire rack for 30-60 minutes.

    How to Make Cream Cheese Frosting

    For more detailed instructions, see my small batch cream cheese frosting recipe, which is doubled for this recipe.

    Butter and cream cheese in a bowl.

    Step 1: Beat softened butter and cream cheese on medium-high speed until there are no lumps.

    Mixing cream cheese frosting in a bowl with a hand mixer.

    Step 2: Gradually add the powdered sugar 1 cup at a time, beating on low speed. Increase to medium once the sugar is mostly combined, mixing until smooth. This keeps the powdered sugar from flying out of the bowl. Then add the vanilla and salt.

    A cupcake with a frosting rosette piped on top.

    Step 3: Transfer the frosting to a piping bag fitted with a large decorative piping tip. Pipe a swirl of frosting on top of each cupcake!

    Expert Baking Tips

    • Use room temperature ingredients. Room temperature ingredients mix more easily, creating a smooth and uniform batter.
    • Use a kitchen scale. Weighing the ingredients in grams instead of using cup measurements is best for accuracy and consistent results. Metric measurements are provided in the recipe card below.
    • Don't overmix the batter. Overmixing can make the cupcakes tough and gummy. Make sure to mix the ingredients until they're just combined.
    • Don't overbake. Check on the cupcakes a few minutes before the suggested baking time as oven temperatures can vary. The cupcakes are done when a toothpick inserted in the center comes out clean or when the tops bounce back when lightly pressed.

    Additions and Variations

    This chocolate cupcake recipe is delicious as is, but if you want to take it to the next level, there are several ingredients you can add. Get creative and consider adding:

    • Chocolate chips: Fold a handful of chocolate chips into the cupcake batter before baking. You can also sprinkle some on top of the frosting as a garnish.
    • Chopped nuts: Chop up some almonds, pecans, hazelnuts, or walnuts and fold them into the batter. Like the chocolate chips, they can also be used as a garnish.
    • Peanut butter: Drop a small dollop of peanut butter on top of the cupcake batter in each liner before baking. Alternatively, you can swirl the peanut butter into the batter for a marbled effect.
    • Spices: Add a pinch of cinnamon or cayenne to the batter. Adjust the amount to your taste preferences.
    • Fresh berries: Top your cupcakes with fresh strawberries, raspberries, or blueberries for an elegant touch.
    • Chocolate cream cheese frosting: Mix ยฝ cup of cocoa powder into the frosting after beating in the powdered sugar to make it chocolate flavored.

    Storage Tips

    Store the cupcakes in an airtight container in the refrigerator for up to 5 days. Let them warm up on the counter for about 30 minutes before serving.

    Leftover cream cheese frosting can be stored in the fridge for up to 1 week, just give it a good mix before using.

    A close up of a cupcake with cream cheese frosting.

    Frequently Asked Questions

    Why is my frosting grainy?

    Make sure that your cream cheese and butter are both at room temperature and fully combined. If they aren't the same temperature, the frosting might turn out grainy.

    Can I make these into a cake?

    Yes! That's what I did with my lemon chocolate cake. This will make enough batter for two 6-inch round pans, three 6-inch pans, two 8-inch pans, or a 9x13-inch cake pan.

    Why are my cupcakes flat?

    There are several reasons why your cupcakes deflated or sunk in the center. Your oven could be too hot, you could've overfilled the liners, or you may have added too much or too little baking powder.

    Can I freeze the cupcakes?

    Yes! Freeze them on a baking sheet until they're frozen solid, about 2 hours. Transfer them to a freezer bag or airtight container and store in the freezer for up to 3 months.

    More Cupcake Recipes to Try

    • Close up of a raspberry almond cupcake with fresh berries and almond slices on a checkered surface.
      Raspberry Almond Cupcakes with Whipped Raspberry Ganache
    • A lemon olive oil cupcake drizzled with olive oil.
      Lemon Olive Oil Cupcakes
    • Hot chocolate cupcakes garnished with mini marshmallows on a cake stand.
      Hot Cocoa Cupcakes
    • Maple bacon cupcakes on a wood cake stand.
      Maple Bacon Cupcakes with Maple Buttercream

    Subscribe to Dollop of Dough's newsletter to get recipes like this in your inbox!

    PS: if you try this recipe, please leave a star rating below! Make sure to follow along on Instagram and Pinterest to catch all the new and tasty recipes at Dollop of Dough.

    ๐Ÿ“– Recipe

    A cupcake on a metal cooling rack.

    Chocolate Cupcakes with Cream Cheese Frosting

    Megan Weimer
    These chocolate cupcakes with cream cheese frosting are the moistest, fluffiest cupcakes you'll ever eat. The rich, decadent chocolate cake is perfectly balanced with slightly tangy cream cheese frosting. They're easy to make and perfect for any occasion.
    5 from 3 votes
    Print Recipe Pin Recipe
    Prep Time 20 minutes mins
    Cook Time 18 minutes mins
    Total Time 38 minutes mins
    Course Dessert
    Cuisine American
    Servings 20 cupcakes
    Calories 343 kcal

    Equipment

    • 1 cupcake pan
    • 1 5-quart stand mixer or electric hand mixer

    Need Metric or US Customary Measurements?

    Use the buttons below to toggle between grams and cups!

    Ingredients
     
     

    Chocolate Cupcakes

    • 160 grams all purpose flour
    • 300 grams granulated sugar
    • 75 grams Dutch-processed cocoa powder
    • 1 ยฝ teaspoon baking powder
    • ยพ teaspoon baking soda
    • ยฝ teaspoon salt
    • 1 large egg room temperature
    • 1 egg white room temperature
    • 130 grams neutral oil
    • 225 grams buttermilk room temperature
    • 1 teaspoon vanilla extract
    • 205 grams brewed coffee hot

    Cream Cheese Frosting

    • 113 grams unsalted butter softened
    • 226 grams full-fat cream cheese softened
    • 500 grams powdered sugar
    • 1 teaspoon vanilla extract
    • ยผ teaspoon salt

    Instructions
     

    For the Cupcakes

    • Preheat the oven to 350ยฐF/180ยฐC. Prepare a cupcake pan with liners and set aside.
    • Add the flour, sugar, cocoa powder, baking powder, baking soda, and salt to a large mixing bowl and whisk until combined.
      160 grams all purpose flour, 300 grams granulated sugar, 75 grams Dutch-processed cocoa powder, 1 ยฝ teaspoon baking powder, ยพ teaspoon baking soda, ยฝ teaspoon salt
    • In a separate bowl, whisk together the egg, egg white, oil, buttermilk, and vanilla extract until smooth.
      1 large egg, 1 egg white, 130 grams neutral oil, 225 grams buttermilk, 1 teaspoon vanilla extract
    • Pour the wet ingredients into the dry ingredients. Fold until there are no lumps and the batter is smooth.
    • Pour half of the hot coffee into the batter and fold until smooth. Then mix in the remaining half. The batter will be thin.
      205 grams brewed coffee
    • Fill each cupcake liner ยฝ way full. Bake for 16-20 minutes or until a toothpick inserted in the center comes out clean.
    • Let the cupcakes cool in the pan for 10 minutes, then remove from the pan and let cool completely on a wire rack.

    For the Frosting

    • Beat the butter and cream cheese together with a stand mixer or hand mixer on medium-low speed until creamy and lump free.
      113 grams unsalted butter, 226 grams full-fat cream cheese
    • With the mixer on low, add the powdered sugar 1 cup at a time until completely combined and smooth.
      500 grams powdered sugar
    • Add the vanilla and salt and mix well.
      1 teaspoon vanilla extract, ยผ teaspoon salt
    • Fill a piping bag with the frosting and frost each cupcake. Enjoy!

    Video

    Notes

      • Use room temperature ingredients.ย Using room temperature ingredients creates a smooth, uniform batter.
      • Use aย kitchen scale. Weighing the ingredients in grams instead of using cup measurements is best for accuracy and consistent results. Metric measurements are provided in the recipe card.
      • Don't overmix the batter.ย Overmixing can make the cupcakes gummy.
      • Don't overbake.ย Check on the cupcakes a few minutes before the suggested baking time as oven temperatures vary.
    Storage: Store cupcakes in a sealed container in the refrigerator for up to 5 days.
    Freezing: Freeze cupcakes on a baking sheet until they're frozen solid. Transfer them to an airtight container and freeze for up to 3 months.ย 

    Nutrition

    Serving: 1cupcakeCalories: 343kcalCarbohydrates: 49.5gProtein: 3.1gFat: 16.2gSaturated Fat: 6.3gPolyunsaturated Fat: 2.3gMonounsaturated Fat: 6.7gTrans Fat: 0.2gCholesterol: 33mgSodium: 215.4mgPotassium: 109mgFiber: 1.6gSugar: 40.6gVitamin A: 323.4IUVitamin C: 0mgCalcium: 50.9mgIron: 1mg
    Tried this recipe?Let us know how it was!

    More Cupcake Recipes

    • Nutella cupcakes on a cake stand.
      Nutella Cupcakes with Nutella Buttercream
    • Root beer cupcake on a plate.
      Root Beer Cupcakes with Marshmallow Frosting
    • Dulce de leche cupcakes on a wood cake stand.
      Dulce de Leche Cupcakes (with Dulce de Leche Filling)
    • White chocolate cupcakes on a marble board.
      White Chocolate Cupcakes with Whipped Ganache Frosting

    I love when you share my recipes!

    • Facebook

    About Megan Weimer

    Megan Weimer is the recipe developer, writer, and food photographer behind Dollop of Dough. Since 2020, she's been inspiring home bakers to create delicious dessert recipes for any occasion that are easy, reliable, and tested in her own kitchen.

    Reader Interactions

    Comments

    1. Billie. Girl

      May 05, 2023 at 2:22 am

      Want to bake them . What brand of cocoa dutch did you use. And coffee. Want to use the same brands that you use. I not sure what dutch cocoa is . Thk you. .B.

      Reply
      • Megan Weimer

        May 05, 2023 at 9:55 am

        Hi! The brands don't matter that much as long as they're high-quality. I used coffee from my local coffee shop. Dutch-processed cocoa powder is cocoa powder that's treated with alkali to make it less acidic, so it has a darker color and deeper flavor. I used cocoa powder from Whole Foods, but I also recommend Ghirardelli, Guittard, Rodelle, or Hershey Special Dark.

        Reply
    5 from 3 votes (3 ratings without comment)

    Leave a Reply Cancel reply

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

    Recipe Rating




    Primary Sidebar

    Hi there, I'm Megan!

    Welcome to Dollop of Dough! I'm a self-taught baker and professional recipe developer based in Chicago. I created this blog to share simple baked goods and dessert recipes that are easy to prepare for everyday occasions. With each recipe, I hope to spark joy and inspire my community of dessert enthusiasts.

    Read more about Megan here!

    Trending Recipes

    • Blueberry cheesecake overnight oats in a jar on a striped napkin.
      Blueberry Cheesecake Overnight Oats
    • Close up of swirls of caramel white chocolate ganache.
      Salted Caramel Ganache with White Chocolate
    • Dried cranberry muffins on a wood surface.
      Dried Cranberry Muffins
    • Slices of banana bread with no baking soda.
      Easy Banana Bread without Baking Soda

    Spring Has Sprung!

    • Lemon poppy seed Rice Krispie treats on a checkered board.
      Lemon Poppy Seed Rice Krispie Treats
    • A cake garnished with whipped cream and strawberries on a wood cake stand.
      Strawberry Marble Cake
    • Strawberry cheesecake muffins in a metal muffin tin.
      Strawberry Cheesecake Muffins
    • A slice of cake garnished with a cherry on a pink plate.
      Lemon Cherry Layer Cake

    Did you try a recipe?
    Tag @dollopofdough and #dollopofdough on social media!

    • Instagram
    • Pinterest
    • Facebook
    • TikTok

    As Featured In

    Dollop of Dough has been featured in Mashed, Real Homes, Tasting Table, and the Bake Feed.

    Footer

    โ†‘ back to top

    More

    • About
    • Terms and Conditions
    • Disclaimers
    • Privacy Policy
    • Accessibility Statement

    Newsletter

    • Subscribe to our newsletter for delicious exclusive content!

    Contact

    • Contact
    • Work with Me
    • Portfolio

    Copyright ยฉ 2026 Dollop of Dough ALL RIGHTS RESERVED

    As an Amazon Associate I earn from qualifying purchases.

    Rate This Recipe

    Your vote:




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

    Recipe Ratings without Comment

    Something went wrong. Please try again.