Zeolitic imidazolate frameworks are a class of metal-organic frameworks that are topologically isomorphic with zeolites. Zeolitic imidazolate frameworks are composed of tetrahedrally coordinated metal ions connected by imidazolate linkers and have a high porosity and chemical stability. Here, we summarize the progress made in the application of zeolitic imidazolate frameworks in sample preparation for analytical purposes. This review is focused on analytical methods based on liquid chromatography, gas chromatography, or capillary electrophoresis, where the use of zeolitic imidazolate frameworks has contributed to increasing the sensitivity and selectivity of the method. While bulk zeolitic imidazolate frameworks have been directly used in analytical sample preparation protocols, a variety of strategies for their magnetization or their incorporation into sorbent particles, monoliths, fibers, stir bars, or thin films, have been developed. These modifications have facilitated the handling and application of zeolitic imidazolate frameworks for a number of analytical sample treatments including magnetic solid-phase extraction, solid-phase microextraction, stir bar sorptive extraction, or thin film microextraction, among other techniques.