Air Fryer Chocolate Cake

This Air Fryer Chocolate cake is moist and full of chocolate flavour. And it bakes in only 20 minutes! Perfect for a weeknight or whenever you get a craving for chocolate cake.

square of chocolate cake on a white plate with a fork and blue napkin. a cup of coffee in the background

Why Should You Bake in an Air Fryer?

The answer to this is simple. It saves time and energy. Air Fryers that have an oven feature, heat up faster than a traditional oven which saves on electricity.

This recipe as well as many of my other recipes have been tested using both the air fryer function and the oven function on our air fryer.

Disclaimer: As an Amazon Associate we earn from qualifying purchases at no additional cost to consumers. Some of the links in this post are affiliate links. If you click these links and make a purchase we may earn a commission. Keep in mind that we link these products because of their quality, not because of the commission we may receive from purchases.

What Air Fryer Was Used For This Recipe?

The air fryer we use is made by Kalorik, and the Maxx Air Fryer Oven is both an air fryer and oven. It is also a rotisserie and grill. It has so many features and is the one we used and recommend.

Quick and Easy to Make

This cake is easy to make and bakes quickly in the air fryer. It can be made anytime, even on busy weeknights. In less than 30 minutes you can enjoy a warm slice of cake.

If you prefer to frost the cake, it will need to cool for at least 30 minutes before frosting. To speed up the cooling process, place the cake on a cooling rack and place it in the freezer for 15 to 20 minutes.

Cake Size

The recipe makes an 8-inch square cake so it fits well in the air fryer. An 8-inch round cake pan also works well.

If you have a basket-style air fryer, a 6-inch cake pan can be used by adjusting the baking time. The cake will need 5 to 7 extra minutes of baking time if using a taller 6-inch pan.

Ingredients for Air Fryer Chocolate Cake

The ingredients for this recipe are the basic ingredients for Chocolate Cake:

  • all-purpose flour
  • white sugar
  • cocoa powder
  • baking powder
  • baking soda
  • salt
  • vanilla
  • eggs
  • butter (or margarine)
  • strong brewed coffee*

* If you prefer, boiling water can be used instead of coffee in this cake recipe.

Frosting or No Frosting?

Sometimes I frost this cake with buttercream icing, other times I leave it as it is. Other times, when time is limited, I top this cake with whipped cream and fresh strawberries or raspberries.

Chocolate or vanilla frosting or buttercream goes well on this cake.

Storing Air Fryer Chocolate Cake

This chocolate cake should be covered and stored at room temperature. It will last for up to three days at room temperature.

It can also be wrapped in plastic wrap and frozen for up to two months.

If you like this recipe, try my Rich Chocolate Cake or Simple White Cake.

Need the ingredients to make this recipe? Why not try Voilà and have it delivered or order for curbside pick up?

square of chocolate cake on a white plate with a fork and blue napkin. a cup of coffee in the background

Air Fryer Chocolate Cake

5 from 6 votes
Prep Time 5 minutes
Cook Time 20 minutes
Total Time 25 minutes
Servings 9 squares


  • Air Fryer


  • 1 cup hot strong coffee
  • ¼ cup butter
  • 1 egg
  • 1 tsp vanilla extract
  • 1 cup all-purpose flour
  • 1 cup white sugar
  • 4 Tbsp unsweetened cocoa powder
  • tsp baking powder
  • 1 tsp baking soda
  • ¼ tsp salt


  • In a large bowl, beat butter into coffee until butter is melted.
  • Beat in egg and vanilla until combined
  • In a separate bowl, whisk together flour, sugar, cocoa powder, baking powder, baking soda, and salt.
  • Add dry ingredients to wet and beat until combined
  • Preheat air fryer to 350°F, about 3-4 minutes
  • Line a square cake pan with parchment paper or spray with cooking spray
  • Pour batter into prepared cake pan
  • Bake in the air fryer for 20 minutes or until a toothpick inserted in center comes out clean
  • Cool in pan. Frost once cooled if desired.
  • Store covered at room temperature for up to three days


  1. 5 stars
    Air fryers are MAGIC – I mean, seriously… is there anything you can’t do with them?!?

    Though I’ve only made meat/veg in mine, I will definitely try out this beautiful cake very soon. It looks delicious.

  2. 5 stars
    I absolutely love Chocolate Cakes. And this air fryer Chocolate Cake looks delicious. Got to try it with my girlfriend. Thank you so much for sharing this post!

  3. I don’t own an air fryer yet. But seeing the amount of combinations we can try, I think it’s time I need to put one on shelf . Thankyou for this recipe

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.