The Jupiter-family comet 10P/Tempel 2 was observed during its 2010 return with the Herschel Space Observatory. We present here the observation of the JK (10–00) transition of NH3 at 572 GHz in this comet with the Heterodyne Instrument for the Far Infrared (HIFI) of Herschel. We also report on radio observations of other molecules (HCN, CH3OH, H2S and CS) obtained during the 1999 return of the comet with the CSO telescope and the JCMT, and during its 2010 return with the IRAM 30-m telescope. Molecular abundances relative to water are 0.09%, 1.8%, 0.4%, and 0.08% for HCN, CH3OH, H2S, and CS, respectively. An abundance of 0.5% for NH3 is obtained, which is similar to the values measured in other comets. The hyperfine structure of the ammonia l...