Introduction

Hydrocarbons are fundamental raw materials in physical science. The development of synthetic methodologies for the functionalization of simple and unactivated hydrocarbons has the potential to explore uncharted chemical space and construct complex molecular scaffolds1,2,3,4. Moreover, by directly activating aliphatic C–H bonds of hydrocarbons, chemists can bypass commonly used alkyl halides and organometallic reagents, and directly use the feedstock materials for late-stage derivatization of pharmaceutical molecules, natural products, agrochemicals and functionalized materials5,6,7,8. However, the strong bond dissociation energies (BDE: 96–101 kcal.mol-1) of C(sp3)−H bonds in alkanes, combined with their high redox potentials (usually above 3.0 V vs. SCE), have hampered the direct use of unactivated alkanes in synthetic transformations9,10. In recent years, photo-induced radical-mediated hydrogen atom transfer (HAT) strategy has been greatly expanded into this area, as the efficient conversion of visible light into chemical energy allows the direct functionalization of unactivated C(sp3)−H bonds under thermodynamically unfavorable or kinetically inert conditions, overcoming the constraints of redox potentials under mild conditions11,12. Current hydrogen atom transfer methods that directly trap the generated carbon-centered radical intermediates include the use of diverse radical acceptors as well as transition-metal-catalyzed platforms, and a series of carbon-carbon and carbon-heteroatom bond forming reactions have been successfully achieved (Fig. 1a, transition metal = copper, iron, manganese, etc.)13,14,15,16,17. Among these developed protocols, C(sp3)−H amination and etherification stand out as unique transformations, as the incorporation and manipulation of N-heterocycle, amine, and ether functionalities on hydrocarbons would provide a plethora of opportunities for the preparation of simple building blocks and drug intermediates18. Major challenges in current C(sp3)−H amination protocols lie in the limited substrate scope (e.g. occurence of amination only at benzylic C–H position)19,20,21,22,23,24,25,26,27,28,29 as well as the requirement of stoichiometric oxidants and harsh reaction conditions30,31,32,33,34,35,36,37,38,39,40. On the other hand, C(sp3)−H oxygenation reaction for the construction of ether products directly from simple alkanes has been rarely reported41,42. Therefore, exploration of catalysts and reagents that allow the selective functionalization of unactivated hydrocarbons under more practical and functional-group-tolerant conditions and with greater generality with respect to N- and O-coupling partners would be of great value.

Fig. 1: Prior art in radical-mediated C(sp3)–H functionalization and an overview of this work.
figure 1

a Radical-mediated C(sp3)−H functionalization via hydrogen atom transfer. b Photoelectrochemical copper-catalyzed C–H amination and etherification (this work).

With this in mind, we questioned whether our recent C(sp3)−H functionalization work43, combining HAT with a photoelectrochemical approach, would be suited to the development of a mild and general protocol for C(sp3)−H amination and etherification. The use of electrons in electrochemistry as a green and economical redox reagent can overcome the high oxidation potential of alkanes in a milder and more practical way44,45,46,47. Simultaneous anodic oxidation and cathodic reduction reactions enable the transformation of a mild radical medium, eliminating the need for proton acceptor or stoichiometric oxidant/reductant48,49,50,51,52,53. In recent years, a series of photoelectrochemical strategies based on the advantages of photochemistry and electrochemistry have been reported, which further enrich the chemical conversion approaches54,55,56,57. The successful application of photoelectrochemical reactions with reference value provides a practical pathway for the direct C(sp3)−H functionalization of unactivated hydrocarbons58.

