We propose a layout of a high extinction ratio polarizer in the terahertz (THz) domain. This polarizer is composed of two dense metal wire gratings separated in parallel, of which the grating constant is much smaller than the incident wavelength. Numerical analysis shows that, in the range of 0.3 THz-3 THz, the transmission of TM wave through this polarizer is higher than 97% and the extinction ratio achieved is about 180 dB--much higher than the conventional wire-grid polarizer.