The copolymers of acrylamide and acrylamide with pendant azobenzene (AzBA-AAm) were prepared by radical polymerization. The association constants of trans-AzBA-AAm copolymers with beta-CD are larger than those of cis-AzBA-AAm copolymers. The trans-AzBA-AAm guest copolymer was found to form supramolecular gels with beta-CD-pAA (pAA; poly(allylamine)) host copolymers in water.