In this work, we present an efficient copper-catalyzed C(sp3)−H amination and etherification protocol mediated by a photoelectrochemical hydrogen atom transfer process. Using easily available hydrocarbons as substrates, N-heterocycles and aromatic alcohols as coupling partners, this method enables the synthesis of the corresponding alkylated N-heterocycles and ethers in a single step (Fig. 1b). Key features of this study include: (1) the absence of external oxidant species, the use of inexpensive and readily available copper catalysts, ligands, electrolytes, additives, and solvents, along with mild reaction conditions, straightforward operation, scalability, and efficient performance in batch, highlighting the method’s potential for industrial application; (2) a broad substrate scope, which has been expanded not only to diverse C(sp3)−H hydrocarbons including simple alkanes, ethers, thioethers, silanes, amides, and aldehydes, but also to a series of N- and O-coupling partners; (3) most notably, the photoelectrochemical hydrogen atom transfer process is accomplished by the addition of 9-phenylacridine as a direct hydrogen atom transfer (d-HAT) reagent11,12. While the use of acridine salts as photocatalysts59,60,61,62,63,64, electrophilic nitrogen-centered radicals (e.g., quinuclidine, amine, sulfonamide, amide, and azide) as d-HAT reagents has been widely reported65,66, HAT reactions involving acridine-based N-centered radicals as cheap and easily available d-HAT reagents have not been explored yet67,68,69,70. Mechanistically, our reactions are proposed to proceed via photoexcitation of the d-HAT photocatalyst (PC) to generate PC* species, followed by hydrogen atom transfer with unactivated hydrocarbons, while electrochemical anodic oxidation promotes the transformation of PC-H back into PC species. Detailed mechanistic studies are further conducted to elucidate the reaction mechanism.

Results

Optimization studies

To explore the feasibility of the assembly of C(sp3)−N bond on unactivated hydrocarbons, our studies were initiated by optimizing reaction conditions for the reaction of 3-bromo-1H-indazole (1) and cyclohexane (2), as shown in Table 1. The photoelectrocatalytic C(sp3)−H amination reaction was conducted in an undivided cell (10 mL oven-dried quartz tube) equipped with a graphite rod anode and a platinum plate cathode. Upon electrolysis and 390 nm light irradiation, 9-phenylacridine was utilized as an efficient HAT catalyst under N2 atmosphere. After an extensive evaluation of the reaction conditions, the corresponding aminated product (3) was afforded in 73% yield (Table 1, entry 1), employing CuCl2 as catalyst, L1 (3,4,7,8-tetramethyl-1,10-phenanthroline) as supporting ligand, Cs2CO3 as base, nBu4NBF4 as electrolyte in a mixed solvent of MeCN/DCM (2:1, v/v) under constant-current electrolysis at 3.0 mA for 6 h at room temperature. Notably, the use of other copper salts such as Cu(OTf)2 led to decreased yield (entry 2). Supporting ligand plays a crucial role in the reaction, as the use of L1 gave the best yield, whereas substituting L1 with ligand L2 (4,7-diphenyl-1,1-phenanthroline) or L3 (4,4’-dimethoxy-2,2’-bipyridine) resulted in a substantial decrease in efficiency (entries 3-4). The experimental results showed that the replacement of nBu4NBF4 with nBu4NPF6 as electrolyte is unfavorable to the reaction (entry 5), and only a moderate yield was afforded using BTMG (2-tert-butyl-1,1,3,3-tetramethylguanidine) as base (entry 6). Moreover, the use of other solvents was explored but provided no improvement over mixed MeCN/DCM, and replacing the platinum plate cathode with a graphite rod cathode led to lower reaction efficiency (entries 7–8). In addition, the wavelength of the LEDs light source was also explored, but provided no improvement over 390 nm (entry 9). The use of Eosin Y or TBADT (tetrabutylammonium decatungstate) instead of 9-phenylacridine led to no reaction efficiency (entry 10). Control experiments indicated that electric current, catalysts, base and light irradiation are all essential, as the corresponding reactions performed without them resulted in poor or no reaction (entries 11-13). Further investigations revealed that the reaction was performed under air atmosphere with lower yield of the desired product (entry 14), indicating that the desired C(sp3)–H amination product can be formed in the presence of oxygen, with loss of reaction efficiency.

Table 1 Optimization studiesa

Exploration of Substrate Scope

