We have performed density functional theory simulations applied to slabs to study the dehydrogenation ofammonia on the surface of clean and atomic oxygen or hydroxyl precovered Au(111). Ammonia does notdissociate unimolecularly on the surface and needs a proton scavenger to drive decomposition. O atoms orhydroxyl groups on the surface are basic enough to attract the first H atom from the molecule and are alsoneeded in the resting dehydrogenation steps. Recombination steps to form N2 and NO are hindered by barrierslower than those on Pt or Rh(111) due to the low interaction energies of molecular moieties with the Au(111)surface. The barrier for N2 formation is in any case lower than that of NO in agreement with the high selectivityobserved toward N2. Finally, coverage effects are discussed for the competing reactions.