Hg(1-x)Cd(x)Te is prepared in an improved directional solidification method in which a precast alloy sample containing predetermined amounts of Hg, Cd, and Te is disposed in a sealed ampule and a furnace providing two controlled temperature zones is translated upward past the ampule to provide melting and resolidification. The present improvement is directed to maintaining the zones at temperatures determined in accordance with a prescribed formula providing a thermal barrier between the zones with a maximum thickness and translating the furnace past the zones at a rate less the 0.31 micron/sec