Introduction

The introduction of a trifluoromethyl (CF3) group into organic molecules is a widely utilized strategy in medicinal chemistry, as its unique physicochemical properties are crucial for modulating drug lipophilicity, membrane permeability, and metabolic stability1,2,3,4,5. Consequently, substantial research efforts have been dedicated to developing trifluoromethylation reactions for the synthesis of various trifluoromethylated compounds6,7,8,9,10. In this context, N-CF3 compounds, featuring the CF3 group directly attached to the nitrogen atom, have garnered increasing interest within the medicinal and synthetic chemistry communities in recent years11,12,13,14. Some representative bioactive molecules containing the N-CF3 moiety are illustrated in Fig. 115,16,17,18,19.

Fig. 1: Representative examples of bioactive molecules containing the N-CF3 moiety (highlight in color).
figure 1

N-CF3-containing compounds show great potential in drug discovery. Norfloxacin analog, an antibacterial agent.

Retro-synthetic analysis reveals four primary strategies for the synthesis of N-CF₃ compounds (Fig. 2A): (a) fluorination of functionalized amine or thioamide derivatives20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38, (b) trifluoromethylation of nitrogen-containing substrates39,40,41,42,43,44,45,46,47,48,49,50,51, (c) trifluoromethylamination using appropriate N-CF3 compounds as N-trifluoromethyl transfer precursors52, and (d) derivatization of specific functionalized N-CF3 building blocks53,54,55,56,57,58,59,60. These approaches have successfully enabled the synthesis of a diverse range of N-CF3 frameworks, including N-CF3 tertiary amines20,21,22,23,24,25,26,27,28,38,39,40, amides29,30,31,32,41,42,53, and N-heterocycles33,34,35,37,43,44,45,46,47,54,55,56,57,58,59. However, the efficient synthesis of N-CF3 secondary amines—a class of N-CF3 compounds that present significant synthetic challenges yet hold promising potential—remains a formidable task in synthetic chemistry. This difficulty arises primarily from their inherent instability61,62. The nitrogen lone pair can readily promote fluoride elimination, even during purification by silica gel column chromatography (Fig. 2B).

Fig. 2: State of the art in the construction of the N-CF3 moiety.
figure 2

A General strategies for the synthesis of N-CF3 compounds. B Established methods for the synthesis of N-CF3 secondary amines. C Conversion of the isocyano group into the N-CF3 moiety. D This work: synthesis of N-CF3 secondary amines via oxidative fluorination of isocyanides. Cbz carbobenzyloxy, Boc t-butyloxycarbonyl, Ts tosyl.

In early 1965, Sheppard made a pioneering contribution by reporting the desulfurization-fluorination of isothiocyanates to produce N-CF3 secondary amines using toxic mercuric fluoride as the fluorinating reagent (Fig. 2B-a)63. More recently, Schoenebeck31,53,54,55,56,57 and others27,32,37 have demonstrated that AgF serves as a highly effective fluorinating reagent for the desulfurization-fluorination of isothiocyanates. In this context, Yi and co-workers disclosed an elegant strategy for the synthesis of N-CF3 secondary amines with a broad substrate scope (Fig. 2B-a). This approach involves the in situ generation of a difluoromethyl imine intermediate via the desulfurization-fluorination of isothiocyanate with AgF, followed by an addition reaction with hydrofluoride, which is generated by the oxidation-reduction of triethylsilane with AgF64. Furthermore, the groups of Selander65 and Xu52 independently developed methodologies for the hydrogenation of prefunctionalized N-CF3 compounds, specifically (CF3)N-OH and (CF3)N-Cbz, using palladium on carbon as a catalyst under neutral conditions (Fig. 2B-b). However, these methods require the preparation of prefunctionalized N-CF3 compounds prior to their use, presenting a limitation for broader synthetic applications. In 2007, Umemoto and co-workers disclosed an alternative approach for the N-trifluoromethylation of primary amines using an electrophilic trifluoromethyl reagent (Fig. 2B-c)66. Although seemingly straightforward and ideal, this method’s reliance on a thermally unstable CF3 oxonium salt as the trifluoromethyl reagent limited its applicability and made the isolation of the desired N-CF3 secondary amines challenging, thereby reducing its utility in practical synthesis. While these examples represent significant advancements, the development of mild and practical synthetic methodologies using readily available materials to reach these intriguing N-CF3 secondary amines is still highly desirable.

