The gray-tracking of KTiOPO4, nonlinear crystals, which is used for second harmonic generation of solid state lasers, have been investigated. The optical absorptions were measured and then the susceptibilities of gray-tracking were observed by measuring the reduction of transmittance of the crystal by irradiating of the laser pulses with the second harmonics of Nd:YAG laser. In addition, impurities in the crystals were analyzed. In comparison with the susceptibilities and the absorptions, the susceptibility of the gray-tracking of KTP crystals indicated a dependence on the initial absorption at 532-nm wavelength. Moreover, it is prevented with increasing OH concentration in the crystals. We propose a new approach toward the improvement of gray-tracking for KTP crystals using annealing process under control of the humidity.