Preheat your air fryer to 325°F (160°C) for a few minutes.
In a large bowl, mash the ripe bananas until smooth.
In a separate bowl, whisk together the flour, baking powder, baking soda, and salt.
In another bowl, beat the sugar, egg, vegetable oil, and vanilla extract until well combined.
Add the wet ingredients to the mashed bananas and mix until incorporated.
Gradually add the dry ingredients to the wet ingredients, stirring until just combined. Be careful not to overmix.
If using, fold in any optional mix-ins such as chocolate chips or nuts.
Line a muffin tin with paper liners or silicone cups.
Spoon the batter evenly into the prepared muffin cups, filling each about two-thirds full.
Place the muffin tin in the preheated air fryer basket, leaving space between each muffin for air circulation.
Air fry the muffins at 325°F (160°C) for 12-15 minutes, or until they are golden brown and a toothpick inserted into the center comes out clean.
Once cooked, remove the muffins from the air fryer and allow them to cool slightly before serving.
Enjoy your delicious air fryer banana muffins!