In the last 10 years, we have witnessed an extensive development of instrumental techniques in analytical methods for determination of various molecules and ions at very low concentrations. Nevertheless, the presence of interfering components of complex samples hampered the applicability of new analytical strategies. Thus, additional sample pre-treatment steps were proposed to overcome the problem. Solid sorbents were used for clean-up samples but insufficient selectivity of commercial materials limited their utility. Here, the application of molecularly imprinted polymers (MIPs) or ion-imprinted polymers (IIPs) in the separation processes have recently attracted attention due to their many advantages, such as high selectivity, robustness, and low costs of the fabrication process. Bulk or monoliths, microspheres and core-shell materials, magnetically susceptible and stir-bar imprinted materials are applicable to different modes of solid-phase extraction to determine target analytes and ions in a very complex environment such as blood, urine, soil, or food. The capability to perform a specific separation of enantiomers is a substantial advantage in clinical analysis. The ion-imprinted sorbents gained interest in trace analysis of pollutants in environmental samples. In this review, the current synthetic approaches for the preparation of MIPs and IIPs are comprehensively discussed together with a detailed characterization of respective materials. Furthermore, the use of sorbents in environmental, food, and biomedical analyses will be emphasized to point out current limits and highlight the future prospects for further development in the field.