The discharge crater formed by EDM has important influence to the EDMing workpiece surface roughness,and the discharge crater is influenced by temperature field formed by electric discharge.In this paper the temperature field in workpece surface layer is calculated.The factors that influence the discharge crater depth and their rules are discussed.By using the discuss result the mechanism for powder-mixed fluid EDM is made clear.