Chocolate Cake for Two

As an Amazon affiliate, and affiliate with other businesses, I earn from qualifying purchases.

This adorable Instant Pot Chocolate Cake for Two is a decadent mini treat with layers of fluffy chocolate cake and tangy cream cheese frosting. It’s perfect for date night or for a first birthday party smash cake!

chocoalte cake for two frosted with vanilla frosting on a wooden cake plate

We first made a mini Instant Pot chocolate cake for our Instant Pot Baby and Toddler Food Cookbook. We loved it so much that we decided to spruce it up a bit and bring a new layered version to you here. 

This recipe is perfect for a Valentine’s Day dessert for two or for a photo-worthy first birthday smash cake. 

And it has a fancier touch than your typical cake for two, thanks to a layer of fluffy cream cheese frosting. You can decorate this treat however you like for any occasion, from Valentine’s Day to a birthday. 

pinterest button for chocoalte cake for two in the pressure cooker

How to Make Instant Pot Chocolate Cake for Two

This tiny Instant Pot Chocolate Cake recipe will work in any brand of electric pressure cooker, including the Instant Pot, Ninja Foodi, or Power Pressure Cooker XL

The cake is made in an adorable 4×2-inch cake pan.

You can make this chocolate cake in any size of pressure cooker, from the 3-quart Instant Pot mini to a larger 8-quart pressure cooker. For larger sizes, you’ll need to add 1½ cups of water to the cooking pot. 

If this is your first time using a sling to bake a cake in your Instant Pot, read our guide on how to make and use a foil sling first. 

Tip: We gave this cake a bit of an upgrade with a cream cheese layer in the middle. However, if you want to skip this step, you can! Just reduce the frosting recipe by half.

ingredients to make instant pot chocoalte cake for two

Ingredient Notes

Many from-scratch Instant Pot cake recipes start with a boxed mix because boxed mixes include leaveners. However, we didn’t want to use a quarter of a cake mix for this recipe.

So we did some research and found a leavening agent in a surprising source: olive oil! You don’t taste it in the finished cake, but your cake will be sad and flat if you leave it out.

To get the most decadent chocolate flavor in this cake recipe, we love King Arthur Flour’s Triple Cocoa Blend. We’ve also had great results with Ghirardelli’s Majestic Cocoa Powder.  

batter for chocoalte cake for two in a glass mixing bowl with a wire whisk

Frosting Ideas for Instant Pot Chocolate Cake

We love the combination of coconut cream cheese frosting with the chocolate cake. (We’ve been making this combo for a long time in our oven—you can get that recipe at Barbara Bakes.)  However, you can use any of your favorite frosting or ganache recipes. 

You’ll only need a small batch to frost and fill this miniature chocolate cake. 

If you’re making this cake recipe for a first birthday party, see you can get more smash cake ideas here, with lots of fun and tasty ideas for cake toppings. 

simple cake for two, with white frosting and ribbon swirls in the background

More Instant Pot Dessert Recipes

We love making individual desserts in the Instant Pot. Here are more of our favorite miniature cake recipes to try next:

Do you LOVE this recipe?
Leave us a review below to tell us why!

frosting a two layer chocolate cake on a white plate

Instant Pot Chocolate Cake for Two

Yield: 2 Servings
Prep Time: 10 minutes
Cook Time: 13 minutes
Additional Time: 17 minutes
Total Time: 40 minutes

 Instant Pot Chocolate Cake for Two is a decadent layered treat with olive oil chocolate cake and cream cheese frosting perfect for a first birthday party. 


Chocolate Cake

  • Nonstick baking spray with flour
  • 3 tablespoons milk
  • 2 tablespoons olive oil
  • 1 large egg yolk
  • 1 teaspoon vanilla extract
  • 1/4 cup sugar
  • 1/4 cup all-purpose flour
  • 2 tablespoons cocoa powder
  • 1/2 teaspoon baking powder
  • 1/8 teaspoon salt

Filling & Frosting

  • 4 ounces cream cheese, softened
  • 2 tablespoons coconut oil, melted and cooled
  • 2 teaspoons sour cream
  • 1/4 teaspoon vanilla extract
  • 3/4 cup confectioners sugar
  • 1/2 cup sweetened shredded coconut, toasted and cooled
  • 1/3 cup sliced almonds, toasted and slightly crushed



  1. Coat a 4x2-inch cake pan with nonstick baking spray with flour.
  2. In a large bowl, whisk the milk, oil, egg yolk, and vanilla until blended. Whisk in the sugar.
  3. Put a fine mesh strainer over the top of the mixing bowl and sift in the flour, cocoa powder, baking powder, and salt. Shake to sift the ingredients into the mixing bowl with the wet ingredients, and whisk just until blended. Pour the batter into the prepared pan.
  4. Pour 1 cup water into the pressure cooking pot and place a trivet in the bottom. Carefully center the filled pan on a sling and lower the pan onto the trivet. Lock the lid in place. Select High Pressure and 13 minutes cook time.
  5. When the cook time ends, turn off the pressure cooker. Let the pressure release naturally for 10 minutes, then finish with a quick pressure release. When the float valve drops, carefully remove the lid.
  6. Transfer the pan to a wire rack to cool for 5 minutes. Run a knife around the edge of the pan to loosen the cake, then invert onto the cooling rack to cool completely.


  1. Beat together cream cheese, coconut oil, sour cream, and vanilla until blended, scraping down bowl as needed. Beat in confectioners' sugar until smooth. Stir in cooled toasted coconut.


  1. Cut the cake in half horizontally. Evenly spread one third of the frosting on the bottom half and carefully stack the second half on top.
  2. Frost the top and sides of the cake with the remaining frosting. Decorate with additional sliced almonds and coconut, optional. Refrigerate until ready to serve.

Recommended Products

As an Amazon Associate and member of other affiliate programs, I earn from qualifying purchases.

Nutrition Information:
Yield: 2 Serving Size: 1
Amount Per Serving: Calories: 1294Total Fat: 69gSaturated Fat: 33gTrans Fat: 0gUnsaturated Fat: 30gCholesterol: 247mgSodium: 544mgCarbohydrates: 149gFiber: 7gSugar: 77gProtein: 22g

Nutrition information is calculated by Nutritionix and may not always be accurate.


🥘 Browse our collection of the best pressure cooker / Instant Pot recipes.

💬 Follow Pressure Cooking Today on Facebook and Instagram for the latest updates.  

👥 Join our Electric Pressure Cooker Facebook Group. Our positive community of pressure cooking fans use all brands of electric pressure cookers, so it’s a great resource if you have questions about your particular brand.

🥧 If you’re interested in more than just Instant Pot recipes, follow us at Barbara Bakes. There we post amazing breakfasts, breads, and the best dessert recipes

We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to and affiliated sites.
originally published February 6, 2021 — last updated October 5, 2021
Categories: Dessert