The invention discloses a method for directly preparing a co-doping three-dimensional graphene electrode material through biomass carbon sources. The method mainly includes the steps that biomass such as eggshells of artemia cysts, bean pulp and shrimp shells are used as the carbon sources, red phosphorus or boric acid is added to serve as a stripping agent, metal nickel salt is added to serve as a catalyst, and oxygen-nitrogen-phosphor multi-atom co-doping three-dimensional porous graphene is synthesized in a roasted mode at the temperature of 700 DEG C to 900 DEG C under argon atmosphere; the obtained graphene is ground into powder, the graphene, acetylene black and PTFE are ultrasonically dispersed into absolute ethyl alcohol in the mass ratio of 85:10:5, the mixture is dried at the temperature of 80 DEG C to be pasty, 0.5 mg to 5 mg of the mixture is taken and evenly smeared on 1*1-cm foam nickel, vacuum drying is carried out at the temperature of 120 DEG C for 12 h, plate pressing is carried out at the pressure of 12 MPa, and an electrode plate is obtained. According to the method, the source of the required raw materials is wide, the price is low, devices are simple, repeatability is good, and low-cost large-scale industrial production can be achieved easily; the prepared graphene electrode material has the advantages of being good in electrochemical activity, large in specific area, not prone to repeated accumulation and the like; the broad application prospects are achieved in the aspects such as electrode materials and catalyst carriers of supercapacitors and lithium ion batteries.