The detection of pesticide isomers is a great advantage in the agricultural pharmaceutical industry. Terahertz spectroscopy can be used in such applications because it is very sensitive to intermolecular interactions. Although it is challenging to understand the basic properties of lattice vibrations that cause terahertz absorption, it can be achieved by calculation. In this paper, the terahertz spectra of dimethylamine and dimethylamine-p isomers of pesticide residues were determined by terahertz spectroscopy, and their terahertz absorption vibration properties were analyzed by the quantum chemistry method. The results show that terahertz spectroscopy can realize the identification and quantitative analysis of isomers and verify the reliability and practicability of quantum chemistry in calculating low-frequency vibration motion.