An efficient electrochemical trifluoromethylation of coumarins using CF3SO2NHNHBoc as the source of the trifluoromethyl group was developed.