• A novel Co@NC@MoS 2 magnetic hierarchical nanotube is designed and prepared. • The minimum reflection loss (RL min ) exceeds −61.97 dB. • The effective absorption bandwidth (EAB) covers 5.6 GHz. • The electromagnetic parameters can be adjusted by changing the load of MoS 2 . In this study, a new lightweight one-dimensional absorber Co@NC@MoS 2 was designed and prepared. Firstly, polydopamine (PDA) was coated by oxidative self-polymerization with cobalt-nitrilotriacetic acid chelate nanowires (Co-NTAC) as template. Then core-shell structured magnetic hierarchical nanotubes (Co@PDA@MoS 2 ) were prepared by one-step hydrothermal method. After thermal annealing, PDA layer was transformed into nitrogen doped carbon layer (NC) to obtain the efficient microwave absorber Co@NC@MoS 2 . The removal of template and growth of MoS 2 were completed simultaneously, the preparation process was simplified. Because of its good magnetic loss and dielectric loss, Co@NC@MoS 2 shows excellent microwave absorption performance. Under filler content of 15 wt.%, the minimum reflection loss (RL min ) can reach -61.97 dB@9.2 GHz, and the effective absorption bandwidth (EAB) is 5.6 GHz. The electromagnetic parameters of Co@NC@MoS 2 can be further adjusted by changing the load of MoS 2 . Meanwhile, the structure and composition of Co@NC@MoS 2 were systematically analyzed. The influence of the microstructure on the microwave absorbing properties was investigated, and the microwave attenuation mechanism is revealed. As an efficient and lightweight absorber, Co@NC@MoS 2 has potential application value in the construction of new stealth coatings.