Hydrochloric acid is prepared in the laboratory by passing hydrogen chloride directly through water. HCl acid is prepared by dissolving hydrogen chloride in water.The resulting acid is a very strong acid and it ionizes completely in water.
H2O+HCl→H3O++Cl−.