Photochromic studies of diarylethenes with their switching unit linked to the surface of gold nanoparticles via a conjugated aromatic spacer show linker-dependent switching behavior.