Homemade chocolate cupcake topped with a swirl of vanilla buttercream frosting on a ceramic plate.
| |

Chocolate Cupcakes with Chocolate Cream Cheese Filling

Everyone needs a dependable chocolate cupcake recipe, and this one is mine. I have made these cupcakes at least 20 times, and they are always a hit.

They are dense, moist and rich, with chocolate cream cheese filling in the center and cream cheese frosting on top. They contain plenty of butter, sour cream and cream cheese, but they are worth it.

The cupcakes can be refrigerated for up to five days, assuming there are any left. The only time I had leftovers was after making more than 100 cupcakes for Mark’s birthday party, and even those were gone the following day.

Cocoa powder, cake flour, butter, sugar, eggs, sour cream, chocolate and cream cheese for filled chocolate cupcakes

The complete recipe and detailed instructions are at the end of this post. You will need unsweetened cocoa powder, cake flour, baking powder, salt, unsalted butter, granulated sugar, eggs, vanilla, sour cream, semisweet chocolate chips, cream cheese and powdered sugar.

Combine the Dry Ingredients

Cocoa powder, cake flour, baking powder and salt ready to be sifted for chocolate cupcakesCocoa powder, cake flour, baking powder and salt sifted togetherButter and granulated sugar in a stand mixer bowlButter and sugar creamed until light and fluffy

Sift the cocoa powder, cake flour, baking powder and salt into a medium bowl. If you do not have a sifter, whisk the ingredients thoroughly instead.

Combining the dry ingredients before adding them to the batter helps distribute the cocoa and leavening evenly.

Cream the Butter and Sugar

In a stand mixer fitted with the paddle attachment, beat the room-temperature butter and sugar until light and fluffy.

This should take approximately four to five minutes. Proper creaming incorporates air into the mixture and contributes to the texture of the cupcakes.

Add the Eggs and Vanilla

First egg added to the creamed butter and sugarEgg mixed into the creamed butter and sugar mixtureRemaining eggs incorporated into the cupcake batter one at a timeVanilla extract added to the chocolate cupcake batter

Add the eggs one at a time, beating well after each addition. Add the vanilla after the eggs are fully incorporated.

Adding the eggs gradually helps the batter remain emulsified. Adding them too quickly can make the mixture look curdled or lumpy.

Add the Flour and Sour Cream

First portion of the cocoa and flour mixture added to the cupcake batterSour cream added to the chocolate cupcake batterFinal portion of the dry ingredients added to the chocolate cupcake batterFinished smooth chocolate cupcake batter

Reduce the mixer to low speed. Add the dry ingredients in two portions, alternating with the sour cream and beginning and ending with the flour mixture.

The order should be dry ingredients, sour cream and then the remaining dry ingredients.

Mix only until the batter is combined. Keeping the mixer on low prevents the flour and cocoa from scattering and reduces the risk of overmixing.

Make the Chocolate Cream Cheese Filling

Semisweet chocolate chips in a heat-resistant bowlSemisweet chocolate melted over gently simmering waterSoftened cream cheese added to melted semisweet chocolateBeaten egg added to the chocolate cream cheese mixtureChocolate cream cheese filling whisked until smooth

Place the semisweet chocolate in a heat-resistant bowl set over gently simmering water. Stir until the chocolate is melted and smooth.

Remove the bowl from the heat. Whisk in the softened cream cheese and granulated sugar, followed by the egg, until the filling is smooth.

For a lighter-colored filling with a stronger cream cheese flavor, leave the chocolate chips whole and fold them into the cream cheese mixture instead of melting them.

Fill and Bake the Cupcakes

Paper cupcake liners filled one-third full with chocolate batterChocolate cream cheese filling spooned into the center of each cupcakeAdditional chocolate batter covering the cream cheese fillingBaked chocolate cream cheese cupcakes cooling in the pan

Line a standard 12-cup muffin pan with paper liners.

