The alkylation of pilosine (I) with ethyl chloride (II) by means of LDA in THF gives trans-pilocarpine (III), which is isomerized with LDA in THF, yielding a mixture of cis- and trans-pilocarpine (IV). Finally, this mixture is resolved by crystallization with di-p-toluoyl tartaric acid.