Chocolate Cupcakes · Cocoa with Fudge Frosting

Chocolate Cupcakes with Fudge Frosting

Moist, dark cocoa cupcakes mixed by hand in one bowl, topped with a swirl of rich chocolate fudge frosting. Hot coffee deepens the chocolate flavor without tasting like coffee.

New, no ratings yet0 reviewsby Simmerbee Kitchen

Prep
25 min
Cook
19 min
Total
1 hr 55 min
Serves
12 cupcakes
Level
Easy

Ingredients

  • Cupcakes
  • 1 cup all-purpose flour, spooned and leveled (125 g)
    Swaps for all-purpose flour

    Instead of all-purpose flour

    • Gluten-free 1:1 baking flour: The same amount, a blend that includes xanthan gum. A little grittier and more crumbly, browns faster and dries out sooner.
    • Bread flour: The same amount. More gluten: chewier cookies and bread, tougher cakes.
    • Whole wheat flour: Up to half of the flour. Nuttier, darker and denser.

    All 4 swaps for all-purpose flour

    Cooking for an allergy? Check every label.

  • ½ cup unsweetened cocoa powder, 43 g
    Swaps for unsweetened cocoa powder

    Instead of cocoa powder

    • Natural and Dutch-process cocoa: The same amount. Swap freely when the recipe uses baking powder.
    • Unsweetened chocolate: 1 oz melted unsweetened chocolate for each 3 tbsp cocoa; cut the butter or oil by 1 tbsp. Fudgier and richer.
    • Carob powder: The same amount. Caffeine-free and naturally sweet, but it tastes like carob, not chocolate.

    More for cocoa powder

  • 1 cup granulated sugar, 200 g
    Swaps for granulated sugar

    Instead of sugar

    • Less sugar: Up to ¼ less in cookies, muffins and quick breads. Less browning and spread, a drier, more cake-like texture, and bakes go stale sooner.
    • Brown sugar: The same amount, packed. Moister and chewier, with a caramel flavor and darker color.
    • Coconut sugar: The same amount. Darker and caramel-like, a little less sweet; cookies spread slightly less.

    All 4 swaps for sugar

  • ¾ tsp baking soda
    Swaps for baking soda

    Instead of baking soda

    • Baking powder: 3 tsp baking powder for each 1 tsp baking soda. It rises, but bakes come out paler and puffier, cookies spread less, and the extra powder can taste a little bitter.

    More for baking soda

  • ½ tsp baking powder
    Swaps for baking powder

    Instead of baking powder

    • Baking soda + cream of tartar: ¼ tsp baking soda + ½ tsp cream of tartar for each 1 tsp baking powder. Rises the same if you don't let the batter sit.
    • Baking soda + buttermilk or yogurt: ¼ tsp baking soda for each 1 tsp baking powder, and swap ½ cup of the recipe's milk for buttermilk or thinned yogurt. Good rise with a light tang.
    • Self-rising flour: Use it for the flour and leave out the baking powder and salt. Each cup has about 1½ tsp baking powder and ¼ tsp salt built in, so it only fits recipes close to that ratio.

    More for baking powder

  • ½ tsp kosher salt
    Swaps for kosher salt

    Instead of salt

    • Table salt or fine sea salt: About half as much as Diamond Crystal kosher, about ¾ as much as Morton kosher. The same saltiness when measured this way.
    • Salt by weight: 1 tsp is about 6 grams of table salt, 5 grams of Morton kosher, 3 grams of Diamond Crystal kosher. The most reliable way to swap, especially in baking and brines.

    More for salt

  • 1 large egg, room temperature
    Swaps for egg

    Instead of eggs

    • Flax egg: 1 tbsp ground flaxseed + 3 tbsp water for each egg. Binds well but gives less lift, so bakes are a little denser and flatter, with a mild nutty taste and brown flecks.
    • Chia egg: 1 tbsp chia seeds + 3 tbsp water for each egg. Works like a flax egg: good binding, little lift, slightly denser crumb.
    • Unsweetened applesauce: ¼ cup for each egg. Moister and denser, with a soft, slightly gummy crumb if you swap more than one egg.

    All 5 swaps for eggs

    Cooking for an allergy? Check every label.

  • ½ cup buttermilk, 120 ml
    Swaps for buttermilk

    Instead of buttermilk

    • Milk + lemon juice or vinegar: 1 tbsp lemon juice or white vinegar in a measuring cup, topped up with milk to 1 cup, for each cup. Thinner and a bit less tangy, so bakes are a touch less tender.
    • Plain yogurt + milk: ¾ cup plain yogurt + ¼ cup milk for each cup (with Greek yogurt: ½ cup + ½ cup). The closest match for tang and thickness.
    • Plain kefir: The same amount. Similar tang, a little thinner.

    All 4 swaps for buttermilk

  • ⅓ cup vegetable oil, 80 ml
    Swaps for vegetable oil

    Instead of vegetable oil

    • Another neutral oil: The same amount. No difference.
    • Melted butter: The same amount. Richer, buttery flavor; cakes are a little less moist and firmer once cool.
    • Light olive oil: The same amount. "Light" olive oil tastes mild.

    All 4 swaps for vegetable oil

  • 1 tsp vanilla extract
    Swaps for vanilla extract

    Instead of vanilla extract

    • Vanilla bean paste: The same amount. Stronger, with visible vanilla seeds.
    • Vanilla bean: The seeds of 1 bean for each 1 tbsp extract. A deeper, floral flavor and visible seeds.
    • Alcohol-free vanilla: The same amount. Made with glycerin; a slightly milder taste.

    All 5 swaps for vanilla extract

  • ½ cup coffee, hot, brewed, or hot water (120 ml)
  • Fudge frosting
  • ½ cup unsalted butter, softened (113 g)
    Swaps for unsalted butter

    Instead of butter

    • Salted butter: The same amount, with about ¼ tsp less salt per stick (½ cup) elsewhere in the recipe. Nothing noticeable once you cut the salt.
    • Plant-based butter sticks: The same amount. The closest swap.
    • Refined coconut oil: The same amount: solid when the butter is soft or cold, melted when it is melted. It is all fat, so bakes are a bit more tender and rich, with no butter flavor.

    All 4 swaps for butter

    Cooking for an allergy? Check every label.

  • 2 cups powdered sugar, 240 g
    Swaps for powdered sugar

    Instead of powdered sugar

    • Homemade powdered sugar: 1 cup granulated sugar + 1 tbsp cornstarch, blended. Slightly grainier in uncooked frosting; fine in glazes and for dusting.

    More for powdered sugar

  • ½ cup unsweetened cocoa powder, 43 g
    Swaps for unsweetened cocoa powder

    Instead of cocoa powder

    • Natural and Dutch-process cocoa: The same amount. Swap freely when the recipe uses baking powder.
    • Unsweetened chocolate: 1 oz melted unsweetened chocolate for each 3 tbsp cocoa; cut the butter or oil by 1 tbsp. Fudgier and richer.
    • Carob powder: The same amount. Caffeine-free and naturally sweet, but it tastes like carob, not chocolate.

    More for cocoa powder

  • 1 pinch salt
    Swaps for salt

    Instead of salt

    • Kosher salt: About twice as much Diamond Crystal, or about 1¼ times as much Morton. The same saltiness when measured this way.
    • Salt by weight: 1 tsp is about 6 grams of table salt, 5 grams of Morton kosher, 3 grams of Diamond Crystal kosher. The most reliable way to swap, especially in baking and brines.

    More for salt

  • 1 tsp vanilla extract
    Swaps for vanilla extract

    Instead of vanilla extract

    • Vanilla bean paste: The same amount. Stronger, with visible vanilla seeds.
    • Vanilla bean: The seeds of 1 bean for each 1 tbsp extract. A deeper, floral flavor and visible seeds.
    • Alcohol-free vanilla: The same amount. Made with glycerin; a slightly milder taste.

    All 5 swaps for vanilla extract

  • 3–4 tbsp milk
    Swaps for milk

    Instead of milk

    • Unsweetened soy milk: The same amount. The closest plant milk for baking: its protein helps things brown and set.
    • Unsweetened oat milk: The same amount. Creamy and mild with a hint of sweetness.
    • Unsweetened almond milk: The same amount. Thinner and less rich, so cakes are a little paler and drier.

    All 5 swaps for milk

    Cooking for an allergy? Check every label.

