A photofunctional organic solid was fabricated by the intercalation of azobenzene derivatives containing an amino group into poly (muconic acid) as the layered polymer crystals. The organic intercalation and photoisomerization behaviors depended on the structure of the spacer between the azobenzene and amino groups of the guest.