3D binder-free NiO nanorod-anchored Ni foam electrodes synthesized by in situ anodization and annealing exhibit superior cyclability and high rate performance.