Air Fryer Mocha Cupcakes Recipe

Rich, moist mocha cupcakes baked to perfection in an air fryer, topped with silky coffee buttercream and a dusting of cocoa powder for an indulgent coffee-chocolate treat.
Difficulty:
Beginner
Prep Time:
15 mins
Cook Time:
12 mins
Serves:
12 cupcakes
An overhead shot of six mocha cupcakes arranged on a white ceramic cake stand, their coffee buttercream frosting swirled into perfect peaks with a light dusting of cocoa powder and tiny chocolate-covered espresso beans as garnish. The cross-section of one cupcake reveals a moist, dark chocolate crumb with visible flecks of espresso. Soft natural light streams in from a side window, highlighting the velvety texture of the frosting and creating gentle shadows that emphasize the depth of the cocoa color. A small cup of espresso and scattered coffee beans sit beside the cupcakes, with steam visibly rising from the coffee, adding warmth to the composition.

Ingredients

<ul class="ingredients-main-list"><li class="ingredients-single-item">150g all-purpose flour</li><li class="ingredients-single-item">35g cocoa powder, unsweetened</li><li class="ingredients-single-item">1 tsp baking powder</li><li class="ingredients-single-item">1/2 tsp baking soda</li><li class="ingredients-single-item">1/4 tsp salt</li><li class="ingredients-single-item">150g granulated sugar</li><li class="ingredients-single-item">115g unsalted butter, softened</li><li class="ingredients-single-item">2 large eggs, room temperature</li><li class="ingredients-single-item">1 tsp vanilla extract</li><li class="ingredients-single-item">60ml strong brewed coffee, cooled</li><li class="ingredients-single-item">60ml buttermilk (or 60ml milk with 1 tsp lemon juice)</li><li class="ingredients-single-item">2 tsp instant espresso powder</li><li class="ingredients-single-item"><strong>For the Coffee Buttercream:</strong></li><li class="ingredients-single-item">175g unsalted butter, softened</li><li class="ingredients-single-item">300g powdered sugar, sifted</li><li class="ingredients-single-item">1 tbsp instant espresso powder dissolved in 1 tbsp hot water, cooled</li><li class="ingredients-single-item">1 tsp vanilla extract</li><li class="ingredients-single-item">Pinch of salt</li><li class="ingredients-single-item"><strong>For Garnish:</strong></li><li class="ingredients-single-item">Cocoa powder for dusting</li><li class="ingredients-single-item">Chocolate-covered espresso beans (optional)</li></ul>

Equipment

<ul class="equipment-main-list"><li class="equipment-single-item">Air fryer</li><li class="equipment-single-item">12 silicone cupcake liners</li><li class="equipment-single-item">Electric mixer (hand or stand)</li><li class="equipment-single-item">Piping bag with star tip</li></ul>
BAKE SMARTER

Kitchen Converter

Quickly switch between common baking units without leaving the recipe.

Convert
Result—

Volume uses US cups, tablespoons, and teaspoons. Converting weight to volume depends on the ingredient.

Directions

