Monoselective N-Methylation of Amides, Indoles, and Related Structures Using Quaternary Ammonium Salts as Solid Methylating Agents

We herein report the use of phenyl trimethylammonium iodide (PhMe3NI) as a safe, nontoxic, and easy-to-handle reagent for an absolutely monoselective N-methylation of amides and related compounds as well as for the N-methylation of indoles. In addition, we expanded the method to N-ethylation using PhEt3NI. The ease of operational setup, high yields of ≤99%, high functional group tolerance, and especially the excellent monoselectivity for amides make this method attractive for late-stage methylation of bioactive compounds.

N itrogen-containing compounds are privileged structures in organic chemistry. For example, among thousands of FDA-approved, small molecule drugs, more than 80% contain at least one nitrogen atom with an average of 2.3 nitrogens per drug. 1 These impressive numbers outline the importance of nitrogen-containing motifs in medicinal chemistry and drug discovery. When checking the top 200 small molecule drugs by retail sales in 2021 2 (see the bottom of Figure 1 for a selection), one notices the nitrogen atom is found in a majority of pharmaceuticals and herein appears in different structural modifications. Repeatedly occurring nitrogen-containing functionalities include amines, amides, sulfonamides, and Nheterocycles. Simple structural modifications, e.g., alkylation, of such groups often drastically change the physiological and biological properties of pharmaceutically active molecules. 3,4 Considering alkylation as a late-stage modification in bioactive compounds in general, the simplest and smallest of all alkyl groups, the methyl group, seems to have the most profound impact on altering the biological properties of a molecule. 5−7 This phenomenon is well-known as the "magic-methyl effect". 4,8,9 Hence, new strategies for efficient and selective Nmethylation of amides and related structures are of great interest. 10 However, major challenges with these specific transformations need to be considered (see Figure 1). First, traditionally applied methylating agents, such as iodomethane 11 or dimethyl sulfate, 12 often suffer from undesired properties, such as high toxicity, carcinogenicity, and volatility. Some strategies require transition metal catalysts, e.g., when using peroxides 13 or MeOH 14−16 as the single-carbon source.
Still others have a relatively narrow substrate scope, which limits the broad application of the respective methylating agent, e.g., when using formaldehyde 17,18 under reductive conditions or PO(OMe) 3 . 19 The Schoenebeck group recently reported a safe and metal-free methylation protocol using tetramethylammonium fluoride. 20 This method is characterized by a relatively broad substrate scope, including amides, Nheterocycles, and alcohols. However, this strategy lacks monoselectivity when methylating primary amides. In general, the tendency of primary amides to undergo overalkylation features the second serious challenge when searching for new N-methylation strategies.
We describe herein a novel, safe, and monoselective protocol for efficient methylation of amides using phenyl trimethylammonium iodide (PhMe 3 NI) as the CH 3 source under mildly basic conditions, which is characterized by the ease of operational setup. In addition, we demonstrate the broad applicability of this new method by expanding the scope toward N-heterocycles, e.g., indoles, and prove its potential use in the late-stage functionalization of bioactive compounds. Furthermore, the monoselective introduction of an ethyl group can be realized using the related quaternary ammonium salt PhEt 3 NI.
For all optimization screenings, we used 4-fluoro benzyl amide (1a) as the substrate. The fluoro substituent enables facile quantification directly from the reaction solution without preceding solvent removal or workup via 19 F NMR using trifluoro toluene as the internal standard.
We started our investigations by building on our previous results for the selective α-C(sp 3 )-methylation 21 using PhMe 3 NI as the methylating agent and KOH as the base in toluene at 120°C (Table 1, entry 1). The mono-N-methylated product was obtained with a moderate yield of 56%. Other hydroxy bases showed significantly lower conversion (entries 2 and 3). Gratifyingly, we found Cs 2 CO 3 as a mild base giving the mono-N-methylated product (2a) in 85% yield (entry 4). All other bases tested turned out to be inefficient (see the Supporting Information for details). Next, we tested different quaternary ammonium salts as the methylating agents. The tetramethylammonium halides gave lower overall yields for 2a, with a rapid decrease in conversion from the respective fluoride to iodide salts (entries 6−9). Tetramethylammonium fluoride, which was applied for methylating secondary amides toward tertiary ones, gave a 1:1 mixture of mono-and bis-methylated products 2a and 3a, respectively (entry 6), and obviously lacks monoselectivity. As anticipated, the phenyl trimethylammonium halides performed best, with the phenyl trimethylammonium iodide outperforming the respective chloride and bromide (entries 4, 10, and 11). We also tested a variety of solvents that are considered to be more environmentally benign such as t-BuOH, cyclopentyl methyl ether (CPME), 22 and anisole. 23 Indeed, they turned out to be suitable solvents for this specific reaction; however, ∼10−20% lower yields of 2a were obtained (entries 12−14) compared to those with toluene, which consequently remained the solvent of choice (entry 4).
In our previous publication on selective α-methylation of aryl ketones, 21 we could prove that a reaction pathway via thermal decomposition of the methylammonium salt to its respective methyl halide, which in turn could act as the actual methylating agent, can be excluded. Additionally, when the Nmethylation of benzyl amide is performed with MeI under basic conditions, the N-bis-methylated product is obtained