Isocyanides, featuring a unique isocyano group that resonates between zwitterionic triple bond and neutral iminocarbene structures, are valuable and versatile building blocks in synthetic chemistry67,68,69,70,71,72,73. Their distinctive structure enables participation in a wide range of transformations, including multicomponent reactions74,75,76,77,78, insertion reactions79,80,81,82,83,84, and radical-involved processes85,86,87,88. Previously, Ruppert reported the transformation of isocyanides to N-CF3 secondary amines; however, the use of deleterious fluorine gas and anhydrous hydrofluoride and the requirement for very low temperatures severely limited the broad application of this methodology (Fig. 2C-a)89. Recently, we upgraded this protocol by using N-bromosuccinimide (NBS) as oxidant and commercially available Et3N·3HF as HF source90. The reaction of the isocyano group with NBS was believed to generate an isocyanide dihalide, which then undergo facile substitution and addition reactions to form a N-CF3 funcitionality91,92. The labile N-CF3 moiety was intramolecularly captured by the in-situ-formed iminium group by using tryptamine-derived isocyanides as substrates (Fig. 2C-b). When extending this protocol to general aliphatic or aromatic isocyanides to synthesize N-CF3 secondary amines, we observed low efficiency (only a 25% 19F NMR yield for compound 2ae, Fig. 2C-c). Moreover, isolating the pure product proved challenging, as byproducts from NBS and Et3N·3HF complicated the purification process. To develop a general and practical protocol, we identified several essential requirements: (1) the reaction should proceed with high efficiency and cleanliness; (2) all reagents and solvents must be easily removable from the reaction mixture; and (3) importantly, all generated byproducts must also be easily removable. Herein, we disclose our successful synthesis of N-CF3 secondary amines via oxidative fluorination of readily accessible isocyanides using iodine as the oxidant, silver fluoride as the fluorinating reagent, and tert-butyldimethylsilane as the proton precursor (Fig. 2D). The key to the success of this method lies in the fact that all reagents and by-products can be easily removed through simple filtration and evaporation from the reaction mixture. This protocol features mild conditions, a broad substrate scope, good functional group tolerance, and good to excellent yields.

Results

Reaction optimization

Initially, ethyl 4-isocyanobenzoate (1a) was selected as the model substrate to optimize the conditions for the oxidative fluorination reaction (Table 1). The investigation commenced by screening various electrophilic halogenating agents as oxidants in the presence of triethylamine trihydrofluoride, which served as both the fluoride source and the hydrofluoride source. The use of 1,3-diiodo-5,5-dimethylhydantoin (DIH), N-iodosuccinimide (NIS), NBS, and 1,3-dibromo-5,5-dimethylhydantoin (DBDMH) resulted in no detectable product formation (entries 1–4). Next, we evaluated the potential of iodine (I2) as the oxidant. We reasoned the excellent sublimation property of I2 may simplify post-reaction purification. To our delight, the desired N-CF3 secondary amine 2a was successfully formed, albeit in a low 5% yield (entry 5). Upon adding silver fluoride as an additional fluorinating reagent, which is also easy to remove from the reaction mixture through simple filtration, the yield was improved to 16% (entries 5–7). We then investigated alternative hydrofluoride sources. Pyridine poly-hydrofluoride complex showed no reactivity, in contrast to triethylamine trihydrofluoride (entries 7 and 8). Yi and co-workers have reported that hydrofluoride can be mildly produced via the oxidation-reduction of silane with AgF64. In our investigation, we tested three different silane sources. While triethylsilane exhibited high efficiency under Yi’s conditions, it failed to produce the desired product in our approach (entry 9). We reasoned I₂ readily reacts with HSiEt₃ to form HI, thereby consuming the oxidant in an unproductive manner93. Similarly, HSi(EtO)3 showed no reactivity (entry 10). However, tert-butyldimethylsilane (HSitBuMe2) delivered a promising 48% yield, as determined by F NMR (entry 11). Finally, a solvent screening was conducted, revealing that ether solvents were most suitable for this transformation. Using 1,4-dioxane provided an excellent 97% isolated yield (entry 14), while acetonitrile and dichloromethane (DCM) failed to produce any product (entries 12 and 13). And finally, attempts to replace AgF with other fluorine sources such as CsF, KF, tetrabutylammonium fluoride (TBAF), Selectfluor, diethylaminosulfur trifluoride (DAST), and bis(2-methoxyethyl)aminosulfur trifluoride (BAST) all failed, with no or trivial amounts of product being observed.

