The encapsulation of biomolecules in solid materials that retain the native properties of the molecule is a desired feature for the development of biosensors and biocatalysts. In the current study, protein entrapment in silica-based materials is explored using the sol-gel technique. This work surveys the effects of silica confinement on the structure of several model polypeptides, including apomyoglobin, copper-zinc superoxide dismutase, polyglutamine, polylysine, and type I antifreeze protein. Changes in the secondary structure of each protein following encapsulation are monitored by circular dichroism spectroscopy. In many cases, silica confinement reduces the fraction of properly-folded protein relative to solution, but addition of a secondary solute or modification of the silica surface leads to an increase in structure. Refinement of the glass surface by addition of a monosubstituted alkoxysilane during sol-gel processing is shown to be a valuable tool for testing the effects of surface chemistry on protein structure. Because silica entrapment prevents protein aggregation by isolating individual protein molecules in the pores of the glass material, one may monitor aggregation-prone polypeptides under solvent conditions that are prohibited in solution, as demonstrated with polyglutamine and a disease-related variant of superoxide dismutase.