The process of N-alkylation of several pyrroles, indoles, and derivative heterocycles is herein described, using quaternary ammonium salts as the source of an alkylating agent. These reactions were carried out on several heterocyclic rings with triethylbenzylammonium chloride or tetradecyltrimethylammonium bromide and an NaOH solution at 50%, leading to a chemoselective N-alkylated product and an average yield of 73%. This is an alternative process to the traditional benzylation and methylation of N-heterocycles with direct handling of alkyl halides.