A self-assembled monolayer of a tetrathiafulvalene derivative on indium tin oxide is shown to operate as a ternary redox switch in which the magnetic and optical outputs are employed to provide a readout of the state. This surface-confined molecular switch exhibits excellent reversibility and stability and is thus promising for the development of molecular electronics.