Despite their many advantages, covalent organic frameworks (COFs) built from three-dimensional monomers are synthetically difficult to functionalize. Herein, we provide a new synthetic approach to the functionalization of a three-dimensional covalent organic framework (COF-300) by using a series of solidstate linkage transformations. By reducing the imine linkages of the framework to amine linkages, we produced a more hydrolytically stable material and liberated a nucleophilic amino group, poised for further functionalization. We then treated the amine-linked COF with diverse electrophiles to generate a library of functionalized materials, which we tested for their ability to adsorb perfluoroalkyl substances (PFAS) from water. The framework functionalized with dimethylammonium groups, COF-300-dimethyl, adsorbed more than 250 mg of perfluorooctanoic acid (PFOA) per 1 g of COF, which represents an approximately 14,500-fold improvement over that of COF-300 and underscores the importance of electrostatic interactions to PFAS adsorption performance. This work provides a conceptually new approach to the design and synthesis of functional three-dimensional COFs.