Molecularly imprinted polymers (MIPs) are highly cross-linked polymers with high binding capacity and selectivity to the target molecules. MIPs become increasingly important because of the potential applications in drug delivery, purification and separation. In spite of the tremendous progress that has been made in the molecular imprinting field, many challenges remain to be addressed, especially in transforming the binding event into a detectable optical signal. The combination of photonic crystal and molecular imprinting technique is becoming a popular research idea. Compared to the conventional MIPs, the molecularly imprinted photonic crystal sensors (MIPCB) have the advantage of directly convert the molecule recognition process into optical signal. This review comprehensively summarizes various MIPCB, including the principle of molecular imprinted photonic crystal sensors, recent development, some challenges and effective strategies for MIPCB.