A method to design multiband RF pulses for magnetic resonance imaging is described. The method is based on the Shinnar–Le Roux transform and involves a phase correction that provides control over the phase of the excited bands. The theory behind the method and this phase correction is outlined. The method is demonstrated with the design of RF pulses for Hadamard encoding and Haar wavelet encoding. Experimentally measured excitation profiles and images for RF pulses designed with the new method are compared to those designed by the conventional method. The conventional method is shown to result in distortion of the excitation profile when the bands are closely spaced. A 78% reduction in this distortion is attributed to the new method. This translates into a 52% reduction of out-of-slice signal in Haar wavelet encoding. Magn Reson Med 42:577–584, 1999. © 1999 Wiley-Liss, Inc.