Dinners

Chocolate Cake in an Instant Pot: 6-Inch Recipe

Updated · By Patriot Kitchen

Total timeprep + cook
1 hr 5 min
Prep
15 min
hands-on
Cook
50 min
oven or stovetop
Serves
6
as written

Jump to recipe Save

Make a 6-inch (15 cm) chocolate cake in a 6-quart Instant Pot by pouring a 1½-cup (360 ml) water bath into the pot, setting the trivet, and pressure-cooking the batter in a greased 6-inch round pan for 35 minutes on High with a 10-minute natural release. The cake comes out moist and dense, closer to a brownie than a bakery layer cake, and serves 6. Total time is about 1 hour 5 minutes, including the 5-minute preheat and 10-minute release.

Instant Pot Chocolate Cake Recipe

This is a single-layer cake sized for a 6-inch (15 cm) round pan, which is the largest round pan that fits on the trivet of a 6-quart Instant Pot. A 7-inch (18 cm) pan will not fit in a 6-quart model; use a 6-inch pan or a 7-cup (1.65 L) bundt pan designed for pressure cookers. The batter is thick, so it does not need a water bath inside the pan — the water goes in the bottom of the pot to create steam.

Ingredients

  • 1 cup (125 g) all-purpose flour
  • ½ cup (100 g) granulated sugar
  • ¼ cup (25 g) unsweetened cocoa powder
  • ½ teaspoon baking soda
  • ¼ teaspoon salt
  • 1 large egg, room temperature
  • ½ cup (120 ml) whole milk
  • ¼ cup (60 ml) neutral oil, such as canola or vegetable
  • 1 teaspoon vanilla extract
  • ½ cup (120 ml) boiling water
  • 1½ cups (360 ml) water, for the pressure cooker

Instructions

  1. Grease a 6-inch (15 cm) round cake pan with butter or nonstick spray and line the bottom with parchment paper. Do not use a springform pan unless it is rated for pressure cooking; the seal can fail.
  2. In a medium bowl, whisk together 1 cup (125 g) flour, ½ cup (100 g) sugar, ¼ cup (25 g) cocoa, ½ teaspoon baking soda, and ¼ teaspoon salt.
  3. In a separate bowl, whisk 1 egg, ½ cup (120 ml) milk, ¼ cup (60 ml) oil, and 1 teaspoon vanilla until smooth.
  4. Pour the wet mixture into the dry ingredients and stir with a spatula until just combined, about 20 strokes. Small lumps are fine.
  5. Stir in ½ cup (120 ml) boiling water. The batter will be thin and glossy. Pour it into the prepared pan.
  6. Pour 1½ cups (360 ml) water into the Instant Pot inner pot. Set the trivet in the pot.
  7. Cover the cake pan tightly with aluminum foil, crimping the edges. Make a foil sling by folding a 20-inch (50 cm) piece of foil into a 3-inch (7.5 cm) wide strip and slide it under the pan.
  8. Lower the pan onto the trivet using the sling. Fold the ends of the sling down so they do not touch the lid.
  9. Close the lid and set the valve to Sealing. Select Pressure Cook or Manual, High pressure, and set 35 minutes.
  10. When the cooking time ends, let the pressure release naturally for 10 minutes, then turn the valve to Venting to release any remaining pressure.
  11. Open the lid and lift the pan out by the sling. Uncover and cool on a rack for 15 minutes before turning out of the pan. The cake is done when a toothpick inserted in the center comes out with moist crumbs, not wet batter.

Pan Sizes and Water Bath

The water bath is not for gentle heat; it provides steam and prevents the bottom of the pan from scorching. Use the table below to match pan size to pot size. A 3-quart Instant Pot is too small for a 6-inch pan; use a 6-quart or 8-quart model.

Pot size Pan size Water in pot High-pressure time
6-quart 6-inch round (15 cm) 1½ cups (360 ml) 35 minutes
8-quart 7-inch round (18 cm) or 6-cup bundt 2 cups (480 ml) 40 minutes
3-quart Not recommended — —

If you use a 7-inch pan in an 8-quart pot, increase the batter by half: 1½ cups (188 g) flour, ¾ cup (150 g) sugar, 6 tablespoons (38 g) cocoa, ¾ teaspoon baking soda, ⅜ teaspoon salt, 1½ eggs (whisk one egg and measure half), ¾ cup (180 ml) milk, 6 tablespoons (90 ml) oil, 1½ teaspoons vanilla, and ¾ cup (180 ml) boiling water. Cooking time goes to 40 minutes.

Doneness and Release

A 6-inch cake at 35 minutes High pressure is fully cooked; the center should read 200°F (93°C) on an instant-read thermometer if you want a number, but the toothpick test is enough. The 10-minute natural release is part of the cooking: releasing pressure immediately can cause the cake to fall. If the toothpick comes out wet after the full release, return the covered pan to the pot with 1 cup (240 ml) water and pressure-cook for 5 more minutes, then release naturally for 5 minutes.

Common Problems and Fixes

Sunken center: usually from releasing pressure too fast or from opening the lid before the 10-minute natural release is complete. Let it sit the full 10 minutes.

Rubbery edges: overmixing the batter after adding flour develops gluten. Stir only until the flour disappears.

Watery top: condensation drips from the lid. The foil cover prevents this; if you skip the foil, blot the top with a paper towel after uncovering.

Cake stuck to pan: parchment on the bottom and a full grease coating on the sides. Run a thin knife around the edge before inverting.

Frosting and Storage

Cool completely before frosting. A simple chocolate buttercream takes 4 tablespoons (57 g) softened butter, 1 cup (120 g) powdered sugar, 3 tablespoons (15 g) cocoa, and 2 tablespoons (30 ml) milk; beat until spreadable. The cake keeps covered at room temperature for 2 days or refrigerated for 4 days. Freeze slices wrapped tightly for up to 2 months; thaw at room temperature for 1 hour.

For a dairy-free version, use oat milk and a neutral oil; the texture is slightly denser. For a stronger chocolate flavor, replace 2 tablespoons (12 g) of the flour with 2 tablespoons (12 g) cocoa. The cake is safe to eat once cooled; leftovers should be refrigerated within 2 hours.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).