We introduce a novel approach for the high-value production of nano/micro hierarchical structured Sn anodes for lithium-ion batteries (LIBs) by utilizing microalgal biomass residues that collaterally form during oil extraction for biofuel production. The Sn/C composites made from the oil-extracted microalgal biomass residues (the extracted Sn/C) exhibit the following advantages as high-energy-density anodes: 1) a homogeneous distribution of Sn nanoparticles in the carbon matrix (Sn/C), which efficiently relieves the strain caused by volume changes of the active materials; 2) a high porosity of Sn/C composites; and 3) a homogeneous distribution of the hetero elements N and P in the carbon matrix. Overall, the extracted Sn/C exhibit improved electrochemical performance in LIBs compared with the Sn/C composites made from the microalgal biomass residues without oil extraction (non-extracted Sn/C). The extracted Sn/C have improved rate capabilities (160.0 and 72.9mAhg−1 for the extracted Sn/C and the non-extracted Sn/C, respectively, at the 80th cycle, 3.5Ag−1) and improved cycle performances (511.7 and 493.2mAhg−1 for the extracted Sn/C and the non-extracted Sn/C, respectively, at the 300th cycle, 200mAg−1).