Soybean residue has caused pollution to the environment due to high output. Herein, in order to reutilization soybean residue, a novel soybean hulls residue based hierarchically porous carbon was prepared by one‐step carbonization‐activation, and its structure and micromorphology were characterized by SEM, FT‐IR, Raman, TEM, BET and XPS. Based on results of characterization, which illustrated typical hierarchically pore structure with pore sizes are 1000 nm, 300 nm and 1.4 nm. The specific surface area and total pore volume were corresponded to 1455.41 m2/g and 0.731 cm3/g, respectively. And the pore‐forming mechanism was discussed in raw materials is a pyrolysis process. Furthermore, it was found that adsorption capacity of dye could got to 625 mg/g in 30 min when the adsorbent was 0.05 g. In summary, the soybean hulls residue based hierarchically pore material with large surface area and rich in pore structure, which will exhibit excellent performance towards wastewater treatment.