If you’ve ever wondered whether you can bake a real birthday cake in an air fryer, the answer is yes — and it might just become your favorite way to do it. This air fryer birthday cake comes out moist, fluffy, and golden every time, using nothing more than a box of cake mix, a container of frosting, and a handful of sprinkles. No oven, no long preheat, and only one bowl to wash.

Air fryer birthday cake frosted with vanilla frosting, rainbow sprinkles, and birthday candles
Save This Recipe Form

Want to save this recipe?

Enter your email below & I will send it straight to your inbox. Plus you’ll get more great recipes from me on occasion!

I first made this cake for my husband’s birthday, honestly expecting a dense little experiment. What came out of the air fryer was a light, bakery-quality cake with a tender crumb — and it’s been my go-to celebration cake ever since. Whether you’re baking for a birthday, a small family celebration, or just because it’s Tuesday and you want cake, this recipe delivers with almost no effort.

Slice of air fryer birthday cake showing moist, fluffy confetti crumb on a plate

Why You’ll Love This Air Fryer Birthday Cake

  • It’s genuinely only 3 ingredients. Cake mix, frosting, and sprinkles. That’s the whole shopping list, and you probably have most of it in the pantry already.
  • No oven required. The air fryer works like a mini convection oven, which means you can bake a birthday cake in a dorm, an RV, a tiny apartment kitchen, or in the middle of summer without heating up the house.
  • It’s faster than the oven. There’s no 15-minute preheat, and the cake bakes in about 25 minutes.
  • Any flavor works. Funfetti is the classic birthday pick, but chocolate, vanilla, lemon, and strawberry all bake beautifully with the exact same method. Once you’ve mastered this one, the whole world of air fryer cake recipes opens up.
  • It’s practically foolproof. The toothpick test tells you exactly when it’s done, and I’ll walk you through the one mistake that trips most people up (spoiler: it’s the temperature).

Ingredients You’ll Need

Here’s everything for the cake — full measurements are in the recipe card below.

Ingredients for air fryer birthday cake including boxed cake mix, frosting, eggs, oil, and rainbow sprinkles
  • Cake mix. One standard 15.25-ounce box, any flavor, plus the eggs, oil, and water called for on the package. Funfetti gives you that classic confetti birthday look. If you only have plain vanilla mix, stir 1/3 cup of sprinkles straight into the batter and you’ve made your own confetti cake.
  • Frosting. One 16-ounce container of any flavor. Vanilla and chocolate are the classics, but cream cheese frosting is wonderful on this too.
  • Sprinkles. About 1/2 cup for decorating. If you’re mixing sprinkles into the batter, use jimmies (the long, waxy kind) — nonpareils and sugar pearls bleed their color into the batter and turn it gray.

Equipment

You need two things: an air fryer and a cake pan that fits inside it.

  • Air fryer. A basket-style air fryer that’s 5 quarts or larger, or any air fryer oven. This method works in every brand — if you bake in a Ninja Foodi instead, the process is nearly identical to my guide on how to bake a cake in the Ninja Foodi.
  • Cake pan. A 7-inch round metal cake pan fits most standard air fryer baskets; larger air fryer ovens can handle 8 or 9 inches. Any oven-safe metal, ceramic, or silicone pan works.
  • Before you start, measure your basket. This is the step everyone skips. A full box of cake mix makes more batter than a 7-inch pan can hold, so fill the pan only two-thirds full and bake the extra batter as a second layer or a few cupcakes.

How to Make a Birthday Cake in the Air Fryer

Pouring boxed cake mix into a mixing bowl to make air fryer birthday cake batter

Step 1: Mix the batter. Prepare the cake mix according to the package directions, whisking just until the dry streaks disappear. Overmixing develops the gluten and makes the cake dense — stop as soon as it’s combined.

Step 2: Prep the pan. Spray your cake pan generously with non-stick cooking spray, getting into the corners. Pour in the batter, filling the pan no more than 2/3 full so the cake has room to rise.

Adding eggs, oil, and water to cake mix for air fryer birthday cake batter

Step 3: Air fry at 320°F for 20 minutes. Set the pan into the basket and bake. Don’t be tempted to use 350°F like an oven recipe — air fryers run hotter and more intensely, and 320°F is the sweet spot for a cake that bakes through without burning on top.

Mixing air fryer birthday cake batter with an electric hand mixer until smooth

Step 4: Test for doneness. Insert a toothpick into the center of the cake. If it comes out clean, it’s done. If it comes out with wet batter, keep baking in 5-minute increments and re-test. Depending on your air fryer’s wattage and pan size, the total time runs 20 to 30 minutes. If the top is browning faster than the middle is setting, lay a piece of foil loosely over the cake for the rest of the bake.

Step 5: Cool completely, then decorate. Let the cake rest in the pan for 10 minutes, then turn it out onto a wire rack. Wait until it’s completely cool before frosting — frosting a warm cake turns it into a glaze that slides right off. Then frost generously, shower it with sprinkles, and add the candles.

Frosted air fryer birthday cake with rainbow sprinkles on a wooden cutting board

