In this study, we find that visible light can trigger both the loading and the release of N-alkyl substituted 4-picolinium on self-assembled monolayers (SAM). The latter process will result in surface-charge inversion of the SAM, which can be used for controlled release of molecules of interest.