<ol class="no-list-style"><li class="MethodStepper"><h4 class="step-title">Step 1</h4>Preheat your air fryer to 160°C for 3 minutes. While it's heating, line your air fryer basket or tray with silicone cupcake liners. Using silicone liners is crucial as paper liners might fly around during the cooking process due to the air circulation.</li><li class="MethodStepper"><h4 class="step-title">Step 2</h4>In a medium bowl, whisk together the flour, cocoa powder, baking powder, baking soda, and salt. The cocoa powder can sometimes be lumpy, so be sure to sift it if needed to ensure a smooth batter. Set this dry mixture aside.</li><li class="MethodStepper"><h4 class="step-title">Step 3</h4>In a small bowl, combine the cooled brewed coffee with buttermilk and instant espresso powder, stirring until the espresso powder completely dissolves. This creates the intense coffee flavor that makes these cupcakes truly mocha-flavored. The acidity in the buttermilk will react with the baking soda to help create a tender crumb.</li><li class="MethodStepper"><h4 class="step-title">Step 4</h4>In a large bowl, cream together the softened butter and granulated sugar until light and fluffy, about 3-4 minutes. This extended beating time incorporates air into the batter, helping your cupcakes rise properly and creating a lighter texture. The mixture should turn pale and increase in volume.</li><li class="MethodStepper"><h4 class="step-title">Step 5</h4>Add the eggs one at a time, beating well after each addition until fully incorporated. Mix in the vanilla extract. Don't rush this step - proper incorporation of eggs creates an emulsion that supports the cake structure.</li><li class="MethodStepper"><h4 class="step-title">Step 6</h4>Gradually add the dry ingredients to the butter mixture in three additions, alternating with the coffee-buttermilk mixture (begin and end with dry ingredients). Mix on low speed just until combined after each addition. Overmixing at this stage can develop gluten in the flour, resulting in tough cupcakes, so stir just until no flour streaks remain.</li><li class="MethodStepper"><h4 class="step-title">Step 7</h4>Fill each cupcake liner about 2/3 full with batter. This gives the cupcakes room to rise without overflowing. Depending on the size of your air fryer, you may need to bake in batches.</li><li class="MethodStepper"><h4 class="step-title">Step 8</h4>Place the cupcake-filled liners in your air fryer basket or tray, making sure they're stable and level. Air fry at 160°C for 10-12 minutes, or until a toothpick inserted into the center comes out clean with a few moist crumbs. The lower temperature (compared to a conventional oven) prevents the cupcakes from drying out in the intense circulating heat.</li><li class="MethodStepper"><h4 class="step-title">Step 9</h4>Remove the cupcakes carefully and let them cool in the silicone liners for 5 minutes before transferring to a wire rack to cool completely. The cupcakes must be completely cool before frosting or the buttercream will melt.</li><li class="MethodStepper"><h4 class="step-title">Step 10</h4>While the cupcakes cool, prepare the coffee buttercream. Dissolve the instant espresso powder in hot water and let it cool. In a large bowl, beat the softened butter until creamy and pale, about 2-3 minutes. The butter needs to be soft but not melted for the best texture.</li><li class="MethodStepper"><h4 class="step-title">Step 11</h4>Gradually add the sifted powdered sugar, about 50g at a time, beating well after each addition. Once all sugar is incorporated, add the cooled dissolved espresso, vanilla extract, and a pinch of salt. Beat on medium-high speed for 3-4 minutes until the frosting is light and fluffy. The extended beating time incorporates air for a silky, smooth texture.</li><li class="MethodStepper"><h4 class="step-title">Step 12</h4>Transfer the buttercream to a piping bag fitted with a star tip. Pipe a generous swirl on top of each cooled cupcake, starting from the outer edge and working your way to the center with even pressure.</li><li class="MethodStepper"><h4 class="step-title">Step 13</h4>Finish the cupcakes with a light dusting of cocoa powder using a small sieve. If desired, top each cupcake with a chocolate-covered espresso bean for an elegant garnish that hints at the flavor inside.</li><li class="MethodStepper"><h4 class="step-title">Step 14</h4>For the best flavor, let the frosted cupcakes sit at room temperature for about 30 minutes before serving. This allows the flavors to meld together. Store any leftover cupcakes in an airtight container at room temperature for up to 2 days, or refrigerate for up to 5 days. Bring to room temperature before serving for the best taste and texture.</li></ol>

Nutrition Facts (per serving)

🍽️ Serving Size: 1 cupcake
🔥 Calories: 325 calories
🥑 Fat: 18 g
🧈 Saturated Fat: 11 g
🍞 Carbohydrates: 38 g
🍭 Sugar: 28 g
🍗 Protein: 3 g
🫀 Cholesterol: 75 mg
🧂 Sodium: 180 mg

Chef’s Notes

A few helpful details for making this recipe.

Can regular cupcake liners be used in an air fryer for baking?

Regular paper liners aren't recommended for air fryer baking as they may fly around due to air circulation. Silicone liners are crucial for this recipe as they stay in place, conduct heat evenly, and make removal easier. If you must use paper liners, place them in heavier ramekins or muffin tins.

Why is my coffee buttercream frosting runny?

Runny buttercream usually results from butter that's too warm or adding too much liquid espresso. Make sure your butter is softened but still cool and that your dissolved espresso has completely cooled. If it's still runny, gradually add more sifted powdered sugar until you reach the desired piping consistency.

What's the best way to store air fryer cupcakes to maintain freshness?

For maximum freshness, store frosted cupcakes in an airtight container at room temperature for up to 2 days or refrigerate for up to 5 days. If refrigerated, bring them to room temperature for 30 minutes before serving to restore their soft texture and allow the flavours to fully develop.

Want to try something else in ...

More recipes you might like

Keep exploring with more recipes from What's Baking.