Halal recipes from around the world

Home › Recipes › Recipes
Chocolate Cupcakes: Why Do They Sink or Dry Out, and How Do You Pipe a Bakery Swirl?
RecipesDesserts

Chocolate Cupcakes: Why Do They Sink or Dry Out, and How Do You Pipe a Bakery Swirl?

A good chocolate cupcake has a domed top, a moist crumb and a swirl of frosting that stays put. A bad one sinks in the middle, turns dry by evening and has frosting that looks like a melted candle.

Why now: Cake and cupcake searches stay high all through December, with birthday cake at 8.7 million monthly searches and rising 43 percent (PinExplore forecast, Dec 2026).

Jump to the recipe ↓

These cupcakes use hot coffee or hot water to bloom the cocoa, oil for moisture and buttermilk for tenderness. The batter is thin, which feels wrong but produces a soft, damp crumb. They bake in 18 minutes and freeze beautifully.

Sinking, dryness and dense texture have specific causes. We cover them one by one and finish with the frosting.

Bloom the cocoa

Stir the cocoa into hot liquid and let it sit for a minute. Heat dissolves cocoa particles and releases flavor, so the cupcakes taste deeply chocolatey. Hot water works if you avoid coffee. Coffee does not taste like coffee here but makes the chocolate taste stronger.

Oil keeps them moist

Oil stays liquid when cold, so cupcakes stay soft the next day. Use 1/3 cup (80 ml) of neutral oil. If you want a butter taste, put the butter in the frosting, which is where it shines.

The batter is thin

This batter pours like heavy cream. It is correct. Thin batters bake into moist, tender cakes because the liquid turns to steam. Do not add flour to thicken it.

Fill the liners two thirds

Filling to the brim makes the batter overflow and then sink. Fill to two thirds, about 3 tablespoons per liner. A cookie scoop makes this even.

Why cupcakes sink

Opening the oven early, too much baking soda, or underbaking collapse the structure. Keep the door closed for the first 12 minutes and measure leavening with level spoons. A cupcake is done when a toothpick comes out with a few moist crumbs.

Cooling

Let cupcakes cool 5 minutes in the pan, then transfer to a rack. Left too long in the hot pan, they steam and turn gummy at the edge. Frost only once they are fully cool.

Chocolate buttercream

Beat 1 cup (225 g) of soft butter for 3 minutes until pale, add 2 1/2 cups (300 g) of powdered sugar, 1/2 cup (50 g) of cocoa, a pinch of salt and 3 tablespoons of milk. Beat 2 minutes until fluffy. Too stiff: add milk. Too soft: chill 15 minutes.

Piping a swirl

Fit a bag with a large open star tip. Start at the outside edge, spiral inward, lift and finish with a peak. Hold the bag upright and squeeze with even pressure. Practice on parchment first. Chilled frosting pipes sharper.

Storing

Keep frosted cupcakes in a covered container at room temperature for 2 days or in the fridge for 5, and bring to room temperature before serving. Unfrosted cupcakes freeze for 2 months.

Fixing frosting problems

If the frosting is too sweet, add a pinch of salt and a spoon of cream. If it is grainy, beat longer or sift the sugar next time. If it has air bubbles, stir it with a spatula for a minute before piping. A frosting that splits can be rescued by beating in a spoon of warm cream.

Decorating ideas

Top with chocolate shavings, crushed hazelnuts or a fresh raspberry. For a filled cupcake, core the center, fill with ganache or jam and then frost. Use a halal-certified sprinkle mix, and add them right after piping so they stick.

Halal notes

Cocoa, flour, oil, butter, eggs and sugar are halal. Use alcohol-free vanilla, check the sprinkles for gelatin and carmine, and skip recipes that use stout or liqueur.

Chocolate cupcakes with buttercream recipe

Makes 12 cupcakes. Time: 45 minutes plus cooling.

Method:

  1. Heat the oven to 350 F (175 C). Line a 12-cup tin.
  2. Whisk the dry ingredients.
  3. Whisk the egg, buttermilk, oil and vanilla. Add to the dry mix.
  4. Stir in the hot coffee or water until smooth. The batter will be thin.
  5. Fill the liners two thirds. Bake 18 to 20 minutes.
  6. Cool on a rack. Beat the buttercream until fluffy.
  7. Pipe on the cooled cupcakes.

Tips for the best result

Frequently asked questions

Can I use milk and lemon for buttermilk?

Yes, 1/2 cup of milk with 1/2 tablespoon of lemon juice.

Why are they dry?

Overbaked. Check at 16 minutes.

Can I make mini cupcakes?

Bake 10 to 12 minutes.

Can I make them ahead?

Yes, freeze unfrosted.

The takeaway

Bloom the cocoa, trust the thin batter and keep the door closed. Cool fully, then pipe a thick swirl. That gives moist chocolate cupcakes that stay domed.

Keep cooking: related recipes