Introduction

Aryl phosphorus compounds have wide applications in medicinal chemistry1, material science2, and catalysis as ligands and Lewis acid catalysts3,4. In addition, brigatinib, which contains a phenylphosphine oxide motif and serves as an anaplastic lymphoma kinase (ALK) inhibitor, has been achieved commercial success for treating metastatic non-small-cell lung cancer (NSCLC)5. Compared with the well-established Hirao reaction, which involves transition metal-catalyzed cross coupling of arylhalides with a P-donor6,7,8,9,10, C–H phosphorylation is more attractive and minimizes substrate prefunctionalization. In this context, several transition-metal catalyzed, directing group-assisted arene C–H phosphorylation reactions have been reported (Fig. 1a)11,12,13. The use of directing groups limits the scope of the arenes. Non-directed C(aryl)–H phosphorylation has also been reported and usually proceeds through a radical mechanism (Fig. 1b). In these reactions, either the arene or the phosphorus coupling partner is oxidized under photochemical14,15 or transition-metal catalyzed16,17 conditions to a radical intermediate, which then reacts with the other coupling partner to achieve C–P bond formation. These radical-based reactions are generally limited to electron-rich arenes or azoles18,19,20,21 due to the need to oxidize the arene to a radical cation and the moderate reactivity of the neutral P-radicals. In addition, excess arenes are frequently employed for the radical C–H phosphorylation reactions.

Fig. 1: C–H phosphorylation of arenes.
figure 1

a Transition metal-catalyzed directed arene C–H phosphorylation. b Radical-mediated C–H phosphorylation of arenes. c Envisioned strategy for increasing the reactivity of P-radicals. d Electrochemical arene C–H phosphorylation in continuous flow (this work). DG directing group. BQ p-benzoquinone. EDG electron-donating group. EWG electron-withdrawing group.

Organic electrochemistry has been shown to be an enabling technology in addressing the challenges in sustainable synthesis22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37. In this context, electrochemical C–H phosphorylation of electron-rich heteroaromatics38,39 and arenes bearing directing groups40,41 have been reported. Reactions of electron-deficient arenes require metal catalysts and impractical three-electrode configuration in divided cells42,43,44,45,46,47.

Inspired by the observation that protonation of aminyl radicals to aminium radicals dramatically increases their reactivity toward π-systems48,49, we envision that the P-radical cation should be more reactive than the P-radicals and may react with electron-deficient arenes (Fig. 1c). The challenge is that the reactivity of P-radical cations toward electron-deficient arenes remains unknown and the trialkyl phosphite radical cations are known to react facilely with trialkyl phosphite precursor to form dimer radical cations50,51. Our interests in electrochemically driven radical reactions prompted us to investigate the reactivity of P-radical cations52. We surmise that the use of a continuous flow electrochemical reactor53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68 should be helpful in facilitating P-radical cation formation and its subsequent trapping reaction by the arenes because of the large ratio of electrode surface area to volume and efficient mass transfer in the flow reactor.

Herein we disclose a catalyst- and external oxidant-free, electrochemical C–H phosphorylation reaction of arenes in continuous flow for the synthesis of aryl phosphorus compounds (Fig. 1d). The electrochemical method is characterized by a broad scope, good functional group tolerance, easy scale-up, and compatibility with late-stage C–H functionalization of derivatives of complex natural products and drug molecules.

Results

Reaction development

The C–H phosphorylation of benzoate 1 with triethyl phosphite [P(OEt)3] was chosen as a model reaction for the optimization of electrolysis conditions (Table 1 and Supplementary Table 1). The electrolysis was conducted in an undivided continuous flow electrochemical cell equipped with a graphite anode, a Pt cathode, and a flow channel cut in a fluorinated ethylene propylene spacer with 0.25 mm thickness (see the Supplementary Methods for details)62. An optimal 70% yield of phosphonate 2 was obtained when a solution of 1 (1 equiv), P(OEt)3 (5 equiv), HBF4 (2 equiv) and H2O (2 equiv) in MeCN was passed through the flow cell at 0.2 mL min−1. The C–H functionalization occurred exclusively at the position ortho to the ester group because the steric hindrance of tBu group prevented reaction at its ortho position. HBF4 (entry 2) and H2O (entry 3) were critical for success as 2 was not formed without either one. Increasing the amount of P(OEt)3 to 7 equiv (entry 4) or decreasing to 3 equiv (entry 5) or replacing P(OEt)3 with diethyl phosphite [HPO(OEt)2] (entry 6) were all detrimental to the formation of 2. A high concentration of P(OEt)3 probably led to competitive trapping of the P-radical cation with P(OEt)3. The use of other acids such as TFA (entry 7), AcOH (entry 8), or TfOH (entry 9), or Lewis acid Sc(OTf)3 (entry 10) instead of HBF4 resulted in either no product formation or low yield and recovery of most 1. Reaction in a batch reactor with the same amount of charge afforded the desired 2 in 36% yield (entry 11).

