Nickel foam modified by hollow sphere NiCo2O4 particles was successfully prepared via a hydrothermal method. Investigation of the NiCo2O4-modified nickel foam as an electrode for the detection of glucose in sodium hydroxide solution showed high linearity of the anodic currents.