In a 400 degrees F (204 degrees C) preheated air fryer, chestnuts can cook in as little as 4 to 5 minutes and up to 15 minutes or more, depending on the size of the chestnut. The roasting process is complete when the shell and peel pull back and show the yellow nut beneath.