Posted on — Leave a comment

Chocolate Cupcakes Recipe: Easy, Moist & From Scratch

Chocolate cupcakes topped with swirls of chocolate frosting, with one opened to show the soft chocolate crumb inside.

Peel back the paper from a good chocolate cupcake and the cake should come away cleanly. Break it open and the crumb should feel soft and moist without turning pasty or falling into pieces. Add frosting and the cupcake should still be able to hold itself together.

These chocolate cupcakes are made from scratch with cocoa powder, neutral oil and buttermilk, followed by hot coffee or hot water. There is no butter to cream, no chocolate to melt and no mixer to drag out. They come together easily for a last-minute tray and still have the structure to take frosting, travel in a cupcake box or sit on a birthday table.

The batter may look a little alarming the first time you make it because it becomes much thinner than a butter-based cupcake batter. Leave it loose. That is how it should look. The two things worth watching closely are how much goes into each liner and when the cupcakes are actually ready to come out of the oven.

Chocolate Cupcakes Recipe

YieldAbout 12 standard cupcakes
Prep15 minutes
Bake17–20 minutes; start checking at 17
Oven350°F / 175°C conventional / 160°C fan
Cooling5 minutes in the pan, then transfer to a rack
MixerNot required

Kitchen note: Oven and pan differences can shift the exact bake time and portioning slightly, so use the physical cues below alongside the timings.

The quantities are for an ordinary 12-hole cupcake or muffin tin, not a jumbo or mini pan. A light-colored metal pan gives the easiest baseline; very dark pans tend to set the outside faster.

Ingredients

Measured chocolate cupcake ingredients arranged before mixing, including flour, cocoa powder, sugar, egg, oil, buttermilk and coffee.
A short ingredient list still works as a system. Cocoa builds the chocolate base, oil supports lasting softness, while the egg, buttermilk and hot liquid help turn that base into a cake that can stay tender without losing its structure.
  • 120 g all-purpose flour — 1 cup; plain flour in the UK
  • 35 g natural unsweetened cocoa powder — about 6 tablespoons + 2 teaspoons
  • 175 g granulated sugar — 3/4 cup + 2 tablespoons
  • 4 g baking powder — 1 teaspoon
  • 2.5 g baking soda — 1/2 teaspoon
  • 3 g fine salt — 1/2 teaspoon
  • 1 large egg — roughly 50 g without the shell
  • 80 ml neutral oil — 1/3 cup; vegetable, canola, sunflower or another mild oil
  • 120 ml buttermilk — 1/2 cup
  • 10 ml vanilla extract — 2 teaspoons
  • 120 ml hot brewed coffee or hot water — 1/2 cup

For metric measuring: use the gram setting on your scale for the flour, cocoa and sugar, and a measuring jug for the liquids. A scale’s “ml” setting assumes a particular density, so it is not interchangeable across ingredients.

No cultured buttermilk? Put 1 1/2 teaspoons lemon juice or white vinegar into a measuring jug, then add enough whole milk to reach 120 ml / 1/2 cup. Leave it for 5–10 minutes before using. It is a common stand-in for buttermilk, although it is not identical to cultured buttermilk.

Method

  1. Heat the oven. Preheat to 350°F / 175°C conventional / 160°C fan. Position a rack near the middle and line the cupcake pan.
  2. Mix the dry ingredients. Whisk the flour, cocoa, sugar, baking powder, baking soda and salt in a large bowl. Break up any obvious cocoa or leavener lumps while you are there.
  3. Mix the wet ingredients. In a jug or second bowl, whisk the egg, oil, buttermilk and vanilla until evenly combined.
  4. Bring them together. Pour the wet mixture into the dry ingredients and whisk gently until the visible pockets of flour and cocoa disappear. A few tiny lumps are fine.
  5. Add the hot coffee or water. Pour it in gradually and whisk just until combined. The batter should now be thin and easy to pour. That sudden looseness is expected.
  6. Fill the liners. Divide the batter between 12 standard liners, filling each roughly halfway to two-thirds full. See the liner-fill guide for a closer visual reference.
  7. Bake. Bake for 17–20 minutes, starting to check at 17. The surface should look set, a light press should spring back, and a toothpick inserted in the center should come out without liquid batter. A few soft crumbs are fine. See the doneness guide if you are unsure.
  8. Cool. Leave the cupcakes in the pan for 5 minutes, then transfer them to a wire rack. Cool completely before frosting.

What the Batter Should Look Like

Thin chocolate cupcake batter flowing from a whisk into a bowl, showing its loose consistency before baking.
Treat the bowl as a checkpoint, not an invitation to correct the recipe. A chocolate cupcake batter that looks thinner than expected isn’t automatically wrong; adding flour simply because it looks unfamiliar changes the balance you’re trying to bake.

Scaling the Batch

