Tube in tube nanostructure of ZnO/ZnCo 2 O 4 was achieved using electrospinning technology. The complex tubular structure and n–p heterojunction are potential reasons for the excellent gas sensing performance of ZnO/ZnCo 2 O 4 tube in tube nanostructure.