Conventional sol–gel processing requires several distinct steps involving hydrolysis, condensation and drying to obtain a highly porous, glassy solid material. With the goal of achieving controlled release of small molecules, herein we focus on the acceleration of the condensation and drying steps by casting the hydrolyzed sol on a large open surface to achieve a denser 100 % silica xerogel structure. Thus, cast xerogel with a more limited porosity was prepared. The effect of synthesis parameters during sol–gel synthesis on the release kinetics of bupivacaine, vancomycin and cephalexin was investigated. The release kinetics fitted well with the Higuchi model, suggesting a diffusional release mechanism. Combining the release and nanostructure data, the formation mechanism of cast xerogel is described. Without introducing additional precursors or additives into sol–gel systems, sol–gel casting is an easy technique that further expands the applicability of sol–gel materials as excellent carriers for the controlled release of a variety of drugs.