Table 1 Optimization of reaction conditionsa

Substrate scope

With the optimized conditions in hand (Table 1, entry 14), we next sought to investigate the generality of this protocol. As shown in Fig. 3, this transformation proved to be remarkably general and robust across a wide range of aryl and alkyl isocyanide substrates. The scope of aromatic isocyanides was first evaluated. A diverse set of commonly encountered substituents, irrespective of their electronic properties, at different positions on the benzene ring were well tolerated, resulting in the corresponding N-CF3 secondary amines 2a2k with generally excellent yields. Substituents such as ester (2a), cyano (2b), carbonyl (2c), sulfonyl (2d), nitro (2e), iodide (2f), benzyloxy (2i), and methylthio (2j) were valuable functional handles for potential further derivatization. Notably, substituents at the ortho position did not hamper the reactivity (2k and 2l), and multisubstituted substrates were also compatible with the reaction conditions (2l2r). Moreover, aromatic substrates bearing polycyclic structures, such as naphthalene (2s and 2t), and fluorene (2u), as well as heteroaromatics, including dibenzofuran (2v), dibenzothiophene (2w), indole (2x), and benzofuran (2y), underwent the reaction smoothly to afford the corresponding N-CF3 secondary amines in good to excellent yields, ranging from 73 to 90%. Importantly, a drug molecule derived from acedapsone (2z)94 was also amenable to this protocol, demonstrating the potential applicability of this method in medicinal chemistry.

Fig. 3: Scope of the oxidative fluorination reaction of isocyanides.
figure 3

Unless otherwise noted, the reactions were performed with 1 (0.5 mmol) under the optimized conditions. Isolated yields are given. a2.0 equiv of HSitBuMe2 was used. bDue to the instability of this product, the yield was determined by 19F NMR analysis using PhCF3 as the internal standard.

We next explored the scope of aliphatic isocyanides. Both phenylpropyl (2aa) and benzyl-substituted isocyanides (2ab and 2ac) worked well under the optimized conditions. A glucose-derived isocyanide successfully afforded the desired product 2ad in 98% yield as a single stereoisomer, highlighting the stereospecificity of this transformation. Additionally, nitrogen-containing heterocycles were readily converted to their respective N-CF3 secondary amine products (2ae2ag). The method also demonstrated compatibility with isocyanides derived from various α-amino acids (2ah2ap), further underscoring the versatility of this protocol. Amantadine (1aq), quinoline (1ar) or carbazole-derived (1as) isocyanides were also tested. Unfortunately, the formation of the desired product was confirmed by ¹⁹F NMR, but isolating the pure product using our standard procedure proved challenging. Interestingly, ketone 1-isocyano-1-phenylpropan-2-one (1at) showed no reactivity, with most of the starting materials being recovered. After obtaining the N-CF3 secondary amines, we evaluated their stability under both atmospheric and inert gas conditions. The aromatic products exhibited excellent stability, remaining intact for over a week in air. In contrast, alkyl and benzyl-substituted products showed significant instability, with a storage window of less than 5 h in air, though they remained stable under argon. Interestingly, N-CF3 compounds derived from α-amino acids displayed enhanced stability compared to their alkyl and benzyl analogs.

Synthetic applications

