A TEMPO derivative was covalently grafted onto carbon and gold surfaces via the diazonium chemistry. The acid-dependent redox properties of the nitroxyl group were exploited to elaborate electro-switchable magnetic surfaces. ESR characterization demonstrated the reversible and permanent magnetic character of the material.