The electrical control of magnetic properties is a key requirement for the development of spintronic devices. The demonstration that the ferromagnetic phase transition in cobalt can be changed by applying an electric field at room temperature represents a significant step towards devices that can switch magnetism on and off electrically.