The crystal structure, including a graph-set analysis, of 1-[(2-hydroxy-2-methylpropyl)methylamino]-2-methylpropan-2-ol, C9H21NO2, is reported. The structure is characterized by unsymmetrical intra- and intermolecular O—H...O hydrogen bridges, giving rise to the formation of an infinite polymer consisting of eight-membered rings arranged in zigzag chains running along the a axis.