The invention discloses a nitrogen and sulfur co-doped hierarchical porous carbon composite material, and a preparation method and an application thereof, and belongs to the technical field of supercapacitor electrode materials. A natural polymer material which is abundant in the nature, low in price and easy to obtain is used as a carbon source, graphene oxide is added to improve the conductivity, an activator and a doping agent are added in advance, and a general two-step technology (high-temperature carbonization and chemical activation) for preparing a carbon material is simplified into one-step high-temperature annealing, so that the carbon material with a high specific surface area and a hierarchical porous three-dimensional structure is obtained; and nitrogen and sulfur doping improves the electrochemical performances of the material. The composite carbon material has the advantages of high mass specific capacitance, excellent high-current rate capability, ultra-long cycle life,high mass energy density and high power density when used as a high-performance electrode material for a supercapacitor. The preparation method has the advantages of simplicity, feasibility, low requirements on reaction deices, environmental friendliness, and suitableness for industrial production.