Crumb Top Baking

  • Home
  • About
  • Recipe Index
  • Desserts
  • Subscribe
menu icon
go to homepage
  • Home
  • About
  • Recipe Index
  • Desserts
  • Subscribe
search icon
Homepage link
  • Home
  • About
  • Recipe Index
  • Desserts
  • Subscribe
×
Home » Air Fryer Recipes

Chocolate Air Fryer Cake

Published: Apr 2, 2022 · Modified: Mar 11, 2026 by Leanne

Pinterest image for air fryer cake.
Pinterest image for air fryer cake.
↓ Jump to Recipe

This Air Fryer Cake is rich, tender and chocolatey, and super simple to make. It's a homemade chocolate cake recipe that's conveniently made in the air fryer and almost as easy as a boxed cake mix! That's because it's a chocolate depression cake made with mostly pantry staples. It's dairy-free and vegan, made without butter, eggs or dairy milk. It also doesn't require an electric mixer and it's made in one bowl!

While the air fryer is usually a time saver, I'll be honest with you - baking this cake recipe in the air fryer does not save you time compared to the oven. And, the oven is still my first choice for baking cakes. But, the air fryer has many benefits and it's a convenient alternative to oven baking. If you have limited oven space, no oven or just don't want to turn on your oven (hello, hot summer days!), this air fryer cake is a great option for you!

If you'd like to explore more recipes for your sweet tooth made in the air fryer, check out these air fryer chocolate chip cookies or air fryer chocolate chip oatmeal muffins!

Overhead view of chocolate cake on a serving plate with half of the cake sliced into pieces.

Table of contents

  • Chocolate depression cake made in the air fryer
  • Details on the ingredients
  • How to make a cake in the air fryer
  • Frequently asked questions
  • Storage instructions
  • Recipe substitutions
  • Key recipe tips
  • More chocolate cake recipes
Overhead view of three pieces of chocolate cake on a beige plate.

Chocolate depression cake made in the air fryer

This chocolate cake recipe is actually a twist on a depression cake, which is a cake recipe dating back to the Great Depression, when baking ingredients like eggs, milk and butter were in short supply.

You might also know it as a crazy cake or wacky cake.

The ingredients are pretty simple. It's essentially a cocoa cake made without eggs, butter and milk.

It's a very common cake recipe, and while you might see slightly different ratios of ingredients, the basics include flour, sugar, cocoa, baking soda, salt, water, oil, vinegar and vanilla.

While the cake recipe is pretty basic, I promise it doesn't taste basic! It's moist, rich, decadent and chocolatey. All the things you want in a chocolate cake!

Details on the ingredients

*Below is an overview of the ingredients for this cake. See the recipe card below for the exact quantities used.

Ingredients to make air fryer cake arranged in individual bowls.
  • Flour - You'll need 1 ½ cups of all-purpose white flour, spooned and leveled.
  • Sugar - The cake is sweetened with cane sugar, but you can substitute with granulated sugar or even coconut sugar.
  • Cocoa - Unsweetened cocoa powder adds a rich, chocolatey flavor. You can use either natural cocoa or dutch-processed. (Natural cocoa is naturally acidic, whereas dutch-processed has the acid neutralized). I normally used dutch-processed as it adds a more intense chocolate flavor.
  • Baking soda - Needed for leavening.
  • Salt - To enhance the flavors of the other ingredients.
  • Almond milk - While a traditional chocolate depression cake is made with water, I added almond milk for an extra tender and moist cake. You can use any type of non-dairy milk, just make sure it's unsweetened. If you don't need this cake to be dairy-free or vegan, you can use dairy milk. You can also just use water.
  • Oil - I used extra virgin olive oil but you can use another type of oil like vegetable, canola or avocado oil.
  • Vinegar - This cake doesn't contain any eggs to help it rise, so the vinegar is needed to react with the baking soda to help create leavening. The recipe calls for apple cider vinegar but white vinegar works too.
  • Vanilla - Real vanilla extract enhances the rich chocolate flavor. In a pinch, you can use artificial vanilla.

How to make a cake in the air fryer

