A method for improving the spectral distribution and for reducing the reconstruction error in optical holographic data storage is proposed. By use of an optimized phase mask in the input plane, the uniformity of the spectral distribution is optimized and the reconstruction error minimized. The phase mask is designed by use of amplitude-phase retrieval algorithms. Simulation results show the merits of the proposed method. (C) 1999 Optical Society of America.