Here is my favorite air fryer caramelized onions recipe, with a simple method that gives you sweet, golden onions in half the time of the stovetop method, using just onions, a little oil, and a pinch of salt.
These air fryer caramelized onions have become my go-to shortcut when I need to add flavor to burgers, sandwiches, or pasta dishes. I love how the air fryer does most of the work for me while I prep the rest of dinner. Way easier than standing over the stove for an hour, right?

Why You’ll Love These Air Fryer Caramelized Onions
- Quick and easy – Ready in just 30-45 minutes, these air fryer caramelized onions are much faster than the traditional stovetop method that can take over an hour.
- Minimal ingredients – With just onions, olive oil, butter, salt, and pepper, you probably already have everything you need in your kitchen right now.
- Hands-off cooking – The air fryer does most of the work for you, so you can prep other parts of your meal while these cook to golden perfection.
- Perfect flavor booster – These sweet, golden onions add incredible depth to burgers, steaks, pasta, or pizza without much effort on your part.
What Kind of Onion Should I Use?
Yellow onions are your best bet for caramelized onions since they have the perfect balance of sweetness and flavor that really shines when cooked low and slow. Sweet onions like Vidalia or Walla Walla are also great choices if you want an even milder, sweeter result. White onions will work in a pinch, but they tend to be a bit sharper and won’t give you that same rich, sweet flavor. Red onions can be used too, though they’ll add a slightly different taste and might turn your caramelized onions a purple-ish color, which isn’t necessarily bad but just different from what you might expect.

Options for Substitutions
This simple recipe is pretty forgiving when it comes to swaps:
- Yellow or sweet onions: While yellow and sweet onions work best for caramelizing, you can use white onions if that’s what you have. Red onions will work too, but they’ll give you a slightly sharper flavor and darker color.
- Butter: No butter on hand? You can use all olive oil instead – just bump it up to 2 tablespoons total. Margarine works fine as a direct swap, or try ghee for a richer taste.
- Olive oil: Any neutral cooking oil like vegetable or canola oil will do the job. Avocado oil is great too since it handles high heat well in the air fryer.
- Salt and pepper: Feel free to get creative with seasonings – a pinch of garlic powder, dried thyme, or even a splash of balsamic vinegar during the last few minutes can add extra flavor to your caramelized onions.
Watch Out for These Mistakes While Cooking
The biggest mistake people make with air fryer caramelized onions is cranking up the temperature too high, thinking it will speed up the process – but this just burns the outside while leaving the inside raw and bitter.
Keep your air fryer at a moderate 350°F and plan for about 15-20 minutes total, stirring every 5 minutes to ensure even browning and prevent hot spots from creating burnt edges.
Don’t skip the butter along with the olive oil, as the combination prevents sticking and adds richness, and make sure to slice your onions evenly (about 1/4 inch thick) so they cook at the same rate.
If your onions start looking too dark too quickly, lower the temperature to 325°F and add a splash of water to create steam that will help them soften without burning.

What to Serve With Air Fryer Caramelized Onions?
These sweet, golden onions are perfect for topping just about anything! I love piling them on top of grilled burgers or steak – they add such a rich, sweet flavor that pairs beautifully with savory meats. They’re also amazing stirred into pasta dishes, especially with some garlic and parmesan, or spooned over baked chicken for an easy weeknight dinner. For a lighter option, try them on top of a simple green salad or mixed into scrambled eggs for a fancy breakfast twist.
Storage Instructions
Refrigerate: These caramelized onions are perfect for meal prep! Store them in an airtight container in the fridge for up to a week. I love making a big batch on Sunday and using them throughout the week on burgers, pizzas, or mixed into scrambled eggs.
Freeze: You can absolutely freeze caramelized onions for longer storage. Just let them cool completely, then portion them into ice cube trays or small containers and freeze for up to 3 months. This way you can pop out just what you need for recipes.
Use: No need to reheat if you’re adding them to hot dishes like soups or pasta – just toss them in frozen and they’ll warm up quickly. For cold applications like salads or sandwiches, let them thaw in the fridge overnight or give them a quick warm-up in the microwave.
| Preparation Time | 10-15 minutes |
| Cooking Time | 20-30 minutes |
| Total Time | 30-45 minutes |
| Level of Difficulty | Easy |
Estimated Nutrition
Estimated nutrition for the whole recipe (without optional ingredients):
- Calories: 180-220
- Protein: 2-4 g
- Fat: 18-22 g
- Carbohydrates: 10-12 g
Ingredients
- 1 large yellow or sweet onion
- 1 tbsp olive oil
- 1 tbsp unsalted butter or margarine
- Salt, to taste
- Black pepper, to taste
Step 1: Preheat the Air Fryer
Set your air fryer to preheat to 300°F, following the manufacturer’s guidelines.
This ensures the appliance reaches the optimal temperature for cooking the onions.
Step 2: Prepare and Slice the Onion
- 1 large yellow or sweet onion
Peel the onion and cut it into slices about 1/4 inch thick.
Use a sharp paring knife for best results, and slice evenly for consistent cooking.
Step 3: Season the Onion Slices
- sliced onion from Step 2
- 1 tbsp olive oil
- 1 tbsp unsalted butter or margarine
- salt, to taste
- black pepper, to taste
In a large bowl, toss the sliced onions with olive oil and melted butter or margarine until well coated.
Sprinkle with salt and black pepper to taste, making sure the seasonings are evenly distributed.
I like to use a generous pinch of salt to help bring out the natural sweetness of the onions.
Step 4: Air Fry the Onions
- seasoned onion slices from Step 3
Arrange the seasoned onion slices in the basket of the preheated air fryer, spreading them out in a packed but even single layer to ensure even browning.
Cook at 300°F on the air fry setting for 20-30 minutes, stirring every 10 minutes so all the onions cook and brown evenly.
If the onions aren’t soft and well browned after 30 minutes, continue air frying in 5-minute increments until they reach your preferred level of doneness.