The synthesis process and the waveguides fabrication condition of melamine formaldehyde resin (MF) were investigated. Melamine formaldehyde resin showed easily film fabrication and optical transparency under certain condition. The nonlinear optical properties of the melamine formaldehyde resin doped