The use of tailored RF excitation pulses for prospective correction of non-linear motion-induced phase patterns is shown to enable diffusion-weighted (DW) fast spin echo (FSE) imaging in vivo. Echo-planar imaging (EPI) remains the most used sequence for DW imaging. Despite being highly sensitive to field inhomogeneities, EPI is robust to motion-induced phase shifts. FSE sequences are much less sensitive to field inhomogeneities, but require precise control of the transverse magnetization phase, which is hard to achieve with DW. Real time measurements and correction of phase ramps due to rigid-body motion had been proposed, but performance remained unsatisfactory because of non-linear phase patterns related to pulsatile motion.