With the optimized reaction conditions in hand, we began to investigate the scope of N-heterocycles for this photoelectrochemical C(sp3)−H amination reaction. As illustrated in Fig. 2, the N-alkylation reaction of indazoles with cyclohexane (2) was successfully demonstrated, yielding the corresponding products 312 in moderate to good yields. A range of indazole substrates bearing halide (3-4, 10-12), aldehyde (5), nitrile (6), ester (7), ketone (8) and methyl moieties (9) proceeded well under the standard conditions. It is noteworthy that the photoelectrochemical reaction can be extended to substituted pyrazole (1318), indole (1923), pyrrole (2425), carbazole (26–27), triazole (2829), imidazole (30) and phthalazone (31), producing the corresponding amine products in moderate yields. Electron-rich N-heterocycles, such as 5-methoxyindole and 6-tert-butylindole, were found to be not suitable in our protocol. The substrate scope was then expanded to substituted anilines (32), aminopyridines (33–37), aminopyrimidine (38), and triazinamine (39), delivering the corresponding C(sp3)−H amination products in moderate yields. Benzamides (40–48), pyridinamide (49), and benzenesulfonamides (50–51) proved to be viable substrates under our reaction conditions, whereas the use of N-benzylbenzamide, 2-phenylacetamide, or 2-(2-(trifluoromethyl)phenyl)acetamide cannot proceed with hydrocarbon as a reaction counterpart. Furthermore, the reaction demonstrated that N-heterocycles such as oxindole (52), isatin (53), phthalimide (54), benzimidazolone (55) and cyclic carbamate (56) were tolerated as well. Moreover, we examined the late-stage modification of several bioactive pharmaceutical agents to investigate the utility of this photoelectrochemical C(sp3)−H amination method. Theophylline, which is a commonly used alkaloid for angina treatment, was tolerated under the standard conditions to give C(sp3)−H aminated product 57 in 36% yield. Furthermore, our photoelectrochemical method facilitated the direct installation of alkyl groups on the N-heterocyclic drug molecules such as irbesartan, baritinib, and olaparib, yielding the desired N-alkylated products (59 to 61) in moderate yields, thereby providing opportunities for the selective modification of structurally complicated pharmaceuticals. The oxazolidinone ring in muscle-relaxant drugs such as metaxalone underwent successful C(sp3)−H amination with cyclohexane, producing products 62 in moderate yields. Finally, a large-scale experiment of cyclohexane (2) and 3-bromo-1H-indazole (1) on a 6 mmol scale was performed in order to evaluate the practical uses of this method, which could afford 3 in 60% yield (1.00 g, see the SI for more details).

Fig. 2: Substrate scope of C(sp3)–H amination.
figure 2

Reaction conditions: undivided cell, graphite rod anode (φ = 6 mm), platinum plate cathode (15 × 10 × 0.2 mm3), N-heterocycle (0.3 mmol, 1.0 equiv.), hydrocarbon (3.0 mmol, 10.0 equiv.), 9-phenylacridine (0.03 mmol, 10 mol%), CuCl2 (0.06 mmol, 20 mol%), 3,4,7,8-tetramethyl-1,10-phenanthroline L1 (0.06 mmol, 20 mol%), Cs2CO3 (0.3 mmol, 1.0 equiv.), nBu4NBF4 (0.15 mmol, 0.5 equiv., 0.05 M) and anhydrous MeCN:DCM = 2:1 (v/v, 3.0 mL), constant current = 3 mA, 390 nm LEDs (10 W) under N2 atmosphere at room temperature for 6 h (2.2 F·mol–1). Yields of isolated products after chromatographic purification. Regioselectivity (r.r.) and diastereomeric ratio (d.r.) were determined by 1H NMR analysis. aThe reaction was performed on a 6.0 mmol scale. bnBu4NClO4 (0.15 mmol) as electrolyte. cMeCN:DCE = 2:1 (v/v, 3.0 mL) as solvent. dnBu4NBF4 (0.3 mmol) as electrolyte, BTMG (0.3 mmol) as base. enBu4NClO4 (0.6 mmol) as electrolyte. f12 h. g nBu4NBF4 (0.3 mmol), Cu(OAc)2 (20 mol%), dipyridine (20 mol%), NaOMe (0.3 mmol). hCs2CO3 (0.6 mmol, 2 equiv.). iCs2CO3 (0.9 mmol, 3 equiv.).

