Reaction of diborane with ammonia mainly gives the diammoniate salt  (diammoniodihydroboronium tetrahydroborate). Ammonia borane is the main product when an adduct of borane is employed in place of diborane:
It can also be synthesized from sodium borohydride.