In this study, we investigate the deposition of SiN(x) thin films by radio-frequency ion-beam sputtering deposition. By varying the amount of N(2) and Ar flow and ion-beam voltage, we can obtain an optimal refractive index of 2.07, extinction coefficient (at the central wavelength of 500 nm) of 3.44 x 10(-4), and deposition rate of 0.166 nm/s. The x-ray photoelectron spectra of SiN(x) films deposited with different beam voltages are also analyzed. The residual stress of the SiN(x) films varied from -1.38 to -2.17 GPa, depending on the beam voltage. The residual stress is reduced from -2.17 to -1.40 GPa when the film is divided into four layers with three interfaces. (C) 2010 Society of Photo-Optical Instrumentation Engineers. [DOI: 10.1117/1.3456708]