Cooking for a crowd? Pans, timing and salt for 12 to 50.

Missing something? Tap Swaps next to an ingredient, or see all substitutions.

Steps

Kid helper. A child can do steps 2, 3, 8, 9 and 10: no knife, no heat. Steps marked “Grown-up” use heat. Cooking with kids

  1. Heat the oven to 350°F (175°C).
    Line (how to line a pan) Line a pan Cover the bottom (and sometimes sides) of a pan with parchment or foil so food doesn't stick and lifts out easily. 1. For a sheet pan, tear parchment the size of the pan and lay it flat.2. For a round cake pan, trace the bottom on parchment, cut the circle out and press it in.3. For brownies and bars, leave two long sides hanging over to make handles (a "sling").4. A little grease under the paper holds it in place. Done when: The paper lies flat with no folds where the batter could run under it. How to line a baking pan with parchment: mistakes to avoid
    a 12-cup muffin tin with paper liners.
    350°FGrown-up: heat
  2. Sift (how to sift) Sift Pass dry ingredients through a fine sieve to break up lumps and mix them evenly. 1. Set a fine-mesh strainer over a bowl or a sheet of parchment.2. Spoon in the dry ingredients.3. Tap the side of the strainer or stir gently so they fall through.4. Press any lumps through with the back of a spoon. Done when: There are no lumps of powdered sugar, cocoa or baking soda left. How to sift flour and powdered sugar: mistakes to avoid
    the flour and cocoa into a large bowl through a strainer, then
    whisk (how to whisk) Whisk Beat ingredients with a whisk to mix them smoothly or to add air. 1. Use a bowl big enough to whisk without splashing; set it on a damp towel to stop it spinning.2. Hold the whisk loosely and move it in quick circles or side to side, touching the bottom.3. For lumpy mixtures, add liquid a little at a time and whisk after each.4. For sauces on the stove, keep the whisk moving across the whole bottom of the pan. Done when: The mixture is even with no lumps or streaks of egg. How to whisk: mistakes to avoid
    in the sugar, baking soda, baking powder and salt.
    Kid step
  3. Add the egg, buttermilk, oil and vanilla and whisk until smooth.
    Kid step
  4. Slowly whisk in the hot coffee. The batter will be thin; that is what makes these moist.
    Grown-up: heat
  5. Pour or scoop the batter into the liners, filling them about two-thirds full.
    Grown-up: heat
  6. Bake until the tops spring back and
    a toothpick (how to toothpick test) Toothpick test A quick way to tell if a cake, quick bread or brownie is baked through. 1. Near the end of the baking time, open the oven and pull out the rack.2. Poke a toothpick or thin skewer into the center (the last place to set).3. Pull it straight out and look at it.4. If wet batter clings, bake a few minutes more and test again. Done when: Clean, or with a few moist crumbs for brownies and fudgy cakes. Wet, shiny batter means not yet. How to test a cake with a toothpick: mistakes to avoid
    in the center comes out clean.
    350°F⏱ Bake: 19 minGrown-up: heat
  7. Cool in the tin 5 minutes, then move the cupcakes to a rack and cool completely.
    ⏱ Cool: 1 hrGrown-up: heat
  8. For the frosting,
    beat (how to beat) Beat Mix hard and fast, by hand or with a mixer, to blend ingredients fully and add air. 1. Use a mixer on the speed the recipe gives, or a fork or whisk for a few eggs.2. Add eggs one at a time, beating until each disappears before the next.3. Stop and scrape the bowl and beaters now and then.4. Mix on low once flour goes in, just until combined. Done when: The mixture is smooth and even, with no streaks of yolk or white. Safety: Turn the mixer off before you scrape the bowl or reach in.How to beat eggs and batters: mistakes to avoid
    the butter until creamy. Sift in the powdered sugar and cocoa and beat on low until combined.
    Kid step
  9. Add the salt, vanilla and 3 tablespoons of milk and beat on medium until fluffy, adding another spoonful of milk if it is too stiff to pipe.
    ⏱ Whip frosting: 2 minKid step
  10. Spoon the frosting into a piping bag with a large star tip and pipe a swirl on each cupcake, or spread it on with an offset spatula.
    Kid step