Grease a 7-inch round cake pan with non-stick cooking spray and line the bottom and sides with parchment paper.

In a large mixing bowl, sift together the dry ingredients. (Sifting is important to evenly incorporate the cocoa).

Add in the almond milk, oil, vinegar and vanilla and whisk until the cake batter is smooth.

Dry ingredients sifted together in a glass bowl with the wet ingredients and a sifter surrounding it.
Cake batter in a glass bowl with a whisk.

Pour the batter into the prepared cake pan and tap the bottom of the pan on a hard surface to help release some air bubbles.

Place the pan in the air fryer basket and air fry at 250F for 55-60 minutes, or until a toothpick inserted into the middle comes out with just a few crumbs on it. (As air fryers can differ, I suggest checking on the cake after 45 minutes).

Overhead view of chocolate cake batter in a round pan inside an air fryer basket.
Overhead view of a baked chocolate cake in a round pan inside an air fryer basket.

Let cool for 10 minutes in the pan and then turn out onto a wire rack to cool completely.

Top with your favorite frosting. We love it with this chocolate avocado frosting or peanut butter cream cheese frosting! This chocolate peanut butter frosting works too (for a non-vegan cake)!

Frequently asked questions

What type of air fryer was used for this cake recipe?

I used a Cosori 5.8 quart air fryer so the basket easily fits a 7-inch round cake pan. If you have a smaller air fryer, you'll need to use a smaller cake pan and bake the cake for longer as the cake will be thicker.

Can I use a regular cake pan in the air fryer?

