The Ferrier rearrangement is an organic reaction that involves a nucleophilic substitution reaction combined with an allylic shift in a glycal (a 2,3-unsaturated glycoside). It was discovered by the carbohydrate chemist Robert J. Ferrier.