This paper describes a reliable, handy, and inexpensive measurement system to characterize, in the sub-THz frequency range, the coating materials used in the beam pipes of accelerators. The method is based on time domain measurements of an electromagnetic wave passing through a waveguide having a thin central slab, where the coating material is deposited on both sides. Two horn antennas are integrated on both sides of the device to optimize the signal collection and detection. This novel technique is tested on slabs coated with a nonevaporable getter (NEG) and allows to evaluate the surface impedance in the frequency range from 0.1 to 0.3 THz.