Electrical discharge machining (EDM) is an unconventional machining technology. It allows machining of at least at least electrically conductive materials. The trend of miniaturization of industrial products is obvious. However, the required quality and accuracy must be maintained, which can be achieved with micro-EDM. One of the industrial products is also optical devices used for testing cars. These contain miniaturized parts, which are, however, necessary for their proper functioning. For this reason, this study was performed, which focused on the production of a precise slot measuring 5000 × 170 µm in a copper foil with a thickness of 125 µm. The same copper foil was used as a tool, which represents an advance in the production of micro-parts.The use of the same semi-product for the production of the slit as well as the tool itself has not yet been presented in any similar study. A design of experiment Box and Behnken Response Surface Design was performed for a total of 15 rounds, monitoring the effect of machine setting parameters (Pulse current, Pulse on time and Voltage) on responses in the form of Erosion rate, corner radius, slot length and width. Using multi-criteria optimization, the optimal setting of the machine parameters for the production of a given slit was determined, which is Pulse current = 2.1 A, Pulse on time = 40 µs and Voltage = 238.8 V. Micro-EDM technology has been found to be suitable for the production of miniaturized slits.