Most ocular diseases are treated with topical eye drops. The poor bioavailability and therapeutic response exhibited by these conventional eye drops due to rapid precorneal elimination of the drug may be overcome by the use of in situ gelling systems that are instilled as drops into the eye and undergo a sol-to-gel transition in the cul-de-sac. The present work describes the formulation and evaluation of an ophthalmic delivery system of the nonsteroidal anti-inflammatory drug (NSAID), ketorolac tromethamine, based on the concept of pH-triggered in situ gelation. Polyacrylic acid (Carbopol s 934) was used as the gelling agent in combination with hydroxypropylmethylcellulose (Methocel E15LV), which acted as a viscosity enhancer. The prepared formulations were characterized for clarity, pH, drug content, rheology, and in vivo drug release. Clarity, pH, and drug content of the developed formulations were found to be satisfactory. The developed formulation showed pseudo-plastic rheology. The formulation with benzalkonium chloride and edetate disodium improved the rate of corneal absorption but not the extent. The developed formulation is a viable alternative to conventional eye drops by virtue of its ability to enhance bioavailability through its longer precorneal residence time and ability to sustain drug release. Also importantly is the ease of instillation afforded and decreased frequency of instillation resulting in better patient acceptance. Drug Dev Res 70 : 417-424, 2009.