Dyes are used in different industries as textile, paper, food processing, cosmetic, leather tanning, rubber, printing and so on. These chemical substances have negative effect on the quality of the water and food, causing human diseases and environmental problems. In view of these aspects, colorant have attracted the interest of the scientists in developing efficient routes for their detection and/or removal from the polluted sites. Although traditional technologies used for removal of dyes are efficient, there is the necessity of developing innovative systems both more cheaply and of easy performance. In this scenario, the integration of the membrane science with the molecular imprinting technology is an alternative way that present many advantages such us the removal or detection of a specific dye or a class of dyes and cost reduction processes. In fact, exploiting the benefits of these two technologies it is possible to develop molecularly imprinted membranes able to recognize a dye of interest in specific mode. This potential is promising for combatting the illegal use of dyes in food, drinks and aquaculture as well as for their removal. The main positive aspects of the imprinted membranes are their chemical stability, reusability, as well as the resistance to the pH and temperature. In addition, their preparation requires short operation time and it is not expensive. All these properties have an encouraging impact in dealing with the problem of dyes contamination. This short review offers a description of the concept of molecular imprinting, starting from the approach of the synthesis of imprinted polymers until the description of the preparation of imprinted membranes. The application of imprinted polymers and membranes for the detection and/or removal of dyes from polluted sites will be also discussed.