A generic method for the synthesis of metal-7,7,8,8-tetracyanoquinodimethane (TCNQ) charge-transfer complexes on both conducting and nonconducting substrates is achieved by photoexcitation of TCNQ in acetonitrile in the presence of a sacrificial electron donor and the relevant metal cation. The photochemical reaction leads to reduction of TCNQ to the TCNQ(-) monoanion. In the presence of M(x+)(MeCN), reaction with TCNQ(-)(MeCN) leads to deposition of M(x+)[TCNQ]x crystals onto a solid substrate with morphologies that are dependent on the metal cation. Thus, CuTCNQ phase I photocrystallizes as uniform microrods, KTCNQ as microrods with a random size distribution, AgTCNQ as very long nanowires up to 30 mum in length and with diameters of less than 180 nm, and Co[TCNQ](2)(H(2)O)(2) as nanorods and wires. The described charge-transfer complexes have been characterized by optical and scanning electron microscopy and IR and Raman spectroscopy. The CuTCNQ and AgTCNQ complexes are of particular interest for use in memory storage and switching devices. In principle, this simple technique can be employed to generate all classes of metal-TCNQ complexes and opens up the possibility to pattern them in a controlled manner on any type of substrate.