Tap an underlined word for how to do it, or see all techniques.

Tips

  • Do not overfill the liners. Two-thirds full gives a nicely domed top that does not spill over.
  • Frost only fully cooled cupcakes or the frosting will slide off.

Storage

Covered at room temperature up to 2 days, or refrigerated up to 4 days. Serve at room temperature.

Make ahead

Freeze unfrosted cupcakes up to 2 months. Thaw, then frost.

Quick answers

Can I freeze it?

Freeze unfrosted cupcakes up to 2 months. Thaw, then frost.

What can I swap?

Cooking for an allergy? Check every label.

Answered from this recipe's own storage, make-ahead and swap notes.

Estimated nutrition per serving

Calories
330
Protein
4 g
Carbohydrates
50 g
Fiber
3 g
Sugars
37 g
Fat
15 g
Saturated fat
7 g
Sodium
210 mg

Whole recipe, 12 servings: about 3,990 calories.

Estimate from USDA FoodData Central; not medical or dietary advice. Based on 17 of 17 ingredients.

How we estimate

We add up USDA FoodData Central values for each measured ingredient as written and divide by the recipe's 12 servings, so changing the servings or units here doesn't change a serving. Brands, swaps, trimming and cooking all change the real numbers.

Estimated cost

About $0.45 a serving