BatchWhat to Do
HalfHalve the ingredients. Beat the egg until uniform, weigh it and use half—roughly 25 g. Expect about 6 cupcakes.
DoubleDouble everything. If your oven holds only one pan, two freshly mixed batches are more predictable than leaving half the batter sitting for a long time.
MiniFill mini liners halfway to two-thirds full and start checking early. Around 9 minutes is a reasonable starting point; use the same physical doneness cues.
Full-size cakeDon’t simply pour this batter into a larger pan and guess the bake. Use the chocolate cake recipe, which is built for larger pans and a longer bake.

More Help With Chocolate Cupcakes

If your tray is already in the oven, the recipe above is enough to keep going. The sections below explain what to watch for as the cupcakes bake, cool and get frosted.

How Full Should Cupcake Liners Be?

Aim for roughly halfway to two-thirds full. If you prefer to weigh the batter, somewhere around 55–60 g per liner is a sensible starting range. However, the height in your particular tin matters more than the exact number.

“Standard” cupcake tins are not all the same. One may have narrow, deep wells while another is wider and shallower, so the same weight of batter can sit at a different height.

Cupcake liners containing different amounts of chocolate batter to compare their fill levels.
Consistency across the tray matters as much as the exact amount in one liner. Cupcake tins vary in shape, so use the batter height as your visual reference and keep the portions reasonably even for a more predictable rise and bake.

The last spoonful in the bowl is where good intentions get cupcakes into trouble. Too much batter can climb over the paper before the middle has time to firm up, leaving broad mushroom tops or a dramatic rise that disappears as the cakes cool.

How to Tell When Chocolate Cupcakes Are Done

Start checking at 17 minutes. Because chocolate cake is already dark, color alone is not especially helpful, so watch the surface and feel the center instead.

The clock tells you when to start looking; the cupcake tells you when to stop baking.

Chocolate cupcakes being checked for doneness with a light finger press and a toothpick in the center.
Treat baking time as a checking window, not a finish line. Pan shape, portion size and oven behaviour can shift the exact minute, so the cupcake’s physical doneness cues are more useful than chasing one universal bake time.

A top that springs back after a light press is a better sign than one that keeps a fingertip dent. The surface should also look set rather than wet. A toothpick may carry a few soft crumbs, but it should not come out coated in liquid batter.

Don’t worry if the top is fairly level. A tall muffin dome is not the goal here.

If the cakes still seem raw well beyond the expected window, check the oven temperature before simply extending the bake. Home ovens can be surprisingly optimistic about how hot they really are.

Moist Is Good. Fragile Isn’t.

What we’re after is the middle ground: a soft crumb that still peels and frosts cleanly.

Oil and sugar help the crumb stay soft, while flour and egg give it enough body to hold together. Cocoa absorbs liquid too. As a result, adding extra powder by the spoonful can leave the cake drier instead of more intensely chocolatey.

Cooled chocolate cupcake with its paper liner peeled back to reveal the soft, intact crumb.
Moist and underbaked are not synonyms. A properly baked chocolate cupcake can feel exceptionally soft while still having an even crumb sturdy enough to survive peeling, frosting and handling.

Once a cupcake is cool, peel one before frosting the batch. The paper should come away without taking half the cake with it, and the crumb should look soft all the way through—not wet or gummy near the center.

Something still looks wrong? Diagnose your chocolate cupcakes →

Fix My Chocolate Cupcakes

To diagnose a chocolate cupcake problem, check three places first: the top, the crumb and the wrapper.

If yours did something odd, start with where the problem showed up instead of changing several things at once.

The Top

The surface is the quickest place to begin because it shows how the cupcake rose and whether that rise held as the cake set and cooled.

Chocolate cupcakes shown with contrasting top shapes and baking outcomes for comparison.
Start the diagnosis where the problem is easiest to see. The cupcake top records what happened during the rise, so its shape can narrow the possibilities before you start changing ingredients or technique.
What You SeeWhat to Check
Deep craterUnderbaked middle, too much batter, excess leavener or a cool oven.
Rose high, then sankThe middle probably had not firmed up enough to hold the rise.
Overflow or mushroom topToo much batter in the liner.
Barely roseOld leavener, a cool oven or a measuring error.
Fairly flatOften completely normal for this style of cupcake.

Top looks normal? Check the crumb →

The Crumb

Cutting one open adds information that the surface cannot give you. Texture, tunnels and the condition of the center can point toward very different causes.

Cut chocolate cupcakes showing contrasting interior crumb textures and baking problems.
Next, look beneath the surface. Two chocolate cupcakes can look similar from above yet reveal very different problems inside, making crumb texture one of the most useful clues when a batch hasn’t baked as expected.
What You SeeWhat to Check
Dry or crumblyToo much flour or cocoa, too much oven time, or an oven running hot.
Dense or rubberyThe batter may have been mixed too long after the flour was wet.
Wet, gummy or falling apartLet the cupcakes cool first. If the crumb is still gummy or fragile, check doneness and whether the flour and liquids were measured accurately.
Long tunnelsOvermixing is a common cause.
Bitter spotsLook for clumps of cocoa, baking soda or undissolved instant coffee.

