Preheat your air fryer to 270 degrees. Add the eggs to the fryer basket or tray, and cook 15 minutes for hard-boiled eggs. For soft-boiled eggs, cook them 10 minutes. For medium-boiled eggs cook for 12 minutes.
When finished, remove the eggs from the air fryer and immediately place them into an ice bath. Wait at least 2 to 3 minutes, and then peel, slice and enjoy!