One-dimensional (1D) hierarchical porous carbon fibers (HPCFs) have been prepared by controlled carbonization of alginic acid fibers and investigated with scanning electron microscopy (SEM), transmission electron microscopy (TEM), X-ray diffraction (XRD), X-ray photoelectron spectroscopy (XPS), Raman spectroscopy, nitrogen adsorption-desorption isotherms, and electrochemical tests toward lithium storage. The as-obtained HPCFs consist of a 3D network of nanosized carbon particles with diameters less than 10 nm and exhibit a hierarchical porous architecture composed of both micropores and mesopores. Electrochemical measurements show that HPCFs exhibit excellent rate capability and capacity retention compared with commercial graphite when employed as anode materials for lithium-ion batteries. At the discharge/charge rate of 45 C, the reversible capacity of HPCFs is still as high as 80 mA h g(-1) even after 1500 cycles, which is about five times larger than that of commercial graphite anode. The much improved electrochemical performances could be attributed to the nanosized building blocks, the hierarchical porous structure, and the 1D morphology of HPCFs.