The transformation of protopines into berbines under improved conditions has been used to synthesize 1-methoxystylopine. Coulteropine, the main alkaloid from Romneya coulteri, was used as the starting protopine to accomplish the stereocontrolled synthesis of both cis and transN-methyl-1-methoxystylopinium salts. The results of ab initio calculations (B3LYP/6-31G∗∗) which are consistent with experimental