We have investigated the effect on the device performance and reliability of incorporating Mg into the HfSiON gate dielectrics. Mg incorporation is effective for reducing the threshold voltage and gate leakage current in n-type metal-oxide-semiconductor field effect transistor. On the other hand, it may introduce interface states and degrade the mobility if the Mg atoms come close to the interface between the Si substrate and the gate oxide. Nonetheless, Mg incorporation has great potential for improving reliability, including positive bias temperature instability (PBTI) and time-dependent dielectric breakdown (TDDB). Its reliability improvement is mainly caused by gate leakage current reduction and trap density suppression as an result of Mg incorporation.