Electrical characteristics and elemental depth profiles of ohmic contacts to p-GaN using Au/Ni-Mg-Ox metallization have been investigated. The objective was to examine the possibilities of increasing the charge carrier concentration in the surface region of GaN by adding Mg, thus of a p-type dopant into the Au/NiOx metallization structure. For this purpose, a Ni-Mg-Ox layer with a low concentration of Mg was deposited on p-GaN by dc reactive magnetron sputtering. The top Au layer was deposited in a similar way. The fabricated contact structures were annealed in N 2 . When the Ni-Mg layer in the Au/Ni-Mg-Ox/p-GaN structure was deposited in an atmosphere with a low concentration of oxygen (0.2 at%), the structure exhibited a low resistance ohmic nature.