Abstract Stevens rearrangement of ammonium salts containing an allyloxycarbonylmethyl group in benzene in the presence of sodium phenoxide yields allyl 2-dialkylamino-4- pentenoates. The rearrangement in the presence of sodium methoxide is accompanied by transesterification to afford methyl 2-dialkylamino-4-pentenoates.