A nitrospiropyran, which was modified with a cadaverine-derived anchor, was investigated with respect to its thermally induced isomerizations, hydrolytic stability of the merocyanine form, and photochromic ring closure. The host-guest complexation of the anchor by the cucurbit[7]uril macrocycle,