The condensation of 2-(3,4-dimethoxyphenyl)-3-methylbutyronitrile (I) with N-(3-chloropropyl)-N-[2-(3,4-dimethoxyphenyl)ethyl]-N-methylamine (II) by means of sodium amide in refluxing toluene gives the target aminonitrile.