The most common route of administration of ophthalmic drugs is the topical route because it is convenient, non-invasive, and accessible to all patients. Unfortunately, drugs administered topically are not able to reach effective concentrations. Moreover, their bioavailability must be improved to decrease the frequency of administrations and their side effects, and to increase their therapeutic efficiency. For this purpose, in recent decades, particular attention has been given to the possibility of developing prolonged-release forms that are able to increase the precorneal residence time and decrease the loss of the drug due to tearing. Among these forms, gel-based materials have been studied as an ideal delivery system because they are an extremely versatile class with numerous prospective applications in ophthalmology. These materials are used in gel eye drops, in situ gelling formulations, intravitreal injections, and therapeutic contact lenses. This review is intended to describe gel-based materials and their main applications in ophthalmology.