Abstract Expansionshrinkage behaviors of photoresponsive monolayers at the air/water interface are investigated using azobenzene side chain polymers. Influence of the spacer length implies that the photomechanical effect in the present systems is attributed to the reversible on/off contact of the azobenzene side unit with the water surface.