About $5.30 for the recipe as written (12 servings).

Estimate; prices vary by store and region. U.S. average prices for September 2026 from BLS Average Price Data and USDA ERS Purchase to Plate prices updated with the BLS Consumer Price Index. Priced: 11 of 17 ingredients, 99% by weight.

How we estimate

Each measured ingredient is weighed as in the nutrition estimate and priced at the U.S. average: BLS's average price where BLS publishes one, else USDA ERS's Purchase to Plate price for 2017-18 raised to September 2026 with the CPI for that food group. Whole packages, store brands, sales and regions all change the real cost: treat it as a ballpark.

  • unsalted butter $1.00 BLS
  • unsweetened cocoa powder $0.95 ERS
  • unsweetened cocoa powder $0.95 ERS
  • powdered sugar $0.80 ERS
  • granulated sugar $0.45 BLS
  • vegetable oil $0.40 ERS
  • buttermilk $0.25 ERS
  • egg $0.20 BLS
  • all-purpose flour $0.15 BLS
  • coffee $0.10 ERS
  • milk $0.05 BLS

Not priced (no official average price we can match, so not in the total): baking soda, baking powder, kosher salt, vanilla extract, salt.

More dishes for less: cheap eats.

Keep this one

Sign in to save recipes into your own collections, log the days you cook them and keep private notes, like "use less sugar next time". Only you see them.

Sign in to saveNo password: we email you a code.

Gear for this recipe

As an Amazon Associate we earn from qualifying purchases. Brands are suggestions; any similar item works.

Cleanup score 2/5 (more cleanup): 4 things to wash, muffin tin, mixing bowl, strainer, hand mixer beaters.

More kitchen gear and our gear guides

Reviews (0)

No reviews yet. Made it? Tell us how it went.