The commercial production of ammonium chloride is done by combining ammonia with hydrochloric acid. It also gives the same reaction with hydrogen chloride gas.
Its principal uses are as a nitrogen supply in fertilizers and as an electrolyte in dry cells, and it is also extensively employed as a constituent of galvanizing, tinning, and soldering fluxes to remove oxide coatings from metals and thereby improve the adhesion of the solders.