We synthesized an azobenzene derivative to demonstrate a one-dimensional molecular zipper. The formation and underlying mechanism of the molecular zipper formed by combined hydrogen-bonding and van der Waals interactions between adjacent molecules were investigated on a Au(111) surface using scanning tunneling microscopy and density functional theory calculations.