It has been proved that the magnetoencephalogram-multiple signal classification algorithm has many advantages over the general global optimization methods in localizing current dipoles in a spherically symmetrical conductor head model. Making use of this method, we can tell the total number of current dipoles conveniently and localize those dipoles one by one in a shorter time, simply by calculating generalized eigenvalues of a two- or three-dimensional matrix. In this paper, this method is used to localize the current dipoles in a realistic head shap e model. Numerical simulation demonstrates that this algorithm is effective and has great advantages in the localization of multiple dipoles.