Abstract:In terahertz frequency band communication systems, high?performance filters are essential for enabling selective signal transmission and suppressing out?of?band interference. While traditional cavity filter design methods are well?established for low?frequency bands, they encounter significant challenges when extended to the terahertz range. At higher frequencies, issues such as strong high?order mode coupling effects, increased sensitivity to manufacturing tolerances, and sharply rising insertion losses present technical bottlenecks that severely limit overall system performance. This study utilizes the CST Microwave Studio full?wave simulation platform. By developing a coupled theoretical model, the underlying principles of cavity filter design were systematically analyzed, and a 340 GHz cavity filter for vacuum terahertz systems was designed. Simulation results indicate that the designed filter, centered at 340 GHz, achieves a passband from 335 to 345 GHz, with insertion loss maintained below 1 dB and return loss within the passband exceeding 20 dB. Out?of?band suppression reaches ?25 dB at 355 GHz and ?35 dB in the 320 to 325 GHz range. This research offers important theoretical insights and technical references for the design and realization of high?performance terahertz filters. It also holds engineering significance for advancing the development of terahertz communication systems.