The invention discloses a Ni-Co-Fe-B eutectic high-entropy alloy and a preparation method thereof. The alloy component of the eutectic high-entropy alloy is Ni a co b Fe c B d m e , M is a trace element, wherein a, b, c, d, e are the molar percentages of corresponding elements, a>15%, b>15%, 5%≤c≤10%, 10≤d≤25%, e≥0%, and a+b+c+d+e=100. The eutectic high-entropy alloy of the invention is prepared by a suspension melting method. The eutectic high-entropy alloy has a eutectic lamellar structure, and the non-metallic principal element plays an important role in the eutectic system. The lamellar spacing is small, strong, and the plasticity is well matched. Casting performance, has broad application prospects in aerospace, machinery industry and other fields.