We present a specific-window method to subtract the interference of water vapor on terahertz frequency-domain spectroscopy (THz-FDS) at ambient temperature and pressure. A continuous-wave spectrometer based on photomixing was utilized to obtain THz-F