Abstract : HermiteFit, a novel algorithm for fitting a protein structure into a low-resolution electron-density map, is presented. The algorithm accelerates the rotation of the Fourier image of the electron density by using three-dimensional orthogonal Hermite functions. As part of the new method, an algorithm for the rotation of the density in the Hermite basis and an algorithm for the conversion of the expansion coefficients into the Fourier basis are presented. HermiteFit was implemented using the cross-correlation or the Laplacian-filtered cross-correlation as the fitting criterion. It is demonstrated that in the Hermite basis the Laplacian filter has a particularly simple form. To assess the quality of density encoding in the Hermite basis, an analytical way of computing the crystallographic R factor is presented. Finally, the algorithm is validated using two examples and its efficiency is compared with two widely used fitting methods, ADP_EM and colores from the Situs package. HermiteFit will be made available at http://nano-d.inrialpes.fr/software/HermiteFit or upon request from the authors.