We present in this article a comprehensive study of rapid thermal annealing ͑RTA͒ effects on the physical properties of SiN x :H thin films deposited by the electron cyclotron resonance plasma method. Films of different as-deposited compositions ͑defined in this article as the nitrogen to silicon ratio, xϭN/Si) were analyzed: from Si-rich (xϭ0.97) to N-rich (xϭ1.6) films. The evolution of the composition, bonding configuration, and paramagnetic defects with the annealing temperature are explained by means of different network bond reactions that take place depending on the as-deposited film composition. All the analyzed films release hydrogen, while Si-rich and near-stoichiometric (xϭ1.43) ones also lose nitrogen upon annealing. These films were used to make Al/SiN x :H/semiconductor devices with Si, In 0.53 Ga 0.47 As, and InP. After RTA treatments, the electrical properties of the three different SiN x :H/semiconductor interfaces can be explained, noting the microstructural modifications that SiN x :H experiences upon annealing.