To demonstrate the practicality and robustness of this protocol, the gram-scale synthesis was conducted (Fig. 4A). Under the standard reaction conditions, both aryl (1a) and alkyl isocyanide (1ae) underwent reaction smoothly, providing more than 1 g of the corresponding products without difficulty. Subsequently, we explored further transformations of the N-CF3 products (Fig. 4B). Upon treatment with tosyl bromide and AgOTf, the N-CF3 secondary amine 2b was successfully converted to N-CF3 sulfonamide 3 in 72% yield64. Additionally, the (CF3) N-H bond within the secondary amines were easily transformed into the N-CF3 aminoformyl fluoride motif (4 and 5) under Schoenebeck’s reaction system31. With the N-CF3 aminoformyl fluoride in hand, we performed a series of reactions with diverse nucleophiles. Treatment with N-, O-, and C- nucleophiles resulted in various N-CF3 derivatives, including N-CF3 ureas (6, 7, and 8), carbamate (9), carbamoyl azides (10, 11), and amide (12) in moderate to good yields. The reduction of N-CF3 aminoformyl fluoride with sodium borohydride provided N-CF3 formamide 13 in moderate yield. Notably, N-CF3 carbamoyl azide 11 demonstrated further synthetic utility. Using a photocatalyst and blue light to activate the azide group, we achieved a C-H bond insertion reaction, forming the cyclic N-CF3 urea 14 in a reasonable yield. Alternatively, heating 11 in a microwave reactor with water and tetrahydrofuran (THF) led to the formation of N-CF3 hydrazine 15. As a final example, we successfully synthesized N-CF3 tryptophan carbamate 16 through a three-step reaction starting from isocyanide 1ah. This series of transformations highlights the versatility of the N-CF3 secondary amines, showcasing their capacity as valuable intermediates for synthesizing various N-CF3 compounds with potential applications in medicinal chemistry.

Fig. 4: Synthetic utility and product derivatization.
figure 4

A Gram-scale synthesis of compounds 2a and 2ae. B Further transformations of compounds 2a, 2b, and 2 g. Reaction conditions: (a) TsBr (1.5 equiv), AgOTf (1.5 equiv), Et3N (1.0 equiv), DCM, 25 °C, 15 min; (b) AgF (5.0 equiv), BTC (0.4 equiv), MeCN, 25 °C, 30 min; (c) amines (1.5 equiv), DIPEA (1.5 equiv), DMAP (0.1 equiv), DCM, 25 °C, 24 h; (d) EtOH (1.5 equiv), DIPEA (1.5 equiv), DMAP (0.1 equiv), DCM, 25 °C, 24 h; (e) NaN3 (1.2 equiv), THF, 25 °C, 16 h; (f) PhMgBr (1.2 equiv), PhMe, 25 °C, 15 min; (g) NaBH4 (2.0 equiv), DCM/tAmOH = 1:1, 25 °C, 2 h; (h) [Ir(dtbbpy)(ppy)2]PF6 (3 mol%), DCM, 25 °C, blue light for 24 h; (i) H2O/THF = 1:5, 100 °C, 3 h. BTC bis(trichloromethyl) carbonate, DIPEA N N-diisopropylethylamine, DMAP 4-dimethylaminopyridine, tAmOH tert-amylalcohol, dtbbpy 4,4’-di-tert-butyl-2,2’-bipyridyl, ppy 2-phenylpyridyl.

Stability testing