While you don't need to use a special air fryer cake pan, you'll need to make sure the pan fits your air fryer basket. I used a 7-inch round cake pan with 3-inch high sides. The Cosori 5.8 quart will also fit some 8-inch round cake pans. (It's a tight squeeze, so it depends on whether your cake pan has a thick edge on it). If you use an 8-inch or a 6-inch round cake pan, you will need to adjust the air frying time.

What temperature is best for baking a cake in the air fryer?

I tested a number of different temperature settings ranging from 250F to 350F degrees. At higher temperatures, the outside of the cake baked faster than the middle, so it browned too much on the outside while the middle was under-baked. A lower temperature takes longer, but the cake bakes more evenly. It will still crack a bit on top, but that's unavoidable with the air fryer (in my experience).

How long does it take to bake a cake in the air fryer?

For a 7-inch round cake baked at 250F, it takes about 55-60 minutes. The precise time depends on the size, brand and model of your air fryer. It also depends on the size of your cake pan. For instance, if you use a 6-inch, it will take longer to bake.

Overhead view of the chocolate frosting swirls on top of the air fryer chocolate cake.

Storage instructions

If the cake is unfrosted, it can be stored in an airtight container at room temperature. If it's frosted (and depending on the type of frosting used), you may need to refrigerate it.

The cake will stay moist and tender for 3-4 days.

You can also freeze the unfrosted cake. Just let it cool completely, then wrap it tightly in plastic wrap and place in a large freezer bag. It will last for up to 3 months in the freezer. Thaw before frosting.

Recipe substitutions

  • You can use granulated sugar or coconut sugar in place of cane sugar.
  • White vinegar can be used instead of apple cider vinegar.
  • Substitute water, milk or another unsweetened non-dairy milk for the almond milk.
  • Instead of extra virgin olive oil, use canola, vegetable or avocado oil.
Side view of a forkful of cake on a beige plate.
Side view of a slice of chocolate cake on a beige plate.

Key recipe tips

  • Grease and line the bottom and sides of the cake pan with parchment paper so the cake releases easily and doesn't brown too much on the sides.
  • You just need the parchment paper about 2-inches up the sides of the pan. If there is too much parchment paper exposed, the air circulation may blow it around and it will stick to the top of the cake.
  • After the cake comes out of the air fryer, the top may be a little crispy. That's okay. It will soften once covered and stored or topped with frosting.
  • Let the cake cool for just 10 minutes in the pan and then turn out onto a wire rack. If it sits in the pan too long, the bottom will get soggy.
  • The cake will be slightly domed with a few cracks. In my experience, the cracks are unavoidable for a cake baked in the air fryer due to the heating element being so close to the top of the cake. If you want the cake level, just trim the top before frosting.
Side view of a cut chocolate cake, exposing the inside moist and soft texture.

More chocolate cake recipes

  • Almond Flour Chocolate Cake
  • Easy Chocolate Sheet Cake
  • Mini Chocolate Bundt Cakes
  • Chocolate Cranberry Cake
  • Almond Flour Chocolate Cupcakes

If you make this air fryer cake recipe, I'd love to hear what you think in the comments below!

HUNGRY FOR MORE?  Sign up for our newsletter and follow Crumb Top Baking on Instagram, Pinterest and Facebook!

Overhead view of air fryer cake topped with chocolate frosting and cut into some slices.

Chocolate Air Fryer Cake

This Air Fryer Cake is a homemade chocolate cake recipe that's rich and moist, conveniently made in the air fryer and almost as easy as a boxed cake mix!
No ratings yet
Print Pin
Prep Time: 10 minutes minutes
Cook Time: 1 hour hour
Total Time: 1 hour hour 10 minutes minutes
Servings: 8 slices
Author: Leanne

Ingredients

  • 1 ½ cups all-purpose white flour, spooned and leveled
  • ¾ cup cane sugar, (or granulated sugar)
  • ¼ cup unsweetened cocoa powder
  • 1 teaspoon baking soda
  • ½ teaspoon salt
  • 1 cup unsweetened almond milk, (or another non-dairy milk or water)
  • ⅓ cup extra virgin olive oil, (or canola, vegetable or avocado)
  • 1 tablespoon apple cider vinegar, (or white vinegar)
  • 1 tablespoon vanilla extract

Instructions

Prevent your screen from going dark
  • Grease a 7-inch round cake pan with non-stick cooking spray and line the bottom and sides with parchment paper (*see notes).
  • In a large mixing bowl, sift together flour, sugar, cocoa, baking soda and salt. (Sifting is important to evenly incorporate the cocoa).
  • Add in the almond milk, oil, vinegar and vanilla and whisk until the cake batter is smooth.
  • Pour batter into prepared pan and tap the bottom of the pan off a hard surface to help release any air bubbles.
  • Place the cake in the air fryer basket and air fry on 250F for 55-60 minutes, or until a toothpick inserted into the middle comes out with just a few crumbs on it. (Start checking on the cake after 45 minutes).
  • Let cool in the pan for 10 minutes and then turn out onto a wire rack to cool completely.
  • Top with your favorite frosting and serve.

Notes

  1. Your 7-inch round pan should be at least 2 - 3 inches high.
  2. It's important to grease and line the bottom and sides of the cake pan with parchment paper so the cake releases easily and doesn't brown too much on the sides.
  3. You just need the parchment paper about 2-inches up the side of your pan. If there is too much parchment paper exposed, the air circulation may blow it around and it will stick to the top of the cake.
  4. After the cake comes out of the air fryer, the top may be a little crispy. That's okay. It will soften once covered and stored or topped with frosting.
  5. Only let the cake cool in the pan for 10 minutes. If it stays in the pan for too long, the bottom will get soggy.
  6. The cake will be slightly domed with a few cracks. In my experience, the cracks are unavoidable for a cake baked in the air fryer due to the heating element being so close to the top of the cake. If you want the cake level, just trim the top before frosting
  7. I used a Cosori 5.8 quart air fryer for this recipe. If you have a different size, brand or model of air fryer, you may need to adjust the temperature and/or air frying time slightly.

Nutrition Facts per Serving

Calories: 256kcal | Carbohydrates: 39g | Protein: 3g | Fat: 10g | Saturated Fat: 2g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 7g | Sodium: 329mg | Potassium: 71mg | Fiber: 2g | Sugar: 19g | Calcium: 46mg | Iron: 2mg

Disclaimer

Nutrition information is an estimate only and will vary depending on the substitutions made and the brands used.

Did you make this recipe or have any questions?

I love reading your comments and addressing your questions, so please leave your comments and ratings or questions below!

More Air Fryer Recipes

  • Air Fryer Pizza Potato Skins arranged on a platter and topped with chopped herbs.
    Crispy Air Fryer Pizza Potato Skins
  • Close up of ground beef sliders with one turned on its side to show the ground beef and cheese filling.
    Air Fryer Ground Beef Sliders (Cheeseburger Sliders)
  • Crispy boneless chicken wings served on a platter.
    Crispy Garlic Parmesan Air Fryer Boneless Chicken Wings
  • Two air fryer boneless skinless chicken thighs covered in honey garlic sauce on a plate with green onion on top.
    Air Fryer Boneless Skinless Chicken Thighs with Honey Garlic Sauce

Comments

  1. Sav says

    May 06, 2024 at 2:29 am

    How would I substitute if using self rising.? If possible

    Reply
    • Leanne says

      May 06, 2024 at 10:36 am

      Hi there! I don't recommend substituting self rising flour for all purpose flour in this recipe. Self rising flour contains baking powder. As the leavening agent in this cake is baking soda, using self rising flour will affect the rise, texture and taste of the cake.

      Reply
  2. HaimWisley says

    June 10, 2023 at 12:11 pm

    i m so glad ! turned out really nice

    Reply
    • Leanne says

      June 11, 2023 at 10:54 am

      That's great! Thanks for letting me know!

      Reply
  3. Sally says

    March 04, 2023 at 7:51 pm

    Hi Leanne
    I made the chocolate cake for the first time.
    I baked it for 45 mins.
    It is so good, and fudgy.
    I picture chopped nuts, the cake, vanilla ice cream, and a little
    fudge topping

    Reply
    • Leanne says

      March 04, 2023 at 8:47 pm

      Hi Sally! I'm so glad you enjoyed the cake. Adding some ice cream sounds like a great idea!

      Reply
  4. Sally says

    August 19, 2022 at 12:02 am

    I want to make this cake.
    I have the instant pot 6 quart.
    Can I make the cake in it?
    If so, where could I find a pan that size.

    Reply
    • Leanne says

      August 20, 2022 at 6:59 pm

      Hi Sally! I've only made this cake in a Cosori 5.8 quart air fryer. I'm not familiar with the Instant Pot air fryer. I bought my 7-inch round pan at Winners Homesense but they're available on Amazon too!

      Reply

Leave a Reply Cancel 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.

Image of Leanne Combden

Welcome!

Hey there! I'm Leanne and welcome to Crumb Top Baking. I'm a self-taught baker, home cook and food photographer, and I'm passionate about sharing well-tested, simple and approachable desserts and savory recipes

More about me

Popular

  • Air fryer baby potatoes served in a white bowl and topped with sea salt and chopped fresh parsley.
    Air Fryer Baby Potatoes (Just 4 Ingredients!)
  • Air fryer tortilla chips served on a round platter with salsa and guacamole on the side.
    Homemade Air Fryer Tortilla Chips (with Corn or Flour Tortillas)
  • Air fryer pork schnitzel on a white plate with green beans and a lemon wedge.
    Crispy Air Fryer Pork Schnitzel
  • Overhead view of air fryer cake topped with chocolate frosting and cut into some slices.
    Chocolate Air Fryer Cake

Seasonal

  • Overhead view of a spring salad on a plate with another salad and vinaigrette off to the sides.
    Asparagus and Pea Salad with Lemon Thyme Vinaigrette
  • Slices of almond flour carrot cake with dairy free cream cheese frosting arranged on crumpled brown parchment paper.
    Almond Flour Carrot Cake with Cream Cheese Frosting
  • Pieces of almond flour lemon poppy seed cake arranged on parchment paper.
    Almond Flour Lemon Poppy Seed Cake
  • Air fryer carrots served in a white dish with fresh parsley and salt and pepper on the side.
    Air Fryer Carrots (Garlic Herb)

Footer

↑ back to top

About

  • About Leanne
  • Privacy Policy
  • Contact

Newsletter

  • Sign Up! for emails and updates

Recipes

  • All Recipes
  • Air Fryer Recipes
  • Almond Flour Recipes

Copyright © 2026 Crumb Top Baking

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required