Decadent Chocolate Cupcakes with Cream Cheese Frosting

These super moist chocolate cupcakes with chocolate cream cheese frosting are made for serious chocolate lovers. The recipe is simple to follow and doesn’t require a stand mixer for the cupcakes. The frosting is rich and silky but stable enough to pipe because the cream cheese is kept cold.

Two chocolate cupcakes with chocolate frosting and rainbow sprinkles.

After perfecting a vanilla cream cheese frosting version, I wanted a deeper, more chocolate-forward cupcake — so I developed this chocolate variation. The base is my reliable cupcake batter that uses oil for lasting moistness, plus sour cream (or Greek yogurt) for extra tenderness. The chocolate cream cheese frosting is intensely chocolatey and holds its shape for piping, thanks to using cold cream cheese.

Grab Your Ingredients

All the ingredients needed to make chocolate cupcakes with chocolate cream cheese frosting, weighed out into small bowls.
  • Oil: Use a neutral oil such as vegetable, canola, or sunflower. Oil keeps the cupcakes soft and moist for days and lets you mix the batter by hand.
  • Butter: Butter is used in the frosting. If you prefer a frosting without butter, substitute with a cream cheese-only version.
  • Cocoa powder: This recipe calls for Dutch-processed cocoa for both cupcakes and frosting. Dutch-processed cocoa behaves differently with leaveners than natural cocoa, so swapping can affect results. Natural cocoa can be used in the frosting if needed.
  • Espresso powder: A small amount enhances the chocolate flavor without making the cupcakes taste like coffee. It’s optional but recommended.
  • Cream cheese: Use full-fat cream cheese and keep it cold for the frosting so it stays stable and pipeable.

Let’s Make Some Cupcakes!

A glass bowl with whisked flour and cocoa powder.

Step 1: Preheat the oven to 350°F (175°C). Line cupcake pans with liners. In a large bowl, whisk together the flour, cocoa powder, sugar, baking powder, baking soda, and salt.

A glass jug with a silver whisk and a light yellow mixture in it.

Step 2: In a separate jug, whisk the eggs, oil, sour cream, and vanilla until smooth. In a small cup, dissolve the espresso powder in the hot water and set aside.

A large glass bowl with chocolate cake batter in it and a whisk.

Step 3: Pour the wet ingredients into the dry and stir until just combined. Add the hot espresso water and mix once more. The batter will be fairly thin, which is expected.

Unbaked chocolate cupcakes in a cupcake pan.

Step 4: Fill each liner about ¾ full. Bake for 18–20 minutes or until a toothpick comes out clean. Let the cupcakes cool in the pan for 10–15 minutes, then transfer to a wire rack to cool completely.

A large mixing bowl with creamed butter in it and cocoa powder and cream cheese.

Step 5: For the frosting, beat room-temperature butter with powdered sugar on low until combined, then increase speed and beat until light and fluffy. Add vanilla and salt.

A large mixing bowl with chocolate frosting in it.

Step 6: Add the cold cream cheese and cocoa powder and beat until smooth. If the frosting is too thick, add heavy cream, one tablespoon at a time, until it reaches a spreadable consistency. Pipe or spread onto cooled cupcakes and serve.

Three chocolate cupcakes on a plate, one has been cut in half.

Top Baking Tips & Notes

  • Cold cream cheese: Keep the cream cheese cold for the frosting. Room-temperature cream cheese makes a runny frosting that won’t pipe well.
  • Weigh ingredients: For consistent results, use a kitchen scale. Measuring by weight helps avoid adding too much flour or cocoa, which can dry out the cupcakes.
  • Substitutions: If you don’t have sour cream, use full-fat Greek yogurt. If you don’t have kosher salt, use half the amount of fine salt.
  • Cocoa: This recipe uses Dutch-processed cocoa. If you only have natural cocoa, use it in the frosting but be aware it may affect rise and flavor in the cupcakes.
  • Make ahead: Cupcakes can be made up to 2 days ahead and stored in an airtight container at room temperature. For longer storage, refrigerate (bring to room temperature before serving).
Chocolate cupcakes with chocolate frosting and rainbow sprinkles on a white cake stand.

