This paper deals with the replacement of middle wave transmitters in Slovak Republic. The original transmitters were based on class C vacuum tube fundamentals and were produced by the Czechoslovakian group company Tesla. Class C transmitters were transmitting reliably to this day, however, the lifespan of these transmitters was nearing its end, moreover the need for a better quality analog modulated signal has pushed for its replacement and therefore they were replaced by modern, highly efficient class D transmitters, while utilizing the original infrastructure consisting of antennas and power inputs. Due to differences in characteristic parameters, however minor, this caused some significant problems, with impedance matching. To resolve these problems, it was necessary to implement a newly designed IMU (Impedance Matching Unit), while also securing a lightning strike protection. This paper has proposed a possibility of lightning surge protection of middle wave transmitters. The original protection implemented with the installations of class C transmitters was consisted only of multiple spark gaps. This kind of protection may prove inefficient using new class D transmitters. The device described in this paper has been designed and successfully implemented on a middle wave transmitter in Čižatice. This transmitter is transmitting with 5 kW power on the antenna with the carrier frequency of 702 kHz. Since the implementation of our device, the transmitter reports no failures and continues to transmit safely.