A high-precision phase retrieval algorithm based on the transport of intensity equation for multi wavelength illumination is proposed. First of all, the traditional transport of intensity equation method is used to obtain the phase of a single wavelength, and the initial phase of different wavelengths is calculated according to the corresponding phase relationship between different wavelengths. Secondly, through the wavelength phase synthesis module, the phase of the object under multiple wavelengths is obtained. For the noise amplification problem introduced in the phase synthesis step, the phase unwrapping module is used to eliminate the noise level in the initial phase result and gradually reduce it to the noise level of two synthetic short wavelengths. Finally, the high-precision phase retrieval result is obtained. The experimental results verify the correctness and effectiveness of the proposed method.