Organic Letters pubs.acs.org/OrgLett
Letter exclusively, and no monoselectivity is observed. 24 The latter results corroborate the hypothesis of a direct nucleophilic substitution mechanism rather than a pathway via thermal decomposition to MeI and even more emphasize the importance of finding novel monoselective protocols employing alternative reagents. We performed additional experiments to demonstrate the remarkable selectivity of this new protocol. When monomethylated amides 2a and 2b were subjected again to the best performing reaction conditions (Table 1, entry 4), only 27% and 35% of bis-methylated products 3a and 3b were obtained (Scheme 1). For both reactions, mainly unreacted monomethylated starting material was recovered. This underlines the applicability of the developed reaction conditions for selective monomethylation because even when trying to enforce a second methylation, this works only poorly. These findings corroborate the hypothesis that an attachment of a sterically demanding CH 3 group makes the nitrogen less prone to further deprotonation by a weak base and alters its nucleophilicity. Therefore, a second alkylation via the bulky ammonium salt is slowed significantly.
With the optimized reaction conditions in hand, we applied the N-methylation reaction to various substrates, including amides, indoles, and a variety of structurally related bioactive compounds, to demonstrate the broad applicability of our developed protocol (Scheme 2).
In all reactions, N,N-dimethylamine is formed as a stoichiometric byproduct from PhMe 3 NI after its methyl group transfer. This byproduct can be either quenched in situ by conversion to its water-soluble HCl salt and subsequently removed in a mild acidic workup or, for acid-sensitive compounds, easily removed via column chromatography. The obtained results are compiled in Scheme 2.
The aliphatic amide hexanamide could be selectively monomethylated in a moderate yield of 67% (product 2n). No bis-methylated product could be detected in the crude reaction mixture by NMR and LC-MS analysis, but unreacted

Organic Letters pubs.acs.org/OrgLett
Letter starting material could be. This was also true for all other products with moderate yields. Only for products 2i and 2m could trace amounts (<8%) of bis-methylated species be detected via crude NMR. The reaction of N-acetylaniline also yielded the desired methylated and ethylated products 2h and 4h, showing that depending on the specific structure some secondary amides can be alkylated in excellent yields. Because the experimental pK a values in DMSO for 1h (pK a = 21.5 25 ) and 2a (pK a = 21.5 26 ) are in the same range, we hypothesize that the facile methylation of secondary amide 1h, in comparison to the methylation of 2a (see Scheme 1), might be caused by the lower steric demand of planar phenyl groups compared to a bulky methyl substituent directly attached to the nitrogen. Therefore, the nitrogen would be more readily approached by PhMe 3 NI for substrate 1h than for 2a. However, as the monomethylation toward secondary amides is much more demanding, we mainly focused on primary amides as starting materials. To further prove this method's applicability and ease of operational setup, we performed the methylation of 1a on a 3.52 mmol scale, giving 2a in a 76% isolated yield.
In addition to amides, the indole motif is considered a privileged heterocyclic structure in biologically active compounds, as well. 27−29 Hence, we tested whether indoles could be N-methylated and N-ethylated as well with our new protocol. Overall, indole-derived substances performed slightly better in this specific N-alkylation reaction than primary amides. A great range of functional groups was well tolerated, including halides (products 5c−5f and 6c−6f), ether (products 5b and 6b), nitro (products 5g and 6g), aldehyde (products 5h and 6h), esters (products 5i, 5j, 6i, and 6j), and nitrile (products 5k and 6k). The described methylation of selected indole derivatives with PhMe 3 NI under mild basic conditions gave yields as high as those of the methylation with Me 4 NF performed by the group of Schonebeck. 20 In contrast to Me 4 NF, however, the use of anhydrous PhMe 3 NI and storage of the reagent in a glovebox are not required, which makes this presented method even more convenient.
To outline the potential of this method for late-stage functionalization of bioactive molecules, we performed methylation on a selection of established pharmaceuticals. Tryptamine-derived compounds, like melatonin, are methylated exclusively at the indole nitrogen atom in 88% yield (product 7). Upon subjecting the N-monomethylated melatonin (product 7) again to the reaction conditions mentioned above, we could observe no further methylation at the nitrogen of the secondary amide. Theophylline can be fully methylated to give caffeine (product 8) in quantitative yield. The sulfonamide moiety in celecoxib is fully bismethylated in an excellent yield of 92% (product 9). Sulfonamides exhibit significantly lower pK a values compared to those of benzamides; hence, a monomethylated sulfonamide readily undergoes a second substitution at the nitrogen. As in carbamazepine, a urea-derived functionality is monomethylated in moderate yield (product 10). From previous results, 21 we found hydroxy groups being readily methylated. Thus, as expected, paracetamol and salicylamide were methylated at the phenolic position and the amide moiety (products 11 and 12), and the antibiotic linezolid can be N-methylated at the acetamide moiety with an 84% yield (product 13).
In conclusion, we described a novel protocol for monoselective methylation and ethylation of amides, indoles, and related structures using solid, nontoxic, and easy-to-handle quaternary ammonium salts under mildly basic conditions. The method can also be applied to complex bioactive compounds and hence for late-stage modification of active pharmaceutical ingredients in drug discovery programs. ■ ASSOCIATED CONTENT
Detailed procedure for quantitative 19  Open Access is funded by the Austrian Science Fund (FWF).

Notes
The authors declare no competing financial interest.

■ ACKNOWLEDGMENTS
This work was funded by the Austrian Science Fund (FWF, Project P33064-N).