Cooking the Air Fryer Butternut Squash at 400 degrees F, at air fryer setting, gives your butternut squash the same slow-roasted flavor that you will achieve when using a traditional oven. But, using an oven will take about 45 to 60 minutes. By using the air fryer, you are looking at a cooking time of under 20 minutes