The Feast

Home cooking recipes for everyday dinners and easy entertaining

Chocolate Cake in a Cooker: Moist, No Oven Needed

· 5 min read · Baking and Desserts

You want a chocolate cake with a tender crumb and a deep cocoa flavor, and cooking it in a pressure cooker or stovetop cooker delivers exactly that: the sealed, steamy environment keeps the cake moist while it sets evenly. This method works without an oven, using the same batter you would bake, just cooked in a covered pot with a trivet and a steady low heat.

What You Need and Why

Use a pressure cooker (electric or stovetop) or a large heavy pot with a tight-fitting lid. The cake bakes in a pan that fits inside, resting on a trivet or a ring of foil so it does not touch the bottom. A 6-quart cooker holds a 7-inch round pan comfortably; a 5-quart holds a 6-inch pan. If you do not have a trivet, crumple a long strip of aluminum foil into a coil and set the pan on it. The lid must seal well to trap steam—if it leaks, the cake will cook unevenly.

Ingredients

  • 1 ½ cups (190 g) all-purpose flour
  • 1 cup (200 g) granulated sugar
  • ½ cup (50 g) unsweetened cocoa powder (natural or Dutch-process)
  • 1 teaspoon baking soda
  • ½ teaspoon baking powder
  • ½ teaspoon salt
  • 1 cup (240 ml) buttermilk (or 1 cup milk + 1 tablespoon lemon juice, let sit 5 minutes)
  • ½ cup (120 ml) vegetable oil or melted butter
  • 2 large eggs, at room temperature
  • 2 teaspoons vanilla extract
  • ½ cup (120 ml) hot coffee or hot water

Batter and Cooker Setup

Make the batter

  1. In a large bowl, whisk the flour, sugar, cocoa, baking soda, baking powder, and salt until no lumps remain.
  2. In a separate bowl, whisk the buttermilk, oil, eggs, and vanilla until combined.
  3. Pour the wet ingredients into the dry and stir until just combined—a few streaks are fine.
  4. Add the hot coffee or water and stir until the batter is smooth and thin. This is the correct consistency; the hot liquid blooms the cocoa for a deeper flavor.
  5. Grease a 7-inch round pan (or 6-inch for smaller cookers) with butter or oil, then line the bottom with parchment paper. Pour the batter in—it should fill the pan about ¾ full.

Prepare the cooker

  1. If using a pressure cooker: add 2 cups (480 ml) water to the pot, place the trivet inside, and set the cake pan on top. Lock the lid, but do not pressure-cook—you will use the slow-cook or steam setting. If your cooker has a "slow cook" mode, use that on low; otherwise, use the "steam" setting and vent open.
  2. If using a stovetop pressure cooker without a slow mode: place the trivet in the pot, add 1 inch of water, set the pan on the trivet, cover with the lid (not sealed), and cook over the lowest heat that maintains a gentle simmer. The water should steam, not boil hard.
  3. If using a regular heavy pot: place the trivet or foil coil in the bottom, add 1 inch of water, set the pan on top, and cover with the lid. The water should not touch the cake pan.

Cooking and Doneness

  1. Cook on low heat (or the slow-cook low setting) for 45–55 minutes. Start checking at 45 minutes: open the lid carefully (steam is hot) and insert a toothpick into the center. It should come out with a few moist crumbs, not wet batter. The cake will pull away slightly from the pan sides and the top will feel springy when pressed.
  2. If not done, cover and cook 5–10 minutes more, then check again. Total time rarely exceeds 60 minutes; if the top is browning too fast while the center is raw, reduce the heat slightly and add a few tablespoons of water to the pot.
  3. Once done, remove the pan from the cooker and let the cake cool in the pan on a wire rack for 15 minutes. Run a knife around the edge, invert onto the rack, peel off the parchment, and cool completely before frosting or serving.

Substitutions and Adjustments

Flour: Replace up to half the all-purpose flour with whole wheat or spelt; the cake will be denser and slightly nuttier. For gluten-free, use a 1:1 gluten-free flour blend with xanthan gum—no other changes.

Buttermilk: Use plain yogurt or sour cream thinned with milk to a pourable consistency (about ¾ cup yogurt + ¼ cup milk). The acidity is important for the baking soda to react, so do not skip it.

Eggs: For an egg-free version, use 2 tablespoons ground flaxseed mixed with 6 tablespoons water, let sit 5 minutes. The cake will be a bit more tender and may sink slightly in the center—that is normal.

Oil: Melted coconut oil or unsalted butter work; butter adds flavor but makes the crumb slightly firmer.

Coffee: The hot coffee intensifies chocolate flavor without tasting like coffee. Use hot water if you prefer no coffee at all.

Serving and Storing

This cake is excellent plain, dusted with powdered sugar, or topped with a simple chocolate ganache (1 part hot cream to 2 parts chopped chocolate, stirred until smooth). Serve it warm with vanilla ice cream or whipped cream—the steam-cooked texture is especially soft when slightly warm.

Store the cooled cake in an airtight container at room temperature for up to 3 days. For longer storage, wrap tightly in plastic wrap and refrigerate for up to 5 days, or freeze for up to 3 months. Thaw overnight in the refrigerator before serving. Do not leave the cake out more than 2 hours total (1 hour if the room is above 90°F/32°C).

If you frost the cake, keep it refrigerated if the frosting contains dairy or eggs, and bring to room temperature before serving. The cake itself does not need refrigeration if unfrosted, but frosting with cream cheese or whipped cream requires it.

In this article
  1. What You Need and Why
  2. Ingredients
  3. Batter and Cooker Setup
  4. Cooking and Doneness
  5. Substitutions and Adjustments
  6. Serving and Storing