Next, we explore the scope of C(sp3)−H bond-containing hydrocarbons with 3-bromo-1H-indazole (1) under the optimal photoelectrochemical conditions (Fig. 2). In addition to cyclohexane, other cycloalkanes bearing various ring sizes, including cyclopentane (63), cyclooctane (64) and cyclododecane (65), are all found to be viable C(sp3)–H substrates, which were smoothly converted into the corresponding C(sp3)−H aminated products in 45-60% yields. Notably, norbornane readily reacted with 3-bromo-1H-indazole 1a to yield the product 66 in 46% yields with high regioselectivity and stereoselectivity (>95:5 r.r, >95:5 exo:endo). Adamantane bearing a rigid cage structure also exhibited interesting regioselective characteristics, with the secondary C(sp3)−H bond of adamantane preferentially aminated (67, 55:45 regioselectivity of 2°:3 °C − H bonds). These site-selective characteristics are unlike other previously reported C(sp3)−H functionalization reactions, in which the HAT process usually occurred at the 3 °C(sp3)−H bond64,71. Several acyclic alkanes were further investigated and were found to be well compatible under the standard reaction conditions, furnishing the desired amine products 6870 in moderate yields. C(sp3)−H amination of n-hexane gave a mixture in a combined yield of 48% (68). The reaction favored the methylene groups over the distal methyl group, the site selectivity of which matched our previously reported C(sp3)−H thiolation reaction via a photo-induced Fe-LMCT process72. Interestingly, the reaction of 2,3-dimethylbutane (69) exclusively occurred at the distal methyl position rather than weaker and sterically hindered 3 °C(sp3)−H bonds, which indicates that steric hindrance also plays a key role in affecting the regioselectivity of C–H amination. Upon using 1,3,5-triisopropylbenzene as a substrate, the C(sp3)−H amination exclusively took place at the terminal isopropyl group (71), while the sterically hindered benzylic 3 °C–H bond was not observed. The C–H amination of 1,3,5-tri-tert-butylbenzene (72) with complete regioselectivity for the methyl groups. Furthermore, our method allowed the C(sp3)−H amination to occur preferentially at the α-methylene of cyclic ethers, with the generation of the desired products 7375 in moderate yields. Similar to these examples, the C(sp3)−H amination reaction of acyclic ethers exclusively occurred at the weak and unhindered α-oxy C(sp3)−H position, delivering the desired aminated products 76–79 in acceptable yields and complete site selectivity. Notably, a recent report by Noël and co-workers describes an accelerated photoelectrocatalytic C(sp3)−H amination reaction enabled by continuous-flow synthesis, using compounds containing weak and secondary C(sp3)−H bonds (e.g., α-oxy, α-amino, and benzylic positions) as viable substrates19. Our method, however, demonstrates the capability to react not only with hydrocarbons containing stronger C(sp3)−H bonds but also with ether compounds containing both primary and secondary α-oxy C(sp3)−H bonds.

In addition, phenyl sulfide also proved to be an effective substrate, giving the N-alkylated product (80) in 38% yield at the position adjacent to a sulfur atom. Photoelectrochemical C(sp3)−H amination of various silanes was also investigated, with the observation of C(sp3)−H amination products at the distal methyl groups (8182). Notably, the reaction of tetraethylsilane (83) revealed that the steric effect still dominated the site selectivity, preferentially giving the distal methyl aminated product. Finally, amide compounds proved to be viable substrates. The C(sp3)−H amination reaction of dimethylacetamide with 3-bromo-1H-indazole (1) successfully gave 84 in 61% yield with complete site selectivity for the weak and active α-amino position rather than the C–H site adjacent to the carbonyl group. Compared to the substrate scope of peroxide-based C(sp3)−H amination reactions32,34, our method demonstrates a substantially broader substrate range, allowing for the successful amination of hydrocarbons with aniline and aminopyridine compounds. Our method is not only applicable to the amination of simple alkanes, but can also be applied to various small organic molecules containing carbon-hydrogen bonds, including alkylated arenes, ethers, thioethers, silanes, and amides.

