A composite with FeCl₂ nanocrystals sandwiched between Cl-doped graphite layers has been created via a space-confined nanoreactor strategy. This composite can be used as a new type of anode material for Li-ion batteries, which exhibit high reversible capacity and superior rate capability with excellent cycle life.