Light-controlled ion channels formed by amphiphilic small molecules regulate ion conduction via cis-trans photoisomerization.