Azobenzene macrocycles were designed for switchable π-stacking interaction. After efficient preparation and characterization of azobenzene macrocycles containing electron rich as well as electron poor elements a dimeric analogue was synthesized, which formed reversibly 3D-networks. Gel formation was observed with aromatic solvents representing the first example of this type based on switchable azobenzene macrocycles.