Jump to recipe ↓ · Print recipe
To make chocolate cupcakes with cocoa powder, whisk flour, sugar, cocoa, baking soda, baking powder and salt in one bowl, mix in eggs, buttermilk, oil and vanilla, then stir in ½ cup of hot coffee or hot water. Fill 12 lined muffin cups two-thirds full and bake at 350°F for 18 to 20 minutes. Oil and the hot liquid are what keep the cupcakes soft and moist for days.
This is a one-bowl batter with no mixer and no melted chocolate: cocoa powder does all the chocolate work. Below you will find the recipe, a quick cocoa frosting, why the batter is so thin, and how to fix sunken, dry or sticky cupcakes.
What makes chocolate cupcakes moist instead of dry?
Three things: oil, a hot liquid and a short bake. Oil stays liquid at room temperature, so the crumb stays tender long after the cupcakes cool, while butter firms up and can make them taste drier the next day. Hot coffee or hot water dissolves the cocoa and “blooms” it, which brings out a deeper chocolate flavor and gives the batter its loose, pourable texture. Coffee does not make the cupcakes taste like coffee; it just makes the chocolate taste stronger. The last piece is timing: chocolate cupcakes go from moist to dry in 2 or 3 minutes, so start checking at 18.
Ingredients (12 cupcakes)
- 1 cup (125 g) all-purpose flour
- 1 cup (200 g) granulated sugar
- ½ cup (43 g) unsweetened cocoa or cacao powder
- 1 teaspoon baking soda
- ½ teaspoon baking powder
- ½ teaspoon fine salt
- 2 large eggs, room temperature
- ½ cup (120 ml) buttermilk, room temperature
- ⅓ cup (80 ml) vegetable or canola oil
- 1 teaspoon vanilla extract
- ½ cup (120 ml) hot coffee or hot water
For the frosting
- ½ cup (113 g) unsalted butter, softened
- ⅔ cup (57 g) unsweetened cocoa powder
- 3 cups (360 g) powdered sugar
- ⅓ cup (80 ml) milk, plus more if needed
- 1 teaspoon vanilla extract
- Pinch of fine salt
How do you make chocolate cupcakes?
- Heat the oven to 350°F (175°C) and line a 12-cup muffin pan with paper liners.
- In a large bowl, whisk the flour, sugar, cocoa powder, baking soda, baking powder and salt. Sift the cocoa first if it has lumps.
- Add the eggs, buttermilk, oil and vanilla and whisk until smooth, about 1 minute.
- Slowly whisk in the hot coffee or water. The batter will be thin; that is right.
- Divide the batter among the liners, a scant ¼ cup each, so they are about two-thirds full.
- Bake 18 to 20 minutes, until the tops spring back and a toothpick in the center comes out with a few moist crumbs.
- Cool 5 minutes in the pan, then move to a rack and cool completely, about 30 minutes, before frosting.
Moving the cupcakes out of the pan after 5 minutes matters more than it sounds. Left in the hot pan, steam collects between the liner and the cake, and the liners peel away or turn greasy.