After exploring the substrate scope of C(sp3)−H amination reaction, we next hypothesize that the photoelectrocatalytic strategy would provide a universal platform for the C(sp3)−H oxygenation reaction of unactivated hydrocarbons with alcohols, thus converting these readily available substrates into valuable ether products. After a series of condition optimizations (see the SI for more details), the use of 9-phenylacridine and (CuOTf)2 benzene complex as co-catalyst, 4,7-diphenyl-1,1-phenanthroline (L2) as supporting ligand, K2CO3 as base, nBu4NPF6 as electrolyte in a mixed solvent of MeCN/DCE (1:1, v/v) upon photoirradiation and electrolysis could significantly promote the C(sp3)−H oxygenation reaction and obtain the target aryl ether products. Under this optimal condition, we further extend the methodology to alcohol substrates to explore the substrate scope, as shown in Fig. 3. Expectedly, a myriad of phenols containing electron-donating/neutral (8590, 102103) and electron-withdrawing (91101) substituents were both successfully coupled with cyclohexane to give the corresponding aryl ether products in moderate to good yields. Notably, aryl halides (9193) groups were tolerated well in this C − O cross-coupling reaction. Other important functional groups such as trifluoromethyl (94), sulfonyl (95), cyano (96), alkynyl (97), ketone (9899), and ester (100) were all compatible under the photoelectrochemical conditions. A key intermediate in the production and modification of lipid-lowering drug fenofibrate can also react (98). Notably, both aryl boronate ester (101) and amide (102103) moieties were also tolerated. This method can be well applied to polycyclic aromatic ring (104). It was notable to see that hydroxy-substituted heterocycles containing benzooxazole (105), isobenzofuranone (106), dihydrobenzofuran (107), and dihydroquinolinone (108, a crucial intermediate in the synthesis of the antipsychotic medication aripiprazole) moieties were also compatible to afford the corresponding aromatic ether products (105108) in moderate yields. Furthermore, the current C(sp3)−O cross-coupling method was applied to the late-stage etherification of natural products and molecular drugs. Natural phenolic compounds such as raspberry ketone (109) and estrone (110), as well as pharmaceutically relevant substances such as L-tyrosine derivatives (111) and ezetimide (112), underwent the photoelectrochemical reactions with cyclohexane to gain the corresponding aryl ether products in moderate yields. Alkanols and carboxylic acids were also tested under the standard conditions for C − O bond construction, but the reactions did not provide any positive results. In addition to C − O bond formation, the scope of other nucleophiles for the construction of C(sp3)−P, C(sp3)−Se and C(sp3)−S bonds was subsequently explored. The flame retardant intermediates 9,10-dihydro-9-oxa-10-phosphaphenanthrene 10-oxide (DOPO) and phenylselenol could be reacted well and provided 113 and 114 in moderate yields. Thiophenols containing either electron-donating (115) or electron-withdrawing (116117) substituents were both coupled to give the corresponding thioethers in acceptable yields. The success of all the above-mentioned substrates, many of which contain sensitive alkyne, carbonyl, halide or heterocyclic groups, underscores the high chemoselectivity and functional group compatibility of our developed method.

Fig. 3: Substrate scope of C(sp3)–H oxygenation.
figure 3

Reaction conditions: undivided cell, graphite rod anode (φ = 6 mm), platinum plate cathode (15 × 10 × 0.2 mm3), aryl alcohol (0.3 mmol, 1.0 equiv.), hydrocarbon (3.0 mmol, 10.0 equiv.), 9-phenylacridine (0.03 mmol, 10 mol%), (CuOTf)2·C6H6 (0.06 mmol, 20 mol%), 4,7-diphenyl-1,1-phenanthroline L2 (0.06 mmol, 20 mol%), K2CO3 (0.3 mmol, 1.0 equiv.), nBu4NPF6 (0.60 mmol, 2.0 equiv., 0.2 M) and anhydrous MeCN:DCE = 1:1 (v/v, 3.0 mL), constant current = 3 mA, 390 nm LEDs (10 W) under N2 atmosphere at room temperature for 10 h (3.7 F·mol–1). Yields of isolated products after chromatographic purification. Regioselectivity (r.r.) and diastereomeric ratio (d.r.) were determined by 1H NMR analysis. aThe reaction was performed on a 6.0 mmol scale.

