Thawed or fresh cod takes approximately 10-12 minutes in an air fryer preheated to 400 degrees F. Since each piece of fish is different, be sure to use a thermometer and cook until the fish reaches 145 degrees F internally.