A novel molecularly imprinted electrochemical sensor for the detection of myricetin is proposed, which integrates deep eutectic solvent (DES) as an electrolyte and a monolayer of MXene as a conductive substrate for the electropolymerization of dual-monomer (p-aminobenzoic acid, p-ABA; pyrrole, py). Characterization by scanning electron microscopy and energy dispersive x-ray spectroscopy revealed the morphology and composition of the imprinted sensor. X-ray diffraction revealed the crystal structure of monolayer MXene. The dual-monomer system is capable of multiple interactions with myricetin: p-ABA forms hydrogen bonds with its hydroxyl group, while py undergoes π-π stacking with the aromatic a-ring. This synergistic binding generates an imprinted cavity with high specificity, achieving a linear response to myricetin in the concentration range of 2.0×10 -6 -1.6×10 -4 mol/L, with a limit of detection of 5.0×10 -7 mol/L (S/N = 3) and an imprinting factor of up to 3.4. Comparative studies have confirmed that the response current of the DES-based sensors is 1.3-fold higher than that of the aqueous system, which is attributed to the role of DES in enhancing the solubility of myricetin and attenuating template oxidation. In addition, it has good stability and reproducibility and has been successfully applied to the detection of real fruit juice samples.