As trimethylamine (TMA) is widely used in agriculture and industry, inhalation of TMA can cause very serious negative effects on human health. However, most of the current gas sensors for detecting TMA are commonly performed at high temperatures and cannot meet market needs. Inspired by this, we prepared imine covalent organic frameworks (TB-COF) synthesized from two monomers, 1,3,5-tris(4-aminophenyl)benzene (TAPB) and 1,3,5-benzotricarboxaldehyde (BTCA), using acetic acid as a catalyst at room temperature. Based on this, three sensors were prepared for gas sensitivity testing, namely, TA, BT, and TB-COF sensors. The three sensors were tested for 15 different gases at room temperature. From the whole gas sensitivity data, the TB-COF sensor made by compositing TA and BT has a higher sensitivity (6845.9%) to TMA at 500 ppm, which is 6.1 and 5.4 times higher than the response of TA and BT sensors, respectively. The TB-COF sensor adsorbs and desorbs TMA in a controlled 23 s cycle with a low detection limit of 28.6 ppb. This result indicates that TB-COF prepared at room temperature can be used as a gas-sensitive sensing material for real-time monitoring of TMA. The gas sensing results demonstrate the great potential of COFs for sensor development and application and provide ideas for further development of COFs-based gas sensors.