The proper technique for baking mahi mahi is similar to that of baking any other type of fish; exact baking time will depend on the temperature of the oven and the size and thickness of the fish fillet. Fin fish should be cooked until it has an internal temperature of 145 degrees Fahrenheit and is opaque and flaky, according to foodsafety.gov. It is preferable for fish to be lightly undercooked rather than exactly done as it is removed from the oven, as it will continue to cook for a few minutes as it cools.
Time may not be the best way to measure when a piece of mahi mahi is done cooking. Different factors can influence cooking time, and in addition to the above-mentioned factors, things like the internal temperature of the fish when it is put in the oven will affect its cooking time; other factors that will impact the total cooking time include any coatings or other recipe elements that add thickness and cover to the fish. Those who are following a recipe should follow those instructions exactly, including cooking time and oven temperature. If the fish is overcooked, adjustments to time and temperature can be made in the future.