While synthetic biology has advanced complex capabilities such as sensing and molecular synthesis in aqueous solutions, important applications may also be pursued for biological systems in solid materials. Harsh processing conditions used to produce many synthetic materials such as plastics make the incorporation of biological functionality challenging. One technology that shows promise in circumventing these issues is cell-free protein synthesis (CFPS), where core cellular functionality is reconstituted outside the cell. CFPS enables genetic functions to be implemented without the complications of membrane transport or concerns over the cellular viability or release of genetically modified organisms. Here, we demonstrate that dried CFPS reactions have remarkable tolerance to heat and organic solvent exposure during the casting processes for polymer materials. We demonstrate the utility of this observation by creating plastics that have spatially patterned genetic functionality, produce antimicrobials in situ, and perform sensing reactions. The resulting materials unlock the potential to deliver DNA-programmable biofunctionality in a ubiquitous class of synthetic materials.