Dicyclopentyl substituted cucurbit[6]uril (CyP 2 Q[6]) is used to construct supramolecular self-assembly with Ca and Er ions, respectively, and the obtained crystals are characterized by the X-ray single crystal diffraction technique, with results showing that two Ca 2+ form coordination bonds with two CyP 2 Q[6] carbonyl oxygen atoms and ten water molecules, respectively, while Er 3+ first coordinates with eight water molecules and then forms hydrogen bonds through the coordinated water with the portal carbonyl oxygen on the CyP 2 Q[6], thus forming a 1D supramolecular chain, and a honeycomb-like framework between two adjacent CyP 2 Q[6] through [ZnCl 4 ] 2-.