Two heterocycle-based indole self-assembly monolayers (SAMs) including O-heterocycle indole (FYBI) and S-heterocycle indole (TYBI) have been synthesized and investigated on copper corrosion inhibition.