My Best Tips for Air Fryer Cakes

  • Trust the toothpick, not your eyes. Air fryer cakes brown on top well before the center is done. A gorgeous golden top can be hiding raw batter underneath, so always test.
  • 320°F is the magic number. Roughly 30 degrees lower than a conventional oven recipe. This single adjustment fixes almost every “my air fryer cake burned” problem.
  • Make it a layer cake. Divide the batter between two bakes, then stack the layers with frosting in the middle. It looks like it came from a bakery.
  • Size it for the occasion. For a baby’s first birthday, bake the batter in a 4-inch pan to make an adorable air fryer smash cake — same method, mini scale.
  • Try it from scratch, too. Once you’re comfortable, homemade batters bake exactly the same way. My air fryer sour cream lemon cake is a great next step, and if you’re feeling ambitious, air fryer pineapple upside-down cake is a showstopper.

Flavor Variations

Chocolate lover’s cake: Chocolate cake mix, chocolate frosting, rainbow sprinkles.

Lemon celebration cake: Lemon cake mix with vanilla frosting and pastel sprinkles — bright and perfect for spring birthdays.

Strawberry confetti: Strawberry mix with vanilla frosting and white jimmies.

Cookies and cream: Vanilla or chocolate cake topped with vanilla frosting and crushed chocolate sandwich cookies instead of sprinkles.

Storage Instructions

Room temperature: Keep the frosted cake covered (a cake dome or an inverted bowl works) for up to 2 days.

Refrigerator: Store in an airtight container for up to 5 days. Let slices come back to room temperature before serving — cold cake tastes drier than it is.

Freezer: Freeze unfrosted cake layers wrapped tightly in plastic wrap and foil for up to 3 months. Thaw overnight on the counter, then frost. This is my favorite make-ahead trick for busy birthday weeks.

Air fryer birthday cake decorated with vanilla frosting, rainbow sprinkles, and lit birthday candles

Frequently Asked Questions

Can you really bake a cake in an air fryer? Yes. An air fryer is essentially a compact convection oven. The two adjustments that matter: bake at 320°F instead of 350°F, and use a pan that physically fits your basket with a little airflow around it.

How long does a cake take in the air fryer? A 7-inch cake takes 20 to 30 minutes at 320°F. Start the toothpick test at 20 minutes and add time in 5-minute increments as needed. Higher-wattage air fryers finish faster.

Why is my air fryer cake burnt on top and raw in the middle? The temperature is too high. The heating element sits close to the food, so oven temperatures scorch the surface before the center sets. Drop to 320°F, and tent the cake loosely with foil if the top is coloring too fast.

What kind of pan can I use in an air fryer? Any oven-safe metal, silicone, or ceramic pan that fits your basket. A 7-inch round pan fits most 5–6 quart basket models; air fryer ovens handle 8–9 inch pans.

Can I use homemade cake batter instead of boxed mix? Absolutely. Any standard cake batter bakes with the same time and temperature — fill the pan 2/3 full and use the toothpick test just as you would with a mix.

Do I need to preheat the air fryer? For cakes, no — starting in a cold air fryer gives the batter a gentler rise and helps prevent a domed or cracked top. If your model requires preheating, shave 2–3 minutes off the initial bake time.

Slice of air fryer birthday cake showing moist, fluffy confetti crumb on a plate

Air Fryer Birthday Cake

5 from 3 votes
Prep Time: 10 minutes
Cook Time: 25 minutes
30 minutes
Total Time: 1 hour 5 minutes
Servings: 8 Servings

Description

This easy air fryer birthday cake starts with a box of cake mix and bakes up moist, light, and fluffy — no oven needed. Frost it, cover it in sprinkles, and add candles for the easiest celebration cake you'll ever make.

Ingredients 

  • 15.25 ounces cake mix, 15.25 oz cake mix, any flavor, plus the eggs, oil, and water listed on the package
  • 16 ounces frosting, 16 oz frosting, any flavor
  • 1/2 cup rainbow sprinkles

Instructions

  • Prepare the cake mix according to the package directions, whisking just until combined. Do not overmix.
  • Spray a 7-inch air-fryer-safe cake pan with non-stick cooking spray. Pour in the batter, filling the pan no more than 2/3 full. Reserve any extra batter for a second layer or cupcakes.
  • Place the pan in the air fryer basket and air fry at 320°F for 20 minutes.
  • Insert a toothpick into the center of the cake. If it comes out clean, the cake is done; if not, continue air frying in 5-minute increments, up to about 30 minutes total. If the top browns too quickly, tent it loosely with foil.
  • Cool the cake in the pan for 10 minutes, then turn out onto a wire rack and cool completely.
  • Frost the fully cooled cake, decorate with sprinkles, and add candles.

Equipment

  • Air fryer (5-quart or larger)
  • 7-inch round cake pan (oven-safe metal, ceramic, or silicone)

Notes

  • Temperature matters: Air fryers run hotter than ovens. Bake at 320°F — not 350°F — to keep the top from burning before the center sets.
  • Pan check: Measure your basket before starting. A 7-inch pan fits most 5–6 quart air fryers.
  • Cool before frosting: Frosting a warm cake will melt it into a glaze.
  • Storage: Covered at room temperature up to 2 days, refrigerated up to 5 days, or freeze unfrosted layers up to 3 months.

Nutrition

Serving: 1ServingCalories: 480kcalCarbohydrates: 92gProtein: 2gFat: 12gSaturated Fat: 3gPolyunsaturated Fat: 5gMonounsaturated Fat: 3gTrans Fat: 0.2gSodium: 479mgPotassium: 53mgFiber: 1gSugar: 68gCalcium: 120mgIron: 1mg

Share this recipe

We can’t wait to see what you’ve made! Mention @forktospoon or tag #forktospoon!