Preheat the air fryer to 270°F to 275°F
Place eggs in the air fryer basket in a single layer
Cook for 15 to 17 minutes for hard-boiled eggs
Remove the eggs and place them in an ice bath for 5 to 10 minutes
Peel the eggs after cooling
Adjust cooking time slightly based on egg size and air fryer model
