A comparative study of N-alkylation of 1H-indole and 9H-carbazole derivatives with alcohol derivatives was performed using classic Mitsunobu reaction conditions, ie DEAD/PPh3, azodicarboxamide derivatives such as TMAD in the presence of PBu3, or using phosphorane derivatives such as CMMP.