Polymer-polymer interactions were investigated for mixtures of a poly(acrylic acid) (pAA) carrying azobenzene (pC12Azo) and two kinds of pAA carrying alpha-cyclodextrin (CD), in which CDs are attached to the main chain through the 3- and 6-positions in CD (p3alphaCD and p6alphaCD, respectively), using several techniques, such as viscosity and NMR measurements. Viscosity data exhibited contrast changes upon UV irradiation: thinning (p3alphaCD/pC12Azo) and thickening (p6alphaCD/pC12Azo). NOESY spectra confirmed that the contrast viscosity changes were ascribable to differences in how CD moieties interact with pC12Azo after photoisomerization of azobenzene moieties from trans to cis: dissociation of inclusion complexes (p3alphaCD/pC12Azo) and formation of interlocked complexes (p6alphaCD/pC12Azo).