Eutectic high‐entropy alloys (EHEAs), as an important branch of high‐entropy alloys (HEAs), have become hotpots in the materials field due to the excellent combination of mechanical properties and casting liquidity. However, designing of EHEAs containing nonmetallic elements has been rarely reported. Herein, a new strategy to design EHEAs containing nonmetallic elements by introducing an idealized mode of A‐(M + N) and using computer‐aided thermodynamic calculations is proposed. Based on this strategy, four new EHEAs, namely, CoFeNi2–Ti0.48Si0.8, CoCrNi2–V0.86B0.43, CoCrFeNi2–V0.89B0.45Si0.15, and CoCrNi2–MoC0.6, are designed and prepared. The CoFeNi2–Ti0.48Si0.8 and CoCrNi2–MoC0.6 EHEAs are composed of face‐centered‐cubic (FCC) + M16Ti6Si7‐type silicide and FCC + M23C6 + M6C‐type carbide, respectively. The CoCrNi2‐V0.86B0.43 and CoCrFeNi2‐V0.89B0.45Si0.15 EHEAs exhibit the same eutectic microstructure as FCC + M3B2‐type boride. The synthesized EHEAs containing nonmetallic elements show excellent mechanical properties. The experimental result indicates that this strategy can provide a feasible and effective way to develop new EHEAs with nonmetallic elements.