Solvents with weak coordination bonding ( e.g. , TCM and DCM) confined in the nanopores of a metal–organic framework undergo dynamic coordination exchange with stronger Lewis-basic solvents ( e.g. , H 2 O), and they lead to enhanced catalytic efficiency.