The landmines are a worldwide problem especially in our country. There are hundreds of victims, no matter professions, race, gender or age. Even when the war is over these artifacts will still activate and will involve more human and animal victims. The actual detection mechanisms are based on metal detector and trained canines; however these mechanisms are expensive and dangerous, due this it is necessary to develop new technologies to detect landmines. The majority of the Colombian landmines have ANFO type explosives owing to this, the released volatiles of ANFO are the target molecules for this research work. For the detection of the volatiles were used covalent organic frameworks or COF. COF are porous organic materials with special characteristics such as crystallinity, high surface area, thermal stability, among others. Electrochemical impedance spectroscopy was used to detect ammoniac, methylamine and ethylamine; these gases are identified as possible released molecules of ANFO. Four imine COF were synthesized two of them show usable impedance for the volatile detection. Both, the COF resistance and the impedances decrease with an increase in the amines concentration. The COF show impedimetric response to the volatile presence from the ANFO. The impedance increase when the ANFO gases went through the COF, a different behavior where obtained with the amines, this may be due to the complexity of the explosive. These results are promissory for the use of COF in the development of devices of land mines detection devices.