The recast layer is a thin layer of molten and resolidified material that forms on the surface of the workpiece during electrical discharge machining (EDM), and is often characterized by a different microstructure and mechanical properties than the bulk material.