Try these cupcake recipes next!

  • Moist Chocolate Fudge Cupcakes
  • Chocolate Oreo Cupcakes
  • Chocolate Salted Caramel Cupcakes
  • Moist Vanilla Cupcakes with Chocolate Frosting
Ella from Alpine Ella is holding a cake stand with cupcakes on it.

Made This Recipe?

Please leave a rating and review below. If you share on social media, tag @alpineella so the author can see your version.

Thank you!

Ella

Recipe

Two chocolate cupcakes with chocolate frosting and rainbow sprinkles.

Chocolate Cupcakes with Chocolate Cream Cheese Frosting

Ella Gilbert

These chocolate cupcakes stay tender thanks to oil and sour cream. The chocolate cream cheese frosting is rich, pipeable, and holds its shape for pretty tops and piping.
Prep Time 20 mins
Cook Time 20 mins
Total Time 40 mins
Course Dessert
Cuisine American
Servings 16 cupcakes
Calories 388 kcal

Equipment

  • 12-cup cupcake pan

Ingredients

Chocolate Cupcakes

  • 1 cup (120 g) all-purpose flour
  • 1 cup (200 g) sugar
  • ½ cup (51 g) Dutch-processed cocoa powder
  • ½ teaspoon (¾ tsp) baking powder
  • ½ teaspoon baking soda
  • ½ teaspoon kosher salt
  • 2 large eggs, room temperature
  • ½ cup (100 ml) vegetable oil
  • 1 tsp vanilla extract
  • ½ cup (113 g) sour cream, room temperature
  • 1 tsp espresso powder
  • ½ cup (118 ml) hot water

Cream Cheese Frosting

  • ¾ cup (170 g) unsalted butter, room temperature
  • 3¾ cups (423 g) confectioners’ sugar
  • 1 tsp vanilla extract
  • ½ tsp kosher salt
  • 4 oz (113 g) cream cheese, cold
  • ½ cup (42 g) Dutch-processed cocoa powder
  • 1 tbsp heavy cream (optional, to adjust consistency)
Ella’s Baking Tip!
Weigh your ingredients with a kitchen scale for the best results.

Instructions

Make cupcakes

  1. Preheat oven to 350°F (175°C). Place 16–18 cupcake liners in pans.
  2. Whisk flour, sugar, cocoa, baking powder, baking soda, and salt in a large bowl.
  3. Stir espresso powder into the hot water until dissolved and set aside.
  4. Whisk eggs, oil, sour cream, and vanilla together until smooth.
  5. Pour wet ingredients into the dry and stir just until nearly smooth. Add the hot espresso water and mix once more. The batter will be thin.
  6. Fill liners ¾ full and bake 18–20 minutes, until a toothpick comes out clean. Cool in the pan 10–15 minutes, then transfer to a rack to cool completely.

Make frosting

  1. Beat butter and confectioners’ sugar on low until combined, then increase speed and beat 2–3 minutes until light and fluffy.
  2. Mix in vanilla extract and salt.
  3. Add cold cream cheese and cocoa powder; beat until combined. If frosting is too thick, add heavy cream 1 tablespoon at a time until desired consistency.
  4. Pipe or spread onto cooled cupcakes. A Wilton 1M tip works well for swirls.

Notes

These recipes are developed and tested using metric weights. For best results, weigh ingredients. Cup measurements are provided as a convenience but may yield different results.

Bring cupcake ingredients (eggs, sour cream) to room temperature before baking. Keep the cream cheese cold until you add it to the frosting to prevent a runny texture.

Salt: If using fine salt instead of kosher, halve the amount called for.

Sour cream: Greek yogurt or full-fat yogurt can be used as a substitute.

Storage: Store cupcakes in the fridge up to 5 days. Bring to room temperature for about 30 minutes before serving.

Calories: 388 kcal
Carbohydrates: 51 g
Protein: 3 g
Fat: 21 g
Sugar: 41 g

The nutritional information is an estimate per serving and not guaranteed to be exact.

Tried this recipe?
Leave a comment below and share a photo if you made it. Tag @alpineella on social media so Ella can see your version.