Dinners

Baking Cake in an Electric Pressure Cooker

Updated · By Patriot Kitchen

Ingredients
8
Steps
10

Jump to recipe Save

Baking a cake in an electric pressure cooker (Instant Pot or similar) works surprisingly well: the sealed, steam-filled environment bakes a moist, tender crumb with a domed top, and you don’t need to heat up the kitchen. The key difference from an oven is that you’ll use a trivet and a covered pan, and the cook time is shorter because steam transfers heat efficiently. Most standard cake recipes can be adapted, but you’ll need to adjust time and liquid, and you must let the pressure release naturally for a few minutes to avoid a sunken center.

Why the Trivet and Covered Pan Matter

In a pressure cooker, the cake sits above the water on a trivet or a steam rack, never directly in the water. The water level should be about 1 to 1.5 cups (240 to 355 ml) for a 6-quart cooker, or as your manual says. Use a pan that fits inside your cooker with at least 1 inch (2.5 cm) of clearance on all sides. A 7-inch (18 cm) round cake pan is standard for a 6-quart cooker; a 6-inch (15 cm) pan works for smaller batches. Cover the pan with aluminum foil or a lid (if it has one) to keep condensed steam from dripping onto the batter. The foil should be tented so it doesn’t touch the batter as it rises.

If you don’t have a trivet, you can use a metal steam rack or a ring of aluminum foil shaped into a coil. The pan must be metal or silicone—glass or ceramic can crack from thermal shock in a pressure cooker. A silicone pan is flexible and easy to release, but it may need a few extra minutes of cooking because silicone is a poor heat conductor.

Ingredients

This recipe makes a single 7-inch (18 cm) round cake, about 8 servings. It’s a vanilla butter cake that adapts well to pressure cooking.

  • 1 1/2 cups (190 g) all-purpose flour
  • 1 1/2 tsp baking powder
  • 1/4 tsp salt
  • 1/2 cup (115 g) unsalted butter, softened
  • 3/4 cup (150 g) granulated sugar
  • 2 large eggs, room temperature
  • 1 tsp vanilla extract
  • 1/2 cup (120 ml) whole milk, room temperature

For a chocolate version, replace 1/4 cup (30 g) of the flour with 1/4 cup (25 g) unsweetened cocoa powder and add 2 tbsp (30 ml) extra milk. For a lemon version, add the zest of 1 lemon and replace the vanilla with 1 tbsp (15 ml) lemon juice.

Instructions

  1. Grease a 7-inch (18 cm) round cake pan that fits inside your pressure cooker. Line the bottom with parchment paper. Grease the parchment too.
  2. In a medium bowl, whisk together the flour, baking powder, and salt.
  3. In a large bowl, beat the butter and sugar with an electric mixer on medium speed until light and fluffy, about 2 minutes. Add the eggs one at a time, beating well after each. Beat in the vanilla.
  4. Add half the dry ingredients and mix on low until just combined. Add the milk, then the remaining dry ingredients, mixing until no streaks of flour remain. Do not overmix.
  5. Pour the batter into the prepared pan. Smooth the top. Cover the pan tightly with aluminum foil, tenting it slightly.
  6. Pour 1 1/2 cups (355 ml) water into the pressure cooker. Place the trivet or steam rack inside. Set the pan on the trivet.
  7. Lock the lid, set the valve to sealing (if your model has one), and cook on HIGH pressure for 35 minutes for a 7-inch (18 cm) pan. For a 6-inch (15 cm) pan, reduce to 30 minutes; for a silicone pan, add 5 minutes.
  8. When the time is up, let the pressure release naturally for 10 minutes, then manually release any remaining pressure. Open the lid carefully.
  9. Lift the pan out using the trivet or a towel. Remove the foil. Insert a toothpick into the center—it should come out clean or with a few moist crumbs. If it’s not done, return the pan to the cooker, reseal, and cook on HIGH for 3 to 5 more minutes, then release pressure manually.
  10. Let the cake cool in the pan on a wire rack for 10 minutes. Run a knife around the edge, invert onto the rack, peel off the parchment, and let cool completely before frosting.

What Ruins a Pressure-Cooker Cake

The most common failure is a sunken center. That happens when you release the pressure too quickly—the sudden drop in pressure makes the cake collapse. Always let the pressure release naturally for at least 10 minutes. Another mistake is overfilling the pan. The batter should fill no more than half the pan’s height, because the cake rises more in a pressure cooker. If you use a larger recipe, use a taller pan or split the batter into two batches.

Condensation dripping onto the cake can make the top soggy. The foil cover prevents this, but if you skip it, the top will be wet and sticky. Also, don’t open the lid during cooking to check—you’ll lose steam and pressure, and the cake may not cook evenly. If you must peek, wait until the timer ends and release pressure manually, then check and continue if needed.

Overcooking dries out the cake. Because the pressure cooker is so moist, the cake can go from done to dry quickly. Check at the minimum time and add time in small increments. Finally, don’t use a cold pan or cold ingredients—they slow down the rise and can create a dense texture.

Storage and Reheating

Once the cake is completely cool, store it in an airtight container at room temperature for up to 2 days. For longer storage, wrap it tightly in plastic wrap and then foil, and refrigerate for up to 5 days. You can also freeze the unfrosted cake for up to 3 months—wrap it in plastic wrap, then foil, and thaw overnight in the refrigerator before frosting.

If you frost the cake, refrigerate it and bring it to room temperature before serving. Leftover slices can be reheated in the microwave for 15 seconds, but the texture is best at room temperature. Do not leave a frosted cake out for more than 2 hours if the frosting contains dairy or eggs.

Substitutions and Adjustments

You can swap the all-purpose flour for cake flour (use 1 1/2 cups plus 2 tbsp, or 170 g) for a softer crumb. For a gluten-free version, use a 1:1 gluten-free flour blend that contains xanthan gum—the cake will be slightly more delicate. Replace the butter with an equal amount of neutral oil (like canola or vegetable) for a moister cake, but note it will be less flavorful. For a dairy-free version, use plant-based butter and unsweetened almond or oat milk. Use the same amounts.

If you want to use a boxed cake mix, follow the package instructions for the batter, but use the same pressure-cooking method: a 7-inch pan, 35 minutes on HIGH, natural release for 10 minutes. The cake will be a bit more dense than oven-baked, but still moist. For a cheesecake-style cake, use a water bath inside the pressure cooker: wrap the pan in foil, place it on the trivet, and add 1 cup (240 ml) of water to the cooker. Cook on LOW pressure for 40 minutes, then natural release for 15 minutes.

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).