Ammonium chloride is a chemical compound composed of ammonium and chloride ions. It is a colorless crystalline compound. It is used in soldering. It is also used as an electrolyte in the Leclanche cell, a type of primary cell. Ammonium chloride can be deprotonated by strong bases such as sodium hydroxide to produce ammonia gas.