Abstract. We present ab initio density functional investigations of the atomic and electronic structure of gallium nitride nanodots and nanowires. With increasing diameter, the average Ga-N bond length in the nanostructures increases, as does the relative stability (heat of formation), approaching the values for bulk GaN. As the diameter decreases, the band gap increases, with the variation of the nanodots greater than that of the nanowires, in qualitatively accordance with expectations based on simple geometrical quantum confinement considerations.