Aryldiazonium-terminated methylene-spaced trifluoromethyl-azobenzene derivatives have been synthesized. Their self-assembled monolayers (SAMs) on a silicon surface allow for a stable and reversible molecular photoswitch.