This work presents a convenient and easy-to-operate method for synthesizing the functionally integrated nanocomposite of nitrogen-doped multi walled carbon nanotube networks (N-CNTs) and cobalt 2-methylimidazole (ZIF-67) nanoparticles. The N-CNTs@ZIF-67 nanocomposite was utilized to design a novel electrochemical sensing platform for detecting gallic acid (GA). The N-CNTs@ZIF-67 modified glass carbon electrode (GCE) demonstrated high sensitivity for GA electrochemical detection (LOD: 10.17 nM, detection concentration: 0.5-20 μM). N-CNTs provided efficient electron transport channels for the GA electrochemical detection reaction, which improved the transfer rate of electrons/ions at the interface of sensing electrode/electrolyte. ZIF-67 nanoparticles with highly porous structure could adsorb GA molecules and promote the oxidation reaction. Besides that, N-CNTs provided more active sites on carbon nanotube networks by nitrogen-doping, which significantly enhanced the catalytic activity. The prepared N-CNTs@ZIF-67/GCE sensor exhibited favorable GA sensing detection performance, realizing an accurate analysis of GA in beverage samples (Recovery: 96.77-107.93 %, RSD: 1.07-4.38 %).