Hybrid materials known as mixed matrix membranes are considered a promising approach to capture carbon dioxide and mitigate against global warming. These materials are derived from a polymer combined with porous nanoparticles. We show that materials prepared using porous organic polymers are resilient to the acidic impurities present in industrial gas streams, whereas other hybrid materials fail. This means that they can be effective in carbon capture applications where these impurities are present.