Alkylation reactions of hydrazine derivatives by Mitsunobu or PTC approaches are described. It has been shown that aminophthalimide derivatives are better acidic partners than their aminoimidodicarbonate (NBoc2) analogues, the presence of the phthaloyl group increasing the acidity of the sole proton and concomitantly reducing steric hindrance. Moreover, N-aminophthalimide derivatives can be efficiently