The invention discloses cetirizine hydrochloride ophthalmic liposome, in-situ gel and a preparation method of cetirizine hydrochloride ophthalmic liposome, and belongs to the technical field of pharmaceutical preparations. In order to overcome the defects that existing cetirizine hydrochloride eye drops are short in residence time, poor in compliance of semi-solid dosage forms, low in bioavailability, not easy to accept by patients and the like, an ethanol injection method is combined with an ammonium sulfate gradient method to obtain the liposome, and the liposome comprises 0.28-0.30% of cetirizine hydrochloride, 1.4-6.0% of phospholipid, 0.14-1.8% of cholesterol, 0.1-0.15% of an osmotic pressure regulator, 0.05-0.1% of a bacteriostatic agent and the balance of water. And a solvent. The invention further provides the cetirizine hydrochloride liposome-in-situ gel and a preparation method thereof. By optimizing the prescription and the process, the obtained liposome and in-situ gel can delay the drug release, increase the retention time of eyes, improve the cornea permeability and improve the bioavailability.