Post-synthetic modification techniques can be used to exchange an existing organic linking group in a prefabricated MOF with a new linker by ligand exchange or partial ligand exchange. This exchange allows for the pores and, in some cases the overall framework of MOFs, to be tailored for specific purposes. Some of these uses include fine-tuning the material for selective adsorption, gas storage, and catalysis. To perform ligand exchange prefabricated MOF crystals are washed with solvent and then soaked in a solution of the new linker. The exchange often requires heat and occurs on the time scale of a few days. Post-synthetic ligand exchange also enables the incorporation of functional groups into MOFs that otherwise would not survive MOF synthesis, due to temperature, pH, or other reaction conditions, or hinder the synthesis itself by competition with donor groups on the loaning ligand.