Metal-organic frameworks are promising materials in diverse analytical applications especially in sample pretreatment by virtue of their diverse structure topology, tunable pore size, permanent nanoscale porosity, high surface area, and good thermostability. According to hydrostability, metal-organic frameworks are divided into moisture-sensitive and water-stable types. In the actual applications, both kinds of metal-organic frameworks are usually engineered into hybrid composites containing magnetite, silicon dioxide, graphene, or directly carbonized to metal-organic frameworks derived carbon. These metal-organic frameworks based materials show good extraction performance to environmental pollutants. This review provides a critical overview of the applications of metal-organic frameworks and their composites in sample pretreatment modes, that is, solid-phase extraction, magnetic solidphase extraction, micro-solid-phase extraction, solid-phase microextraction, and stir bar solid extraction.