A light-driven [1]rotaxane was prepared conveniently and directly through self-inclusion complexation of an azobenzene-modified beta-CD and Suzuki-coupling capping in aqueous solution, and its photoisomerization was thoroughly investigated.