Fill each liner approximately one-third full with chocolate batter. Spoon about one tablespoon of cream cheese filling into the center of each cup.

Add more chocolate batter until each liner is approximately two-thirds full.

Bake at 350°F (177°C) for 20 to 25 minutes, or until a toothpick inserted into the cake portion comes out clean.

Cool the cupcakes in the pan for five minutes, then transfer them to a wire rack and let them cool completely.

Make the Cream Cheese Frosting

Cream cheese and butter in a stand mixer bowlCream cheese and butter beaten until smoothVanilla and powdered sugar added to the cream cheese and butter mixtureCream cheese frosting transferred to a pastry bagChocolate cupcake decorated with piped cream cheese frosting

Place the cream cheese and butter in a stand mixer fitted with the whisk or paddle attachment. Beat until thoroughly combined and smooth.

Add the vanilla and powdered sugar. Mix on low speed until the sugar is incorporated, then continue mixing until creamy.

Stop and scrape the sides and bottom of the bowl several times to prevent lumps of butter or cream cheese.

Transfer the frosting to a pastry bag fitted with your preferred tip and decorate the completely cooled cupcakes.

Finished chocolate cupcakes with chocolate cream cheese filling and piped cream cheese frosting

Chocolate Cupcakes with Cream Cheese Filling

Rich chocolate cupcakes with a chocolate cream cheese center and smooth cream cheese frosting.

Yield: 12 cupcakes

Oven Temperature: 350°F (177°C)

Bake Time: About 20 to 25 minutes

Chocolate Cupcake Batter

  • 3 ounces unsweetened cocoa powder (85 grams)
  • 2.5 ounces cake flour (70 grams)
  • 1/2 teaspoon baking powder
  • 1/4 teaspoon salt
  • 6 ounces unsalted butter, at room temperature (170 grams)
  • 8 ounces granulated sugar (225 grams)
  • 3 large eggs, at room temperature
  • 1 teaspoon vanilla extract
  • 4.2 ounces sour cream, at room temperature (120 grams)

Chocolate Cream Cheese Filling

  • 4 ounces cream cheese, softened (113 grams)
  • 2 ounces granulated sugar (57 grams)
  • 4 ounces semisweet chocolate chips (113 grams)
  • 1/2 large egg, beaten

Cream Cheese Frosting

  • 4 ounces cream cheese, softened (113 grams)
  • 4 ounces unsalted butter, at room temperature (113 grams)
  • 7.8 ounces powdered sugar, sifted (220 grams)
  • 1 teaspoon vanilla extract

Instructions

  1. Prepare the oven and pan. Preheat the oven to 350°F (177°C). Line a standard 12-cup muffin pan with paper liners.
  2. Combine the dry ingredients. Sift or whisk together the cocoa powder, cake flour, baking powder and salt.
  3. Cream the butter and sugar. Beat them with the paddle attachment for approximately four to five minutes, or until light and fluffy.
  4. Add the eggs. Beat in the eggs one at a time, mixing well after each addition.
  5. Add the vanilla. Mix until incorporated.
  6. Finish the batter. On low speed, add half of the dry mixture, followed by the sour cream and then the remaining dry mixture. Mix only until combined.
  7. Melt the chocolate. Place the semisweet chocolate in a heat-resistant bowl over gently simmering water and stir until smooth.
  8. Make the filling. Remove the chocolate from the heat and whisk in the cream cheese and granulated sugar. Add the beaten half egg and whisk until smooth.
  9. Add the first batter layer. Fill each paper liner approximately one-third full with chocolate cupcake batter.
  10. Add the filling. Spoon approximately one tablespoon of chocolate cream cheese filling into the center of each cup.
  11. Cover the filling. Add enough chocolate batter to fill each liner approximately two-thirds full.
  12. Bake the cupcakes. Bake for 20 to 25 minutes, or until a toothpick inserted into the cake portion comes out clean.
  13. Cool the cupcakes. Let them cool in the pan for five minutes, then transfer them to a wire rack and cool completely.
  14. Make the frosting. Beat the cream cheese and butter until smooth. Add the vanilla and powdered sugar, then mix until creamy.
  15. Decorate the cupcakes. Transfer the frosting to a pastry bag and pipe it over the completely cooled cupcakes.

