Instant Pot Pineapple Cake: Easy & Moist

Updated November 26, 2026

Total time
55 min
prep 20 min · cook 35 min
Serves
8
portions as written

Jump to recipe

This Instant Pot pineapple cake is a wonderfully moist, tender dessert made with crushed pineapple and a simple batter, all steamed to perfection in your pressure cooker. It’s a fuss-free way to enjoy a fruity, comforting cake without turning on your oven, and the natural sweetness of the pineapple keeps it deliciously balanced. Perfect for weeknight treats or when you want a quick, impressive dessert.

Ingredients

  • 1 ½ cups (190 g) all-purpose flour
  • 1 teaspoon baking powder
  • ½ teaspoon baking soda
  • ¼ teaspoon salt
  • ½ cup (115 g) unsalted butter, softened
  • ¾ cup (150 g) granulated sugar
  • 2 large eggs, at room temperature
  • 1 teaspoon vanilla extract
  • 1 can (20 oz / 570 g) crushed pineapple in juice, drained (reserve ¼ cup juice)
  • 1 cup (240 ml) water (for the Instant Pot)

Instructions

  1. Grease a 7-inch (18 cm) round cake pan that fits inside your Instant Pot. Line the bottom with parchment paper for easy removal.
  2. In a medium bowl, whisk together the flour, baking powder, baking soda, and salt.
  3. In a large bowl, beat the softened butter and sugar until light and fluffy, about 2 minutes. Add the eggs one at a time, beating well after each addition, then stir in the vanilla extract.
  4. Gradually add the dry ingredients to the wet mixture, alternating with the reserved pineapple juice, starting and ending with the dry ingredients. Mix until just combined—do not overmix.
  5. Gently fold in the drained crushed pineapple.
  6. Pour the batter into the prepared cake pan and smooth the top. Cover the pan tightly with aluminum foil to prevent condensation from dripping onto the cake.
  7. Pour the 1 cup (240 ml) of water into the Instant Pot insert. Place a trivet or steamer rack at the bottom. Carefully lower the cake pan onto the trivet.
  8. Close the lid, set the valve to “Sealing,” and cook on High pressure for 35 minutes. When the cooking time is complete, allow the pressure to release naturally for 10 minutes, then carefully do a quick release for any remaining pressure.
  9. Remove the cake pan from the Instant Pot using oven mitts. Let the cake cool in the pan on a wire rack for 10 minutes, then invert onto a serving plate. Serve warm or at room temperature.

Tips

  • Drain the pineapple well: Excess liquid can make the cake soggy. Press the crushed pineapple against a sieve to remove as much juice as possible, and reserve the juice for the batter.
  • Use the right pan size: A 7-inch pan works best because it fits in most Instant Pots and allows the cake to rise without touching the foil. If your pan is larger, the cake may be thinner and cook faster—check at 30 minutes.
  • Don’t skip the foil: Covering the pan tightly prevents steam from dripping onto the cake, which would make the top sticky and wet.
  • Natural pressure release: Allowing 10 minutes of natural release helps the cake set and prevents it from collapsing when the pressure drops too quickly.

Serving Suggestions

Serve this pineapple cake as is, or dress it up with a dollop of whipped cream or a scoop of vanilla ice cream. For a tropical twist, drizzle with a simple glaze made from ½ cup powdered sugar and 2 tablespoons pineapple juice. It also pairs beautifully with a cup of hot tea or coffee.

Variations

  • Upside-down version: Before adding the batter, arrange pineapple rings and a maraschino cherry in the bottom of the greased pan, then sprinkle with ¼ cup brown sugar. Pour the batter over and cook as directed. Invert after cooling.
  • Coconut pineapple cake: Replace ¼ cup of the flour with unsweetened shredded coconut and add ½ teaspoon coconut extract. Top with toasted coconut flakes.
  • Spiced pineapple cake: Add 1 teaspoon ground cinnamon and ¼ teaspoon ground nutmeg to the dry ingredients for a warm, aromatic flavor.
  • Gluten-free option: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture will be slightly more delicate, but just as delicious.

Storage and Reheating

Store leftover cake in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 4 days. To reheat, place a slice on a microwave-safe plate and heat for 15–20 seconds, or warm in a 300°F (150°C) oven for 5 minutes. The cake can also be frozen for up to 2 months—wrap it tightly in plastic wrap and then foil, and thaw in the refrigerator overnight before serving.

Frequently Asked Questions

Can I use fresh pineapple instead of canned? Yes, you can use fresh crushed pineapple. You’ll need about 1 ½ cups (about 250 g) of crushed fresh pineapple. Since fresh pineapple is less sweet and more acidic, you may want to add an extra tablespoon of sugar. Also, be sure to drain it well and reserve the juice—if there isn’t enough, supplement with water.

Why did my cake come out dense or gummy? This usually happens if the batter was overmixed or if the pressure released too quickly. Overmixing develops gluten, making the cake tough. Always mix until just combined, and allow the 10-minute natural pressure release to help the cake set gently.

Can I double this recipe? Yes, but you’ll need a larger pan (such as a 9-inch springform) that fits your Instant Pot. Cooking time will increase to about 45–50 minutes. Make sure the pan is not too full—leave at least 1 inch of headspace for rising.

Do I need to use a cake pan, or can I use a silicone mold? A silicone mold works well and is often easier to remove. Place it on the trivet and cover with foil just like a metal pan. The cooking time may be slightly shorter, so start checking at 30 minutes.

Can I make this in a slow cooker instead? Yes, you can. Pour the batter into a greased slow cooker insert and cook on low for 2 to 3 hours, or until a toothpick inserted in the center comes out clean. The texture will be very moist, and there’s no need to add water or cover with foil.

How do I know when the cake is done? Insert a toothpick into the center of the cake—it should come out clean or with just a few moist crumbs. The top will feel firm to the touch. If the toothpick has wet batter, cook for an additional 5 minutes.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

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