Anion templation is used to assemble novel redox-active bis-ferrocene functionalised rotaxane self-assembled monolayers (SAMs) on to gold electrode surfaces; after template removal, the unique SAM rotaxane binding domain is capable of selectively sensing chloride ions electrochemically.