Next, the scope of C − H bond-containing hydrocarbons for C(sp3)−O bond formation was assessed. As shown in Fig. 3, various cycloalkanes were all found to be suitable C(sp3)−H substrates (118121), which were smoothly converted into the corresponding alkyl aryl ethers in 41-60% yields. Norbornane, as a viable substrate, could readily react with 4-phenylphenol to give the corresponding product 122 in 36% yield. Our method also showed the successful validation of C(sp3)−H oxygenation of adamantane (123), with the occurrence of HAT process at the tertiary C − H bond. Moreover, the C(sp3)−O coupling of n-pentane (124) was found to effectively afford a mixture of ether products in a combined yield of 48%, and the reaction favored the methylene groups over the distal methyl group. Similar to C(sp3)−H amination protocol, our method allowed the C(sp3)−H oxygenation reaction to occur preferentially at the α-oxy position of cyclic and acyclic ethers (125130), indicating that the reaction favors the C(sp3)−H functionalization of weak and sterically unhindered C(sp3)−H bonds. Thioanisole proceeded well under the standard conditions (131). Notably, the C(sp3)−O coupling of tetraethylsilane (132) revealed that the steric effect still dominated the site selectivity, preferentially giving the distal methyl C(sp3)−O coupling product. The reaction of 4-methyl-1-pentene was also feasible (133), with the occurrence of C(sp3)−H oxygenation exclusively at the weak allylic position. 2,3-Dimethyl-2-butene was demonstrated to be compatible with the method, furnishing the desired C(sp3)−O coupling product 134 in 66% yield. It is noteworthy that the C(sp3)−O coupling of aldehyde substrate (135136) delivered the corresponding ester products in moderate yields with complete site-selectivity at the C(acyl)−H bond. Furthermore, the reaction of dimethylacetamide with 4-phenylphenol at the α-amino position was also exclusively observed (137).

Mechanistic studies

In order to get a deeper insight into the reaction mechanism, several mechanistic experiments were then carried out, as shown in Fig. 4. Firstly, the model reactions of C(sp3)−H amination and etherification were both strongly suppressed by a radical trapping experiment using 2,2,6,6-tetramethylpiperidine-1-oxyl (TEMPO) as the radical scavenger (Fig. 4a). The formation of the corresponding adduct 1-(cyclohexyloxy)-2,2,6,6-tetramethylpiperidine 139 between TEMPO and cyclohexyl radical was observed and isolated (see the SI for more details), with no detection of the expected C(sp3)−H amination and etherification products (3 and 85). Both of these results indicated that a radical pathway and key alkyl radical species might be involved in these two photoelectrochemical transformations. In order to further capture the key radical intermediates, an electron paramagnetic resonance (EPR) experiment was performed with the addition of a free radical spin trap 5,5-dimethyl-1-pyrroline N-oxide (DMPO), as shown in Fig. 4b. The EPR spectroscopy studies revealed that a carbon-centered radical species were generated from the corresponding alkane substrate via an intermolecular HAT process and rapidly captured by DMPO to form relatively stable free radicals (g = 2.0074, AN = 14.62 G, AH = 21.54 G)73,74,75,76.

Fig. 4: Mechanistic studies.
figure 4

a Capture of alkyl radical by TEMPO, b Electron paramagnetic resonance (EPR) experiment, c Capture of trityl radical, d Kinetic isotopic effect (KIE) experiment, e Investigation of the site selectivity, f Photo-induced C(sp3)–H alkynylation, thiolation and selenylation reactions enabled by 9-phenylacridine as d-HAT photocatalyst, g Divided-cell experiment.

To gain more insights into the hydrogen atom transfer (HAT) species, several control experiments were conducted in the absence of N-heterocycles or alcohols, as shown in Fig. 4c. Considering nitrogen radicals are prone to undergoing the HAT process65,66, the photoelectrochemical reaction of 9-phenylacridine with cyclohexane (2) was then conducted in the absence of copper catalyst and supporting ligand, and yielded compound 141 in 16% yield as the major product. Notably, the yield of 141 was increased to 53% without constant current. This result indicated that the HAT species in this reaction is highly likely to be the nitrogen radical species formed by photoexcitation of 9-phenylacridine (for the UV-Vis spectrum, see the SI for more details). The nitrogen radical extracted hydrogen from the alkane substrate to generate a transient alkyl radical (143) and a persistent triarylmethyl (trityl) radical (142), which would further undergo radical-radical coupling to release the final product 141. Similar results were afforded with the utilization of mesitylene (144) or 1,3,5-trimethoxybenzene (146) as the hydrocarbon substrate instead of cyclohexane, and the reactions successfully delivered the corresponding radical addition products 145 and 147 in 50% and 45% yields, respectively. Support for this mechanism was also provided by the formation of isotopically labeled product 141-[D] in 56% yield upon photo-induced reaction of 9-phenylacridine with deuterated cyclohexane (2-d12). The lower N–H deuterium incorporation (~12% D) obtained in the product 141-[D] may be due to fast deuterium-proton exchange. Kinetic isotope effect (KIE) experiments were subsequently performed to explore whether the HAT step was the rate-determining step of the overall reaction process, as shown in Fig. 4d. The photoelectrochemical reaction of 3-bromo-1H-indazole (1) with equal amounts of cyclohexane (2) and deuterated cyclohexane (2-d12) for 3 h under the standard conditions produced a mixture of C–H amination products 3 and isotopically labeled 3-d11 in 32% yield. The obtained ratio (kH/kD = 2.1) suggests that the HAT process is a turnover-limiting step in the overall reaction. A similar ratio (kH/kD = 1.8) was obtained for the KIE of C(sp3)−H etherification under optimal reaction conditions, suggesting that the hydrogen/deuterium atom extraction step may also be turnover-limiting.

