You know the cod is done when it flakes easily with a fork at the thickest part. You can also use an instant read thermometer and check that it registers 145 degrees F.