 Hydrochloric acid is prepared by dissolving hydrogen chloride in water.Hydrogen chloride can be generated in many ways, and thus several precursors to hydrochloric acid exist.The large-scale production of hydrochloric acid is almost always integrated with the industrial scale production of other chemicals.