Solid-state Diels–Alder reaction in a 2 : 1 donor to acceptor charge-transfer complex leads to a synthetic co-crystal composed of product and unreacted donor. Analysis of close contacts and DFT energy calculations indicate that the reaction occurs cooperatively where the arrangement of molecules shown in (ii) is favoured.