There has been much interest in the assembly and properties of metal–organic frameworks. Here, a new type is described in which an infinite three-dimensional polycatenane is assembled from a discrete octahedral nanocage through the interlocking of all its six vertices.