The host–guest complexation behaviors between perethylated pillar[n]arenes and quinonoid compounds are investigated in both solution and solid state. The resulting host–guest cocrystals demonstrate remarkable near-infrared photothermal conversion properties.