Porous polymers with rigid organic structures through a covalent backbone feature permanent voids that can be used for chemical activities. We have developed a family of nanoporous (pore size < 100 nm) covalent organic polymers (COPs), which show significant capacities and selectivities for gases (e.g. CO2), and water contamination (e.g. heavy metals). We’ve shown that azo (N=N) bearing COP-68 show lack of N2-philicity by increasing temperature, in other words N2-phobicity, leading to very high CO2/N2 selectivities. Under high pressures COP-1 shows a record high capacity of 5.6 g/g CO2 uptake at high pressures. COP-83 has a capacity of 5 mmol/g at 298 K and 1 bar, and COP-97 shows an uptake of 8 % (w/w) CO2 in 2 minutes from a simulated flue gas mixture. More recently, we introduced ethylene diamines on the walls of COP-115 through bromination intermediates, providing tunability in binding energy. In COP-122, we controlled spherical morphology and converted nitrile pendant groups to amines for further grafting chemistry. COP-150 is scalable into kg and provides a hydrocarbon backbone for post-modification. Order in porous polymers can be achieved through dynamic covalent chemistry, a source of instability. We’ve sought to use irreversible binding through charged substituent guiding for systems like porous diamond. After numerous failed attempts, our approach is now to lock directional growth in order to achieve ordered assembly.