Having demonstrated the key intermediates in the reaction process, we next set out to investigate the origin of the site selectivity produced in the C(sp3)−H functionalization reaction. As shown in Fig. 4e, we utilized 2,3-dimethylbutane (DMB, 148) as a standard substrate to probe the site selectivity74,77,78. The control reaction showed that the addition of phenyl acrylate (149) to the standard photoelectrochemical system containing DMB and 3-bromo-1H-indazole (1) successfully afforded C(sp3)−H alkylation product 150 in 37% yield, with the alkylation preferentially occurring at 3 °C–H bond (intrinsic selectivity of 1°/3° is 1:13, which was calculated by the number of available C(sp3)−H bonds). Electrolysis and photoirradiation of the same starting materials in the presence of 9-phenylacridine (without copper) also afforded the C(sp3)−H alkylated product 150 in 42% yield. The above results confirm the reversible HAT process for the formation of carbon-centered radicals and imply that the use of radical acceptors largely influences the site selectivity43,72.

To further prove the effectiveness of 9-phenylacridine as a d-HAT reagent, a series of radical-mediated C(sp3)–H functionalization reactions of hydrocarbons were conducted under photo-induced reaction conditions (Fig. 4f). The use of alkynyl sulfone (151) as an efficient radical acceptor could successfully deliver the corresponding C(sp3)–H alkynylation product 152 in 70% yield. Although the use of diphenyl disulfide (153) showed less efficiency for C(sp3)–H thiolation, the desired C(sp3)–H selenylation reaction could proceed very well to give the alkyl selenide product 114 in 73% yield. Furthermore, a divided-cell experiment was carried out (Fig. 4g), with the placement of substrates 1 and 2 along with 9-phenylacridine, CuCl2, L1, Cs2CO3, nBu4NBF4 and solvent in the anode chamber, while nBu4NBF4 and solvent were added into the cathode chamber. As expected, the desired C(sp3)−H amination product 3 was detected in the anode chamber with 40% yield, which suggested that the photoelectrochemical C(sp3)−H amination occurred mainly around the graphite rod anode. Similarly, the formation of the desired product 85 was observed in the anode chamber under the standard conditions of C(sp3)−H etherification, revealing that the photoelectrochemical C(sp3)–H etherification also took place mainly around the graphite rod anode rather than around the platinum plate cathode.

Based on the above mechanistic studies and relevant literature reports59,79, we proposed a plausible reaction mechanism for the photoelectrochemical C(sp3)−H amination and etherification. Taking the C(sp3)−H amination reaction as an example, which is outlined in Fig. 5, we postulated that the reaction is initiated from the excitation of the acridine-based photocatalyst (A) to generate the excited species B. Then, the excited species B undergoes a hydrogen atom transfer (HAT) process with unactivated hydrocarbons to release a key carbon-centered radical intermediate (D), while generating a persistent triarylmethyl (trityl) radical (142)80,81,82. Subsequently, intermediate 142 is electrochemically oxidized to triarylmethyl cation at the anode surface, followed by an elimination process to regenerate the 9-phenylacridine photocatalyst. On the other hand, the released carbon-centered radical D reacts with the copper complex H to generate a CuIII species (I), which undergoes reductive elimination to produce the C(sp3)−H amination product (J). Furthermore, the reduced catalyst E is electrochemically oxidized to a CuII species F on the anode, and intermediate F reacts with N-heterocycles to form species H and closes both catalytic cycles.

Fig. 5: Plausible reaction mechanism.
figure 5

