Dinners

Air Fryer Bars: Crispy Edges, Soft Centers

Updated · By Patriot Kitchen

Total timeprep + cook
28 min
Prep
10 min
hands-on
Cook
18 min
oven or stovetop
Serves
4
as written

Jump to recipe Save

These air fryer bars give you a crisp, golden crust with a soft, tender center—like a baked good that spent time under a broiler. The circulating hot air browns the outside faster than an oven, so you get a crunchy edge in about half the time. They work for sweet or savory batters, from cornbread to brownies, and are ready in under 30 minutes.

Pick Your Pan and Preheat the Basket

Use a pan that fits inside your air fryer basket with at least 1 inch (2.5 cm) of space around it for air to circulate. A 6-inch (15 cm) round cake pan, a 6×4-inch (15×10 cm) loaf pan, or a 7-inch (18 cm) pie plate all work. If you have a basket-style fryer, place the pan directly on the rack. For oven-style air fryers, use the middle shelf. Preheat the air fryer to 320°F (160°C) for 3 minutes before adding the batter.

Ingredients

  • 1 cup (125 g) all-purpose flour
  • 1/2 cup (100 g) granulated sugar
  • 1 teaspoon baking powder
  • 1/4 teaspoon salt
  • 1/2 cup (120 ml) milk (any kind)
  • 1/4 cup (60 ml) neutral oil (like canola or vegetable)
  • 1 large egg
  • 1 teaspoon vanilla extract
  • Optional add-ins: 1/2 cup (85 g) chocolate chips, or 1/2 cup (75 g) chopped nuts, or 1/2 cup (75 g) fresh or frozen berries

Mix the Batter and Fill the Pan

In a medium bowl, whisk together the flour, sugar, baking powder, and salt. In a small bowl, whisk the milk, oil, egg, and vanilla until combined. Pour the wet ingredients into the dry and stir with a spatula until just combined—a few lumps are fine. Fold in any add-ins if using. Pour the batter into the prepared pan and smooth the top. The batter should be about 1 inch (2.5 cm) deep; if your pan is larger, the bars will be thinner and cook faster.

Air Fry at 320°F (160°C) Until Golden and Set

Place the pan in the preheated air fryer. Cook at 320°F (160°C) for 15–18 minutes, until the top is golden brown and a toothpick inserted into the center comes out clean. If you added berries or a lot of add-ins, check at 15 minutes and add 2–3 minutes if needed. Air fryer times vary by model, so start checking at the lower end. For a darker, crisper top, increase the temperature to 350°F (175°C) for the last 2 minutes, but watch closely to avoid burning.

Cool, Slice, and Serve

Let the bars cool in the pan on a wire rack for 10 minutes. Run a knife around the edge and turn out onto the rack to cool completely before slicing, about 15 more minutes. Serve warm or at room temperature. These bars pair well with coffee or tea, or as a side to chili or soup. For a sweet version, dust with powdered sugar or drizzle with a simple glaze (1/2 cup powdered sugar mixed with 1–2 tablespoons milk). For a savory version, omit the sugar and vanilla, add 1/2 teaspoon garlic powder and 1/2 cup shredded cheddar, and serve with eggs.

Swap Ingredients Without Changing the Texture

You can replace the all-purpose flour with an equal amount of whole wheat flour (denser, nuttier) or a 1:1 gluten-free baking flour (may need 1–2 tablespoons extra milk). Use buttermilk instead of milk for a tangier flavor. Replace the oil with melted butter (use 1/4 cup / 57 g) for a richer taste. For a dairy-free version, use plant-based milk and oil—no other changes. If you want a sugar-free version, use 1/2 cup of a granulated sweetener that measures like sugar; note that some sweeteners brown faster, so check at 12 minutes.

Store Leftover Bars in the Fridge

Cool completely, then store in an airtight container at room temperature for up to 2 days. For longer storage, refrigerate for up to 4 days. To freeze, wrap each bar individually in plastic wrap and place in a freezer bag for up to 3 months. Thaw at room temperature or reheat in the air fryer at 300°F (150°C) for 2–3 minutes. If the bars contain perishable add-ins like fresh fruit or cream cheese, refrigerate within 2 hours of baking.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).