Functionalizing the well-known MIL-53(Al) metal-organic framework with amino groups increases its selectivity in CO(2)/CH(4) separations by orders of magnitude while maintaining a very high capacity for CO(2) capture.