Recipe Notes

  • Use room-temperature butter, eggs, sour cream and cream cheese for smoother mixing.
  • Cream the butter and sugar thoroughly to help create the proper cupcake texture.
  • Add the eggs one at a time so the batter remains emulsified.
  • Mix on low speed after adding the flour to avoid overdeveloping the batter.
  • The original narrative omitted the granulated sugar when describing the filling. It has been included here because it appears in the ingredient list.
  • To measure half an egg, beat one egg thoroughly and use half by weight or volume.
  • Insert the toothpick into the cake portion rather than directly into the soft filling when testing for doneness.
  • Cool the cupcakes completely before frosting.
  • Because the filling and frosting contain cream cheese, store the cupcakes in the refrigerator.

Chocolate Cream Cheese Cupcake FAQs

What makes these chocolate cupcakes moist?

Butter, eggs and sour cream provide fat and moisture. Sour cream also adds acidity and helps create a tender texture.

Why does this recipe use cake flour?

Cake flour has less protein than all-purpose flour, which helps produce a softer and more tender crumb.

Can I use all-purpose flour instead of cake flour?

It can be substituted by weight, but the cupcakes may have a slightly firmer texture.

Why should the eggs be added one at a time?

Gradual additions allow the eggs to combine with the butter mixture more evenly and reduce the chance of the batter separating.

Why did my cream cheese filling sink?

The filling is heavier than the cake batter and will naturally settle somewhat. Adding a layer of batter underneath and covering the filling helps keep it near the center.

Can I leave the chocolate chips whole?

Yes. Folding whole chips into the cream cheese mixture creates a lighter filling with pockets of chocolate rather than a uniform chocolate filling.

How do I measure half an egg?

Beat one egg until uniform, then divide it in half by weight or volume. A large egg without its shell generally weighs about 50 grams.

Why did my cupcakes sink after baking?

They may have been underbaked, overfilled or removed from the oven before the cake structure was fully set.

Why is my cream cheese frosting runny?

The butter or cream cheese may have been too warm, or the mixture may have been overbeaten. Chill it briefly, then mix again until firm enough to pipe.

Can the cupcakes be made ahead?

Yes. Bake and cool them ahead, then refrigerate them in a covered container. The frosting can be added the same day or shortly before serving.

How should these cupcakes be stored?

Store them covered in the refrigerator because both the filling and frosting contain cream cheese. Let them sit briefly at room temperature before serving.

Can chocolate cream cheese cupcakes be frozen?

The unfrosted cupcakes can be frozen in an airtight container. Thaw them in the refrigerator, then add the frosting after they have fully defrosted.

What equipment do I need for this recipe?

Recommended equipment: Stand mixer (opens Amazon in a new tab), Paddle attachment (opens Amazon in a new tab), Mixing bowl (opens Amazon in a new tab), Whisk (opens Amazon in a new tab), Cooling racks (opens Amazon in a new tab), Fine-mesh sieve (opens Amazon in a new tab), Piping bag (opens Amazon in a new tab), Muffin pan (opens Amazon in a new tab).

As an Amazon Associate, I earn from qualifying purchases.

What is the estimated nutrition per cupcake?

Estimated nutrition per cupcake: Calories: 469 calories; Carbohydrates: 56.8 g; Protein: 5 g; Fat: 27.5 g; Saturated Fat: 16.7 g; Unsaturated Fat: 9.9 g; Trans Fat: 0.9 g; Cholesterol: 116 mg; Sodium: 107 mg; Fiber: 3.4 g; Sugar: 47 g.

More Baking Posts