Air fryer sugar cookie bars are a quick, soft-baked treat with a crisp golden edge and a tender, cake-like center. They suit a weeknight dessert, a lunchbox surprise, or a small gathering when you don’t want to heat up the oven. The air fryer gives them a slightly caramelized bottom that you don’t get in a conventional oven, and they’re ready in about 20 minutes from start to finish.
Ingredients
- 1/2 cup (113 g) unsalted butter, softened
- 1/2 cup (100 g) granulated sugar
- 1 large egg (pasteurized if you plan to eat the dough raw)
- 1 tsp vanilla extract
- 1 1/4 cups (160 g) all-purpose flour (heat-treated if eating raw dough)
- 1/2 tsp baking powder
- 1/4 tsp salt
- 1/2 cup (85 g) white chocolate chips or sprinkles (optional)
- For the glaze: 1/2 cup (60 g) powdered sugar, 1–2 tbsp milk, 1/4 tsp vanilla
Instructions
- In a medium bowl, beat the softened butter and sugar until light and fluffy, about 2 minutes. Add the egg and vanilla, and beat until combined.
- In a separate bowl, whisk the flour, baking powder, and salt. Gradually add to the wet mixture, stirring until just combined. Fold in the chocolate chips or sprinkles if using.
- Line an air fryer basket with a parchment paper round or a silicone liner that fits. Press the dough evenly into a 6-inch (15 cm) round or square pan that fits inside your air fryer basket. If your basket is smaller, divide the dough into two batches and cook in two rounds.
- Preheat the air fryer to 320°F (160°C) for 3 minutes. Place the pan in the basket and cook for 10–12 minutes, until the edges are golden and the center is set but still slightly soft. A toothpick inserted in the center should come out mostly clean, with a few moist crumbs.
- Let the bars cool in the pan for 10 minutes. While they cool, whisk the powdered sugar, 1 tablespoon of milk, and vanilla into a smooth glaze. Add more milk a teaspoon at a time if it’s too thick.
- Drizzle the glaze over the warm bars, spread it gently, and let it set for 5 minutes before slicing into 9 squares.
Air fryer times vary by model; check at 10 minutes and add 1–2 minutes if needed. Do not overcrowd the basket—if your pan is larger than the basket, use a smaller pan or cook in batches.
What Pan Fits in an Air Fryer?
Most air fryer baskets fit a 6-inch (15 cm) round cake pan or a 6×6-inch (15×15 cm) square pan. If you have a larger basket (like a 5.8-quart), you can use a 7-inch (18 cm) round pan. Always check that the pan sits flat and has at least 1 inch (2.5 cm) of space around it for air to circulate. If you don’t have a pan, you can press the dough directly into a parchment-lined basket, but shape it into a 6-inch round and leave a 1-inch border so the edges don’t touch the basket walls.
How to Scale This Recipe for More or Fewer Bars
This recipe makes 9 bars in a 6-inch pan. To make a larger batch for a crowd, double the ingredients and press the dough into a 9×9-inch (23×23 cm) pan, but you’ll need to cook it in batches because most air fryers won’t fit a 9-inch pan. For a single serving, halve the recipe and use a 4-inch (10 cm) ramekin; cook for 8–10 minutes.
| Batch Size | Butter | Sugar | Flour | Pan Size | Cook Time |
|---|---|---|---|---|---|
| 1 (9 bars) | 1/2 cup | 1/2 cup | 1 1/4 cups | 6-inch round | 10–12 min |
| 2 (18 bars) | 1 cup | 1 cup | 2 1/2 cups | Two 6-inch rounds | 10–12 min per batch |
| 1/2 (4–5 bars) | 1/4 cup | 1/4 cup | 1/2 cup + 2 tbsp | 4-inch ramekin | 8–10 min |
When scaling, keep the same proportions. For a half batch, use 1/2 egg—beat the egg in a small bowl, measure out half (about 1 1/2 tablespoons), and discard the rest.
What Goes Wrong and How to Fix It
Bars are too dense or heavy. Overmixing the dough develops gluten, which makes bars tough. Stir only until the flour disappears. Also, if you press the dough too firmly into the pan, it will be compact; press it gently to an even layer.
Bars are undercooked in the center. The air fryer’s hot air can cook the edges faster than the middle. If the center is still raw at 12 minutes, lower the temperature to 300°F (150°C) and cook for 2–3 more minutes, checking every minute. A smaller pan helps the center cook evenly.
Bars stick to the pan. Always line the pan with parchment paper or use a silicone liner. Grease the parchment lightly with butter or nonstick spray. Let the bars cool for 10 minutes before lifting them out; cutting too early can cause them to crumble.
How Long Do Air Fryer Sugar Cookie Bars Keep?
Store the bars in an airtight container at room temperature for up to 3 days. If you glaze them, the glaze may soften slightly over time; that’s fine. For longer storage, wrap the unglazed bars tightly in plastic wrap and freeze for up to 3 months. Thaw in the refrigerator overnight or at room temperature for 1 hour. Reheat individual bars in the air fryer at 300°F (150°C) for 2–3 minutes to refresh the crisp edges. Do not leave them out on the counter for more than 2 hours total, as the butter and egg make them perishable.
What to Serve With These Bars
These bars are sweet enough on their own, but a cold glass of milk or a scoop of vanilla ice cream balances the buttery sugar flavor. For a brunch or potluck, cut them smaller and serve with fresh berries or a drizzle of caramel sauce. If you skip the glaze, they make a sturdy base for a simple strawberry shortcake—top with macerated strawberries and whipped cream. The bars also freeze well, so you can make a batch ahead and pull them out for unexpected guests.
Raw Dough Warning
If you taste the dough before baking, note that raw flour can carry bacteria. Heat-treat the flour by spreading it on a baking sheet and baking at 350°F (175°C) for 5 minutes, then let it cool completely. Use pasteurized eggs to reduce the risk of salmonella. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw flour and raw eggs entirely.
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).