Table 1 Optimization of reaction conditions.

Evaluation of substrate scope

Under the optimal reaction conditions, the electrochemical C–H phosphorylation with P(OEt)3 tolerated arenes of various electronic properties (Fig. 2), including the highly electron-deficient dimethyl terephthalate (4) and dimethyl phthalate (5). The site selectivity of the C–P bond formation was like Friedel-Crafts reactions and favored reaction at ortho- or para- to the electron-releasing groups if there were no severe steric hindrance. Besides benzene and its derivatives, 2-substituted thiophenes reacted successfully at 4-position to give the corresponding products (29 and 30). Trialkyl phosphites bearing primary alkyl chains of different lengths reacted smoothly to give the corresponding phosphonate products (3136). The electrochemical method was also suitable for late-stage functionalization of relatively complex natural products and bioactive compounds (3746). Compounds that contained multiple aryl rings reacted at the most electron-rich one (38, 40, 41, and 46).

Fig. 2: Reaction scope.
figure 2

Reaction on 0.2 mmol of arene. All yields are isolated yields. aThe ratio of regioisomers was determined by NMR analysis of crude reaction mixture. bIsomers were separable by chromatography. rt room temperature. Ac acetyl.

Scale-up of continuous flow electrosynthesis is usually achieved through scale-out (passing more material through the reactor) or numbering up using parallel reactors without the need to change reaction conditions69. Continuous production can be achieved if the electrochemical system is stable without electrode passivation or tubing blockage. To test the stability of the electrochemical system for the continuous production of aryl phosphonates, a solution of mesitylene and P(OEt)3 in MeCN was mixed in-line with a solution of HBF4 and H2O in MeCN and passed through a reactor system consisting of two parallel electrochemical flow cells for 231 h (Fig. 3). The reaction produced 55.0 g (214 mmol) of the desired mesitylphosphonate 27 in 83% yield, which was even higher than the small-scale reaction (70%) and suggested that there was no reduction in reaction efficiency over time. The increased yield was probably due to the in situ mixing of HBF4 and P(OEt)3, the latter of which is known to undergo acid-promoted decomposition70. In fact, premixing of the reactants with HBF4 caused yield reduction after a few hours. It is fortunate that the residence time in the reactor is short (tr = 75 s) and in situ mixing is possible with continuous flow technology, showcasing the advantage of continuous flow electrosynthesis.

Fig. 3: Reaction scale-up and product transformations.
figure 3

Reaction conditions: amesitylene (260 mmol), P(OEt)3 (5 equiv), HBF4 (2 equiv), H2O (2 equiv), MeCN, rt, 231 h. bTMSBr, MeCN. cSOCl2, DMF, reflux. dPhMgBr, THF. eHOCH2CH2CH2NH2, Et3N, THF. f(HOCH2)2CMe2, Et3N, THF. g(MeNHCH2)2, Et3N, THF. TMSBr trimethylsilyl bromide. THF tetrahydrofuran.

Diethyl mesitylphosphonate 27 could be hydrolyzed completely to phosphonic acid 47 (Fig. 3). One of the OEt groups of 27 could be replaced with different nucleophiles through a two-step process involving the intermediacy of ethyl mesitylphosphonochloridate to produce phosphinate 48, phosphonamidate 49, or mixed phosphonate 50. Similar two-step procedures were also employed to convert 47 to triarylphosphine oxide 51 and P-heterocycles 5254.

Mechanistic studies

