Preheat your air fryer to 400°F (200°C) for about 3-5 minutes.
While the air fryer is preheating, wash the asparagus and trim off the tough ends.
Place the trimmed asparagus in a mixing bowl and drizzle with olive oil. Toss to coat evenly.
Season the asparagus with salt and pepper, and any other optional seasonings you prefer, like minced garlic or lemon zest.
Once the air fryer is preheated, arrange the asparagus spears in a single layer in the air fryer basket. You may need to do this in batches depending on the size of your air fryer.
Cook the asparagus in the air fryer for about 7-10 minutes, shaking the basket halfway through cooking to ensure even cooking.
Check for doneness by piercing the asparagus with a fork; it should be tender but still crisp.
Once cooked to your liking, remove the asparagus from the air fryer and transfer to a serving plate.
If desired, sprinkle with grated Parmesan cheese while the asparagus is still hot.
Serve immediately and enjoy your delicious Air Fryer Roasted Asparagus!