Trifluoromethanesulfonyl chloride (or triflyl chloride, CF3SO2Cl) can be used in a highly efficient method to introduce a trifluoromethyl group to aromatic and heteroaromatic systems, including known pharmaceuticals such as Lipitor. The chemistry is general and mild, and uses a photoredox catalyst and a light source at room temperature.