Ergosterol is a key biochemical marker for fungal mycelial growth. In this study, molecularly ergosterol imprinted particles (Erg‐MIPs) were newly synthesized for the selective detection of ergosterol in mold samples. Erg‐MIPs were characterized via scanning electron microscopy, swelling studies, and surface area measurements. Maximum selective ergosterol adsorption achieved as 28.50 mg/g Erg‐MIP. Selectivity studies showed that Erg‐MIPs adsorbed Erg 2.01 and 3.27 times higher than that of cholesterol and stigmasterol, respectively. Erg adsorption from Aspergillus niger was found as 23.87 mg/g. Reusability of Erg‐MIPs was studied and decrease in Erg adsorption capacity of the particles was negligible (3%). Erg‐MIPs are good affinity materials for the selective Erg detection from food samples, prior to use in food industry.