Crumb looks right? Check the wrapper →

The Wrapper

If the cake itself looks sound, don’t ignore the paper around it. Wrapper behaviour can tell you about the liner, cooling and storage as well as the bake.

Chocolate cupcakes showing wrappers that stick to the cake, separate from the sides or appear greasy.
Finally, check the paper before blaming the recipe. If the top and crumb look reasonable but the wrapper sticks, separates or turns greasy, the liner itself, cooling and storage conditions deserve attention too.
What You SeeWhat to Check
Cake sticks badlyTry a better parchment or greaseproof liner and judge release only after the cake has cooled.
Paper pulls awayWarm storage, condensation, a slightly underbaked cake or the liner itself.
Paper looks oily or turns darkThe liner may not be sufficiently greaseproof. Foil-backed or good greaseproof papers hold up better.

A disappointing first tray is annoying, especially when the batter looked perfectly fine going into the oven. Fortunately, cupcakes usually leave clues about what happened. Change one thing at a time and the next tray becomes much easier to read.

A wet middle is not the shortcut to a molten cupcake. If a flowing chocolate center is what you want, use a recipe designed around it, such as this chocolate lava cake.

↑ Back to the Chocolate Cupcakes Recipe

Cocoa, Coffee and Easy Swaps

Use natural unsweetened cocoa here. Dutch-process cocoa has been alkalized, changing its acidity and how it can interact with a baking-soda formula, so it isn’t a straight swap in this recipe.

Don’t substitute drinking chocolate or hot-cocoa mix because they usually contain sugar, milk powder or other ingredients. For the chemistry behind natural and Dutch cocoa, see King Arthur’s natural-vs-Dutch cocoa guide.

Coffee is optional. Use it when you want a slightly deeper roasted note from the cocoa; otherwise, use the same amount of hot water. Decaf works too, and instant coffee is fine when completely dissolved first.

One mild neutral oil can replace another. If cultured buttermilk is unavailable, use the acidified-milk substitute above. Melted butter is a bigger change because it firms as it cools, so the cupcake will not stay quite as soft as an oil-based one.

Eggless, vegan and gluten-free versions need a formula developed around those changes rather than a one-for-one substitution here.

Choosing a Frosting

Now for the part that is mostly about what sounds good.

Vanilla buttercream is the classic choice when you want a sturdy piped swirl and some contrast against the dark cake. For chocolate on chocolate, use chocolate buttercream or ganache. Cream cheese frosting gives you a tangier finish.

Chocolate cupcakes displayed with several different frosting styles and finishes.
Frosting is a practical decision as well as a flavour decision. Consider how the cupcakes will be served, carried and stored before deciding whether the finish should be simple, sturdy or piled high.

For 12 cupcakes, plan on roughly 2 cups of frosting for moderate swirls. Very tall bakery-style piping may take 2 1/2–3 cups.

Making them ahead? See storage and next-day serving →

Bake Today, Serve Tomorrow

Unfrosted chocolate cupcakes keep best airtight at cool room temperature for 1–2 days. For longer storage, freeze them for up to 2 months for best quality.

If these are for tomorrow’s birthday, school event or party, tonight’s job is simple: bake them, let them cool completely and get them safely covered.

Cooled unfrosted chocolate cupcakes being stored for later decorating, with frosting nearby.
For next-day cupcakes, separating baking from decorating makes the job easier. Let cooling finish completely before storage begins; once the cakes are safely packed away, frosting can wait until it suits your schedule.

Whatever comes next—storing, frosting, transporting or freezing—let the cupcakes cool completely first. Closing up warm cupcakes traps steam, which can make the tops sticky and loosen the papers overnight.

Cupcakes with cream cheese frosting need refrigeration because the topping is perishable. Let them sit out briefly before serving so the cake and frosting can soften again.

If the cupcakes are going into a carrier or across town, moderate swirls are easier to manage than very tall, soft piping. Keep heat-sensitive frostings cool in warm weather.

For the freezer, wrap or contain the unfrosted cupcakes airtight and thaw them while still covered at room temperature. Frost after they have thawed.


The Final Cupcake

Partly eaten frosted chocolate cupcake showing the soft chocolate crumb inside.
The useful test was never whether every cupcake looked perfect in the pan. It’s whether the last bite is still soft, chocolatey and good enough to make you reach for another before the tray disappears.

A towering dome or deliberately wet center isn’t required. If the cake is deeply chocolatey, soft when you bite into it and sturdy enough to peel cleanly from its paper, it has done its job.

Then eat one before the piping bag is washed.

Leave a Reply

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