Molybdenum disulfide (MoS2) is one of the most attractive anode materials for lithium-ion batteries (LIBs) due to its high theoretical specific capacity, but its poor cyclic stability need further optimization for its practical application. In this study, porous MoS2/polyaniline (MoS2/PANI) composite with a tremella-like hierarchical structure was synthesized via a facile polymerization and hydrothermal method. The homogeneously distributed PANI can not only improve the conductivity of MoS2, but also rebuild a hierarchical porous structure thus enhance rapid Li+ transport during the Li+ insertion/extraction reaction. As an anode material of LIBs, this composite exhibits a high initial reversible capacity of 910mAh/g with an initial Coulombic efficiency of ∼80% at 0.1A/g. Even at a high current density of 4A/g, the reversible capacity of the MoS2/PANI composite still remains at 369mAh/g. Moreover, this composite retains an impressive high capacity of 915mAh/g after 200 cycles at a high current density of 1A/g, demonstrating its potential for applications in LIBs.