In this paper, the optical and electrical properties of Mg-doped AlN nanowires are discussed. At room temperature, with the increase of Mg-doping concentration, the Mg-acceptor energy level related optical transition can be clearly measured, which is separated about 0.6 eV from the band-edge transition, consistent with the Mg activation energy in AlN. The electrical conduction measurements indicate an activation energy of 23 meV at 300 K-450 K temperature range, which is significantly smaller than the Mg-ionization energy in AlN, suggesting the p-type conduction being mostly related to hopping conduction. The free hole concentration of AlN:Mg nanowires is estimated to be on the order of 10 16 cm À3 , or higher. V