We next investigated the reaction mechanism. The cyclic voltammograms of P(OEt)3, compound 1, and HPO(OEt)2 indicated that P(OEt)3 (Ep/2 = 1.50 V vs SCE) was the easiest to oxidize among the three (Fig. 4a). The crude reaction mixture for the reaction of 1 with P(OEt)3 with (standard conditions) or without H2O (conditions I) was analyzed by 31P-NMR spectra (Fig. 4b). These experiments showed that P(OEt)3 decomposed into several phosphorus species in the absence of H2O. In contrast, under the standard conditions, the 31P-NMR spectrum was much cleaner with three major phosphorus species that were assigned to compound 2, HPO(OEt)2, and triethyl phosphate [OP(OEt)3]. Since trialkyl phosphites underwent rapid acid-promoted hydrolysis to H-phosphonates70, we thus conducted the phosphorylation reaction of 1 in the presence of both P(OEt)3 and HPO(OEt)2 without adding H2O (conditions II and III). These reactions produced 2 in 58% yield in the presence of 2 equiv of HPO(OEt)2 and a better yield of 78% with 0.2 equiv of HPO(OEt)2 (Fig. 4b). Under these conditions, the 31P-NMR spectra of the crude reaction mixtures were similar to those under the standard conditions.

Fig. 4: Mechanistic studies and proposal.
figure 4

a Cyclic voltammograms. b Exploring the potential role of H2O with 31P-NMR. The reaction mixture was treated with saturated aqueous NaHCO3 before recording NMR spectra. c Electrolysis in the presence of P(OEt)3 and HPO(OnBu)2. d 18O-labeling experiment. e Kinetic isotope effect experiment. f Proposed mechanism. SCE saturated calomel electrode.

The electrolysis reaction of 1 in the presence of P(OEt)3 and HPO(OnBu)2 produced 2 in 51% yield with an only trace amount of 55 (Fig. 4c), suggesting that the PO(OR)2 moiety of phosphonate product was derived from P(OR)3 instead of HPO(OR)2. Consistent with these results, 18O was not incorporated into 2 when the reaction was carried out with H218O (Fig. 4d). These results pointed out that HPO(OR)2 was critical for the C–H phosphorylation reaction. However, its exact role remained unclear. Finally, a kinetic isotope effect (KIE) of 1.0 was obtained from an intermolecular competition experiment with benzene and benzene-d6 (Fig. 4e), suggesting that C(aryl)–H bond cleavage was not involved in the rate-limiting step of the electrochemical reaction.

Based on the above studies, a possible mechanism for the electrochemical C–H phosphorylation reaction is proposed (Fig. 4f). The reaction starts with the oxidation of trialkyl phosphite 56 on the anode to generate P-radical cation 57, which reacts with arene 58 to give distal radical cation 59. The latter is oxidized further on the anode and then deprotonated to produce phosphonium 60, which loses an alkyl group to a nucleophilic species in the reaction mixture such as H2O or alcohol produced from the hydrolysis of P(OR)3 or during the workup to afford the final phosphonate product 61. Under these acidic conditions, protons, which are the most easily reduced species in the reaction mixture, accept electrons at the Pt cathode to generate H2. In addition to promote hydrolysis of P(OR)3, the acidic additive HBF4 serves as the supporting electrolyte and a proton source for H2 evolution, avoiding unwanted cathodic reduction of electron-deficient species such as 60 and 61. The HPO(OR)2 formed in situ through the hydrolysis of P(OR)3 likely forms reversibly with radical cation 57 an adduct 62, which reduces the decomposition of 57 and buys more time for its reaction with the arene.

In summary, we have developed an electrochemical method for the direct C–H phosphorylation of arenes with trialkyl phosphites without the need for any molecular catalysts or conventional chemical oxidants. Key to the success is to include H2O as an additive and conduct the electrolysis with a continuous flow cell. The continuous flow electrosynthesis is compatible with electron-rich and electron-deficient arenes, providing rapid and scalable access to various aryl phosphonates from easily available materials.

Methods

Representative procedure for the electrochemical C–H phosphorylation

The electrolysis was conducted using a flow electrolytic cell equipped with a graphite anode and a Pt cathode with an exposed surface area of 10 cm2 and interelectrode distance of 0.25 mm. The solution containing arene substrate (0.05 M, 1 equiv), P(OEt)3 (5 equiv), HBF4•Et2O (2 equiv) and H2O (2 equiv) in dry MeCN was pushed using a syringe pump to pass through the flow electrolytic cell operated with a flow rate of 0.2 mL min-1 and a constant current (45–55 mA). 4 mL of the outlet solution was collected once the reactor stabilized. The reaction was quenched with saturated NaHCO3 and extracted with ethyl acetate. The organic extracts were combined and concentrated under reduced pressure. The residue was chromatographed through silica gel eluting with ethyl acetate/hexanes or methanol/dichloromethane to give the target product. All new compounds were fully characterized (see the Supplementary Methods).