Food allergy can lead to severe allergic reactions that are potentially fatal for human, hence the detection of food allergens such as ovalbumin (OVA) is important. In this study, a poly(caffeic acid)-coated epitope molecularly imprinted polymer (EMIP) was prepared by chelation and autoxidation of caffeic acid with hexamethylenediamine. EMIP has not only imprinted cavities highly matched with OVA in size and spatial structure, but also externally abundant hydrophilic groups, resulting in few non-specific binding and good hydrophilicity. With high specificity, significant paramagnetism, and great reusability, EMIP can distinguish OVA from other proteins and selectively enrich OVA in egg white samples, which opens up a promising route to the determination of allergens in food products.