N-CF3 secondary amine compounds are prone to HF elimination and hydrolysis. To evaluate their stability, seven different products were tested in four media with varying pH values: HCl solution (pH 1.0), water (pH 7.0), phosphate-buffered saline (pH 7.4), and sodium carbonate buffer (pH 10.0) (Fig. 5). As shown in Fig. 5A–D, the aromatic products exhibited higher acid resistance compared to alkyl-substituted products, 70% of 2a, 58% of 2i and 73% of 2k still could be detected when they were dissolved in pH of 1.0 for 6 h. Under the condition of pH 7.0, three compounds were completely decomposed after 6 h, while at pH 7.4 or even 10.0, they were completely decomposed in just 2 h. In contrast, alkyl-substituted products such as 2aa and 2ae exhibited better stability under pH 7.0, 7.4, and 10.0 conditions. At pH 1.0, after 2 h, only 3% of 2aa remained, and 2ae was completely decomposed. In contrast, at pH 7.0, 7.4, and 10.0, 12–30% of both products remained after 6 h. In addition, we found that amino acid-derived product 2ak exhibited good stability under different pH conditions. N-CF3 amide product 12 was very stable at different pH values and did not decompose after 6 h. The experimental findings demonstrate a pronounced divergence in stability profiles: aromatic derivatives exhibit good stability in acidic media, whereas alkyl-substituted compounds show superior stability across neutral to alkaline conditions. Then, we selected compound 2ae to analyze the decomposition by-products under pH 1.0. By analyzing the peaks and integral values in the 19F NMR spectrum within 2 h, we observed that N-COF and HF were the primary decomposition products (Fig. 5F). To rationalize this observation, computational analysis revealed a significant pKa difference (for details, see the Supplementary Information on pages 36 and 37) between the compounds: 2i (14.4) vs. 2ae (20.7). This magnitude alkalinity disparity (ΔpKa = 6.3) dictated their stability profiles—the more basic compound 2ae underwent rapid HF elimination via acid-catalyzed decomposition. Conversely, the lower pKa of 2i rendered it to undergo base-induced deprotonation, followed by β-elimination in alkaline media.

Fig. 5: Investigation of hydrolytic stability of N-trifluoromethyl secondary and tertiary amines.
figure 5

A, B, C and D represent the percentage of remaining N-trifluoromethyl secondary and tertiary amines (relative to 0 h) after standing in a 10 mg/mL water/DMSO (4:1) solution at room temperature with a pH of 1.0, 7.0, 7.4, or 10.0 (the test times were 5 min, 15 min, 30 min, 2 h and 6 h, respectively). E Structures of testing compounds. F Analysis of decomposition by-products of compound 2ae over time in pH = 1 solution within 2 h.

Discussion

In conclusion, we have developed a mild and practical method for the oxidative fluorination of readily accessible isocyanides, providing an efficient approach to intriguing yet synthetic challenging N-CF3 secondary amines. This reaction is applicable to both aryl and alkyl isocyanides, with commercially available iodine, silver fluoride, and tert-butyldimethylsilane serving as the oxidant, fluorinating reagent, and proton precursor, respectively. The key advantage of this protocol lies in its simplicity: all reagents and by-products can be removed via simple filtration and evaporation, enhancing its practicality. This protocol features a broad substrate scope, good functional group tolerance, and good to excellent yields. Importantly, it is also suitable for the late-stage modification of complex molecules and bioactive compounds. Additionally, the resulting N-CF3 secondary amines can be converted into N-CF3 carbamoyl fluorides, which serve as valuable building blocks for synthesizing a variety of N-CF3 carbonyl derivatives.

Methods

General procedure for synthesis of N–CF3 secondary amines

A 10 mL Schlenk tube equipped with a magnetic stir bar was charged with the isocyanide (0.5 mmol), silver fluoride (444.1 mg, 3.5 mmol, 7.0 equiv), iodine (139.7 mg, 0.55 mmol, 1.1 equiv), and 1,4-dioxane (1.5 mL) in the glove box. Then tert-butyldimethylsilane (116 uL, 0.7 mmol, 1.4 equiv or 166 μL, 1.0 mmol, 2.0 equiv) was dissolved in 1,4-dioxane (1.5 mL) and added to the reaction vessel via syringe within one minute. The reaction mixture was stirred at 40 °C for 4 h. After completion, the reaction mixture was diluted with Et2O (5 mL) and stirred for 5 min. The crude mixture was filtered through a Celite pad, eluting with Et2O (10 mL). The solvents were evaporated, and the residue was redissolved in Et2O (5 mL) and filtered through a new Celite pad to remove trace salts and insoluble impurities. The purified product, the corresponding N-trifluoromethyl secondary amine, was obtained after solvent evaporation.