Polyacrylonitrile(PAN)/poly(methyl methacrylate)(PMMA) composite nanofibers were prepared by electrospinning technique,then porous carbon nanofibers(CNF) as anode material for Li-ion battery were obtained by pre-oxidation and high temperature carbonation.The analyses of transmission electron microscopy(TEM) and specific surface area showed that the as-prepared CNF had porous structure,the specific surface area was 572.9 m2/g,the mean pore size was 33.6 nm.When cycled in 0.01~3.00 V with the current of 50 mA/g,the initial specific discharge capacity of the as-prepared porous CNF was 333.3 mAh/g,the reversible specific capacity was 231.8 mAh/g at the 20th cycle,the charge-discharge efficiency was near 90%.