A branched side chain pyrogallol[4]arene self-assembles into a previously-unreported cogged hydrogen-bonded nanotube structure in the solid state and self-assembles at the air–water interface on the Langmuir trough.