The invention relates to a process for reacting alkaloids by adding a phosphorus derivative to an organic solution of the alkaloids, the organic solution containing the reaction products of the alkaloids and the unreacted residue of phosphorus derivative then being washed with water. The reaction products obtained are suitable as drugs.