Hierarchical polypyrrole/Ni3S2@MoS2 core–shell nanostructures have been successfully designed and constructed on a Ni foam substrate through a facile two-step solution synthesis protocol and exhibit high performance as a supercapacitor.