This post may contain affiliate links. Please read my full disclosure policy.

These chocolate cupcakes are rich, tender, and topped with a silky cream cheese frosting that perfectly balances the deep chocolate flavor. After years working in bakeries I learned what makes a cupcake stand out: moist crumb, strong chocolate notes, and a frosting that complements rather than overwhelms. This scratch-made recipe uses butter for extra flavor and delivers cupcakes you’ll want to bake again and again.
Why You’ll Love These Cupcakes
- Rich chocolate cupcakes – A tried-and-true chocolate cake base that produces moist, tender cupcakes with a true chocolate punch.
- Cream cheese frosting – Smooth, tangy frosting that contrasts the chocolate for an ideal balance of flavors.
- Made from scratch – Real ingredients and simple techniques yield a homemade cupcake that outshines box mixes. Using butter here gives the batter more depth of flavor than many oil-based recipes.

How to Make Chocolate Cupcakes with Cream Cheese Frosting
- Make the cake batter. In a stand mixer cream the room-temperature butter and sugar until light and fluffy. Add the eggs and vanilla, then the cocoa powder, scraping the bowl as needed. Alternate adding the dry ingredients and warm water until combined. Mix briefly at the end to ensure a smooth batter.
- Bake the cupcakes. Line a 12-cup muffin pan with liners and portion the batter evenly (a cookie scoop works well). Bake at 350°F for 20–22 minutes, or until they spring back lightly in the center. Let cool completely before frosting.

- Make the cream cheese frosting. Beat room-temperature butter and cream cheese until smooth. Add half the powdered sugar with the vanilla, mix to incorporate, then add the rest of the sugar and beat until combined. Avoid overmixing, which can make the frosting too soft to pipe.
- Frost the cupcakes. Pipe the frosting using a star or round tip, or simply spread it with a spoon. Finish with chocolate sprinkles, shavings, or cake crumbs for texture and visual appeal.

Tips for the Best Chocolate Cupcakes
- Use room-temperature ingredients. Allow butter and eggs to come to room temperature so they incorporate smoothly and the batter stays lump-free.
- Scrape the bowl often. Regularly scraping the bowl with a rubber spatula ensures even mixing and prevents pockets of unmixed ingredients that can affect texture and appearance.
- Don’t overmix the batter. Mix only until combined after adding dry ingredients to avoid developing too much gluten, which makes cupcakes dense.
- Portion the batter evenly. Use a cookie scoop to fill liners consistently—this yields uniform cupcakes and cleaner work.


Baking Tip: Weigh Your Ingredients!
For consistent results I strongly recommend using a kitchen scale instead of cups. Weighing ingredients improves accuracy, yields more reliable bakes, and reduces cleanup. Gram measurements are included with the recipe.
Cupcake FAQs
What is the best way to store the cupcakes?
Cupcakes with fresh cream cheese frosting can sit at room temperature for up to 8 hours. After that, store them in an airtight container in the refrigerator for up to 3 days. For best flavor and texture, bring refrigerated cupcakes to room temperature for an hour before serving. Unfrosted cupcakes keep at room temperature in an airtight container for up to 3 days.
Can the cupcakes be frozen?
Yes. Freeze completely cooled, unfrosted cupcakes in a single layer in an airtight container for up to 3 months. Thaw at room temperature and frost just before serving.
What tip is best for piping the frosting?
An open star tip is my go-to for cream cheese frosting. A round or French tip will also produce attractive results—use whichever you prefer.
How should I decorate the cupcakes?
Simple chocolate jimmies, shavings, mini chocolate chips, or a few cake crumbs make easy and tasty finishes. Keep decorations light to let the frosting and cake shine.

More Cakes & Cupcakes You’ll Love
- Vanilla Cupcakes with Chocolate Frosting
- Chocolate Pudding Cake
- Chocolate Peanut Butter Snack Cake
- Boston Cream Cupcakes
If you make this recipe and enjoy it, please leave a comment. Happy baking!

Chocolate Cupcakes with Cream Cheese Frosting
Print Recipe
RATE THIS RECIPE
Ingredients
For the Chocolate Cupcakes
- 6 Tablespoons (83g) unsalted butter, at room temperature
- 1 cup (200g) granulated sugar
- 1 large egg + 1 large yolk
- 1 teaspoon vanilla extract
- ⅓ cup (36g) unsweetened cocoa powder
- 1 cup (125g) all-purpose flour
- 1 teaspoon baking powder
- ¼ teaspoon baking soda
- ¼ teaspoon salt
- ½ cup (130g) warm water
For the Cream Cheese Frosting
- ½ cup (1 stick or 113g) unsalted butter, at room temperature
- 8 oz (1 block or 227g) cream cheese, at room temperature
- 2½ cups (300g) powdered sugar, sifted
- 2 teaspoons vanilla extract
- pinch of salt
Instructions
-
Chocolate Cupcakes: Preheat oven to 350°F. Line a 12-count muffin pan with cupcake liners.
-
In a stand mixer fitted with the paddle attachment, cream butter and sugar until light and fluffy, about 3–4 minutes.
-
Add the eggs and vanilla slowly, mixing after each addition. Scrape the bowl, sift in the cocoa, and mix on low until combined; scrape and mix briefly on high to fully incorporate.
-
Sift flour, baking powder, baking soda, and salt. Add half the dry ingredients and half the warm water, mixing on low until just combined. Repeat with the remaining dry ingredients and water, mixing only until no streaks remain. Scrape the bowl and fold a few times to finish.
-
Divide batter into the prepared pan using a cookie scoop. Bake 20–22 minutes, until cupcakes spring back or a toothpick comes out mostly clean. Cool completely.
-
Cream Cheese Frosting: Beat butter and cream cheese until smooth, about 1–2 minutes. Add powdered sugar, vanilla, and a pinch of salt; mix until combined and creamy.
-
Assembly: Pipe or spread a generous amount of frosting on cooled cupcakes. Garnish with chocolate curls or sprinkles and serve.

HI THERE!
I’m Rachel
I’m the recipe developer and creator behind Sweet Kitchen Cravings. Here you’ll find approachable, crowd-pleasing desserts that are perfect for everyday treats or special occasions.
MORE ABOUT RACHEL