Lithium salt (noncoordinating anions, such as lithium triflate (Ltf)) gel electrolytes may be key for the practical use of electrochemical devices. We introduce a new lyotropic liquid-crystalline (LLC) mesophase using Ltf, a small amount of water (as low as 1.3 water per Ltf), and nonionic surfactant (C 18 H 37 (OCH 2 CH 2 ) 10 OH, C 18 E 10 ). The LLC phase forms over a broad range of Ltf/C 18 E 10 mole ratios, 2−18. The clear ethanol solution of the ingredients can be either directly spin-coated over a glass substrate to form a gel phase or it can be prepared as a gel by mixing Ltf, water, and C 18 E 10 . The mesophase leaches out surfactant molecules at low salt concentrations, but at a salt/surfactant mole ratio of above 8, the phase is homogeneous with a cubic mesostructure, fully transparent in the visible optical region, mechanically flexible, and an effective gel electrolyte. We have observed a large electrostatic doping on graphene with the Fermi energy level of ∼1.0 eV using Ltf-C 18 E 10 gel electrolytes. The Ltf-based gels demonstrate better properties than commonly used ionic liquid electrolyte in graphene optical modulators. The stability of the new gel electrolytes and their superior performance make them suitable electrolytes for use in graphene-based optical modulators.