The proposed mechanism includes a photoelectrocatalytic cycle of 9-phenylacridine and a copper-catalyzed cycle, with the main electrochemical processes occurring at the anode surface.

Discussion

In summary, we have developed a mild and efficient C(sp3)−H functionalization method enabled by a photoelectrochemical strategy. Using 9-phenylacridine as a direct hydrogen atom transfer (d-HAT) reagent under 390 nm LED light irradiation and electrolysis, this synthetic approach is capable of preparing various types of aliphatic N-heterocycle and ether compounds from hydrocarbons. Our methodology greatly extends the range of available substrates not only for N-heterocycles and phenol derivatives, but also for a wide variety of C(sp3)−H compounds, including unactivated alkanes, ethers, thioethers, silanes, and amides. The mild reaction conditions, operational simplicity, remarkably broad substrate scope (>135 examples), as well as scalability, demonstrate that the method has potential for industrial application. Importantly, the reaction exhibits unconventional site selectivity, with the occurrence of both C(sp3)–H amination and etherification preferentially at the sterically unhindered position. Considering the importance and versatility of N-heterocycle, amine, amide, and ether compounds as important functional molecules in organic synthesis, we believe that the method we have developed has the potential to be a versatile tool for chemists, offering a plethora of opportunities for selective installation of valuable functional groups at the late stage. Further development of other types of photo-induced and electrochemical reactions is still underway in our lab.

Methods

General procedure for photoelectrochemical C(sp3)−H amination

In a glove box filled with nitrogen, a 20 mL oven-dried quartz tube with a stir bar was charged the N-heterocycle substrate (0.3 mmol, 1 equiv.), unactivated alkane (3.0 mmol, 10 equiv.), 9-phenylacridine (0.03 mmol, 10 mol%), CuCl2 (0.06 mmol, 20 mol%), 3,4,7,8-tetramethyl-1,10-phenanthroline L1 (0.06 mmol, 20 mol%), Cs2CO3 (0.3 mmol, 1 equiv.), nBu4NBF4 (0.15 mmol, 0.5 equiv., 0.05 M) and anhydrous MeCN:DCM = 2:1 (v/v, 3.0 mL). The tube was equipped with a carbon rod (φ = 6 mm) anode and a platinum plate cathode(15 × 10 × 0.2 mm3), and the tubes were then sealed and taken out from the glove box. The reaction mixture was irradiated with 390 nm LED lamps (10 W) and 3.0 mA electrolysis for 6 h. The distance between electrodes was approximately 0.5 cm, and the length below the liquid surface was 1.0 cm. Upon completion of the reaction, the reaction yield was monitored by TLC or GC-MS. Subsequently, the solvent was removed under reduced pressure, and the resulting mixture was purified by column chromatography on silica gel (eluted with petroleum ether/ethyl acetate) to afford the desired pure product.

General procedure for photoelectrochemical C(sp3)−H etherification

In a glove box filled with nitrogen, a 20 mL oven-dried quartz tube with a stir bar was charged the phenol or phenylthiophenol substrate (0.3 mmol, 1 equiv), unactivated alkane (3.0 mmol, 10 equiv), 9-phenylacridine (0.03 mmol, 10 mol%), (CuOTf)2·C6H6 (0.06 mmol, 20 mol%), 4,7-diphenyl-1,1-phenanthroline L2 (0.06 mmol, 20 mol%), K2CO3 (0.6 mmol, 2 equiv.), nBu4NPF6 (0.6 mmol, 2 equiv., 0.2 M) and anhydrous MeCN:DCE = 1:1 (v/v, 3.0 mL). The tube was equipped with a carbon rod (φ = 6 mm) anode and a platinum plate (15 × 10 × 0.2 mm3) cathode, and the tubes were then sealed and taken out the glove box. The reaction mixture was irradiated with 390 nm LED lamps (10 W) and 3.0 mA electrolysis for 10 h. The distance between electrodes was approximately 0.5 cm, and the length below the liquid surface was 1.0 cm. Upon completion of the reaction, the reaction yield was monitored by TLC or GC-MS. Subsequently, the solvent was removed under reduced pressure, and the resulting mixture was purified by column chromatography on silica gel (eluted with petroleum ether/ethyl acetate) to afford the desired pure product.