An efficient strategy for N/O-(deutero)alkylation of indoles and phenols with alkoxides/alcohols as the alkylation reagents is described. The consecutive detosylation/alkylation transformations feature mild reaction conditions, high ipso-selectivity, and good functional group tolerance (>50 examples). A one-pot selective N-alkylation of unprotected indoles with alcohols and TsCl is also realized. The application of this method is demonstrated by the introduction of isotope-labeled (CD3 and 13CH3) groups using the readily accessible labeled alcohols and the synthesis of pharmaceuticals.