To determine the efficacy of hydroxypropyl methylcellulose (HPMC) and hyaluronic acid (HA) in maintaining corneal hydration and optical clarity. Department of Ophthalmology, Medical University of Vienna, Vienna, Austria. Experimental study. In porcine autopsy eyes, the effect of 13 ophthalmic viscosurgical devices (OVDs) (5 formulations of HPMC; 8 formulations of HA) in maintaining corneal hydration and optical clarity was tested. The main outcome variables were the time to reach optical clarity of the cornea during dissipation of the OVD and duration of corneal hydration. These variables were assessed after the first application of the OVD, after balanced salt solution application to rehydrate the gel matrix, and after the second application of OVD on top of the first layer. The study used 57 porcine eyes. High-molecular-weight HA 1.5% (zero shear viscosity [ZSV] 55,122 millipascal seconds [mPa.s]) took a significantly shorter time to reach optical clarity than HA 1.4% (ZSV 36,882 mPa.s) (P=.04). Hyaluronic acid 1.4% and HA 1.5% maintained corneal hydration significantly longer than HPMC 2.0% (P<.001). For corneal hydration during short-lasting surgical procedures such as cataract surgery, the results suggest using HPMC because it distributes quickly and provides an adequate duration of sufficient corneal hydration. For corneal hydration during prolonged surgical procedures, such as vitreoretinal surgery, results suggest using HA 1.5% in the formulation because it provides long-lasting corneal hydration. Dr. Prinz has a proprietary interest in Croma Pharma GmbH, Leobendorf, Austria. Dr. Findl is a scientific advisor to Croma Pharma GmbH. No other author has a financial or proprietary interest in any material or method mentioned.