Silica sol-gel matrices and its organically modified analogues that contain aqueous electrolytes, ionic liquids, or other ionic conductors constitute stand-alone solid-state electrochemical cells when hosting electrodes or serve as modifying films on working electrodes in conventional cells. These materials facilitate a wide variety of analytical applications and are employed in various designs of power sources. In this review, analytical applications are the focus. Solid-state cells that serve as gas sensors, including in chromatographic detectors of gas-phase analytes, are described. Sol-gel films that modify working electrodes to perform functions such as hosting electrochemical catalysts and acting as size-exclusion moieties that protect the electrode from passivation by adsorption of macromolecules are discussed with emphasis on pore size, structure, and orientation. Silica sol-gel chemistry has been studied extensively; thus, factors that control its general properties as frameworks for solid-state cells and for thin films on the working electrode are well characterized. Here, recent advances such as the use of dendrimers and of nanoscale beads in conjunction with electrochemically assisted deposition of silica to template pore size and distribution are emphasized. Related topics include replacing aqueous solutions as the internal electrolyte with room-temperature ionic liquids, using the sol-gel as an anchor for functional groups and modifying electrodes with silica-based composites.