The invention relates to a taurine-containing ophthalmic in-vivo gel preparation and a preparation method thereof. The taurine-containing ophthalmic gel is an ophthalmic preparation which is in a liquid state in vitro and forms a gel state after dropped into eyes. The taurine-containing ophthalmic gel is prepared by taking taurine as an active substance and supplementing a gel adjuvant, a thickening agent, a preservative, an osmotic-pressure conditioning agent, a pH conditioning agent and water for injection. The taurine-containing ophthalmic gel is suitable for treatment of diseases such as retinopathy and the like; and the ophthalmic gel is in the liquid state in vitro, a dosage is easy and accurate to control, the use is convenient, the ophthalmic gel can be uniformly spread after dropped into the eyes, gelates, is retained in the eyes for longer time and is not prone to loss, effective drug concentration can be effectively maintained, the treatment effect is enhanced, further, the toxicity is low, the irritation is small, the biocompatibility is good, and the taurine-containing ophthalmic gel is effective, facilitates clinical application, and has a wide development prospect.