The perfect temperature for cooking cod is 400 degrees Fahrenheit. At this temperature, your cod filets will take about 15 minutes to cook through.