The energetics and structural properties of native, substitutional and interstitial defects in NiAl have been investigated by first-principles methods.In particular, we have determined the formation energies of composition conserving defects and established that the so-called penta defect, which consists of four vacancies on Ni sublattice and Ni antisite on the Al sublattice, is the main source of vacancies in NiAl.We show that this is due to the strong Ni-site preference of vacancies in NiAl.We have also calculated the site substitution behavior of Cu, Pd, Pt, Si, Ti, Cr, V, Nb, Ta and Mo and their effect on the concentration expansion coefficientWe show the latter information can used for an indirect estimate of the site substitution behavior of the alloying elements.The solution energy of carbon and its effect on the lattice constant of NiAl have been obtained in the dilute limit in the first-principles calculationsWe have also determined the chem. and strain-induced carbon-carbon interactions in the interstitial positions of NiAl.These interactions have been subsequently used in the statistical thermodn. simulations of carbon ordering in NiAl.