You can cook sweet potato fries in an air fryer at 400° F for 15-20 minutes. Then, keep turning the fries for even cooking.