How full should you fill cupcake liners?
Fill them about two-thirds full. That leaves room for a gentle dome that sits just above the liner, which is the best base for a swirl of frosting. Less batter gives flat, short cupcakes; more batter spills over the edge and bakes into a “muffin top” that sticks to the pan. A ¼-cup spring-loaded scoop, filled just short of level, makes every cupcake the same size, so they all finish baking at the same time.
If you prefer flat tops for decorating, bake at 325°F for 22 to 24 minutes. The slower rise keeps the tops level.
Natural or Dutch-process cocoa for cupcakes?
This recipe is built for natural cocoa. Natural (non-alkalized) cocoa is acidic, and that acid, together with the buttermilk, reacts with the baking soda to lift the batter. Dutch-process cocoa is washed with an alkali that neutralizes that acid, so with ½ cup of it and a teaspoon of soda the cupcakes rise less and taste a little soapy. Here is the simple rule we use:
- 3 tablespoons of cocoa or less: swap natural and Dutch 1:1, no changes.
- More cocoa and baking soda only: Dutch rises poorly, so add an acid such as buttermilk, yogurt or a little vinegar.
- Baking powder only: natural cocoa works fine, because baking powder carries its own acid.
To use Dutch-process cocoa in this recipe, keep the buttermilk and change the leaveners to ½ teaspoon baking soda and 1½ teaspoons baking powder. The cupcakes will be darker and mellower. For the full picture, read natural vs Dutch-process cocoa powder and our guide to baking with cocoa powder.
How do you frost chocolate cupcakes?
Beat the soft butter until creamy, beat in the cocoa and salt, then add the powdered sugar a cup at a time with splashes of milk between additions. Finish with the vanilla and beat 1 to 2 minutes until fluffy. This makes about 2 cups, enough for a generous swirl on all 12 cupcakes. Pipe it with a large star tip, or spread it with the back of a spoon. Step-by-step photos and flavor ideas are in our chocolate frosting with cocoa powder recipe, and for a lighter topping try chocolate whipped cream.
Why are my chocolate cupcakes sunken, dry or sticky?
| Problem | Cause | Fix |
|---|---|---|
| Sunken centers | Underbaked, oven door opened early, or old baking soda | Bake until the top springs back; keep the door shut for 15 minutes; use fresh leaveners |
| Dry crumb | Overbaked or too much flour | Start checking at 18 minutes; spoon and level the flour, or weigh it |
| Liners peel away | Cupcakes cooled in the hot pan | Move them to a rack after 5 minutes |
| Sticky tops | Covered while still warm | Cool completely before storing |
| Overflowing tops | Liners too full | Fill only two-thirds, a scant ¼ cup each |
| Flat chocolate flavor | Cold liquid or weak cocoa | Use hot coffee and a full-flavored unsweetened cocoa |
How do you store chocolate cupcakes?
Unfrosted cupcakes keep 2 days at room temperature in an airtight container. Frosted with buttercream, they keep 2 days at room temperature or up to 5 days in the fridge; let them sit out 20 minutes before serving so the frosting softens. To freeze, wrap unfrosted cupcakes and freeze for up to 3 months, then thaw at room temperature and frost.
The cocoa you use is the only chocolate in these cupcakes, so its flavor comes through clearly. Grevista is a natural, non-alkalized, unsweetened cocoa from Vietnamese Trinitario cacao grown in Đắk Lắk, with a bright, fruity chocolate taste, and it works with the baking soda in this recipe as written. Learn more about natural cocoa powder. See sizes on the Grevista cocoa powder page.
For another cocoa bake, try our chocolate donuts with cocoa powder.
Frequently asked questions
Can I use butter instead of oil?
Yes, use the same amount of melted butter. The cupcakes taste richer on day one but turn a little firmer once they cool.
Can I make these without coffee?
Yes. Hot water works the same way and blooms the cocoa just as well; the flavor is slightly lighter.
What can I use instead of buttermilk?
Stir ½ tablespoon of lemon juice or white vinegar into ½ cup of milk and let it sit 5 minutes, or use plain yogurt thinned with a little milk.
How long do I bake mini chocolate cupcakes?
Fill mini liners two-thirds full and bake at 350°F for 9 to 11 minutes. The batter makes about 36 minis.
Can I bake this batter as a cake?
Yes. Double it for two 8-inch rounds, or see our chocolate cake with cocoa powder for a recipe sized for layers.
Can I bake these cupcakes with cacao powder?
Yes. In the U.S., unsweetened cacao powder and unsweetened cocoa powder are usually the same product sold under two names, so swap them 1:1. Keep the leavening as written; natural cacao bakes slightly lighter in color with a brighter, fruitier chocolate flavor. More in cacao vs cocoa powder.
Sources
- King Arthur Baking, Ingredient Weight Chart.
- King Arthur Baking, Dutch-process vs. natural cocoa (2020).
- Iowa State University Extension, AnswerLine: Natural vs Dutch-processed cocoa.
Written by the Grevista Editorial Team. Last updated November 7, 2026. How we check facts: Editorial Policy.
If you’d rather skip the frosting, our chocolate muffins with cocoa powder bake tall, domed tops from a one-bowl batter and work well for breakfast.

