The main purpose of this paper is to examine the gap width of the wire cut after WEDM depending on the heat treatment of machined material - high-alloy steel X210Cr12. This steel is usually used for the production of cutting tools. Cutting gap occurs during the discharge between the tool electrode and the machined material. This discharge causes melting of microscopic particles of the workpiece; the particles are then washed out from the place of the discharge by dielectric, which creates small craters. The size of the cutting gap is a limiting factor for the manufacture of internal radius and also it affects the final dimensions of the machined part. The heat treatment has an effect on the grain size and hardness of the material which results in a huge evaporation of the material and its subsequent leaching from the cutting place. The amount of evaporated and leached material was examined on the groove with width of 3 mm produced by WEDM to 4 differently heat treated steel samples X210Cr12. For cutting of all grooves the same parameters of the machine settings were used. The grooves were cut into four sections in order to achieve the highest possible dimensional accuracy.