Owing to their merits of simple, fast, sensitive, and low cost, electrochemical biosensors have been widely used for the diagnosis of infectious diseases. As a critical element, the receptor determines the selectivity, stability, and accuracy of the electrochemical biosensors. Molecularly imprinted polymers (MIPs) and surface imprinted polymers (SIPs) have great potential to be robust artificial receptors. Therefore, extensive studies have been reported to develop MIPs/SIPs for the detection of infectious diseases with high selectivity and reliability. In this review, we discuss mechanisms of recognition events between imprinted polymers with different biomarkers, such as signaling molecules, microbial toxins, viruses, and bacterial and fungal cells. Then, various preparation methods of MIPs/SIPs for electrochemical biosensors are summarized. Especially, the methods of electropolymerization and micro-contact imprinting are emphasized. Furthermore, applications of MIPs/SIPs based electrochemical biosensors for infectious disease detection are highlighted. At last, challenges and perspectives are discussed.