In terms of the total energy of a ferromagnet and the Landau–Lifshitz equation, the nonlinear surface spin waves in a ferromagnet with pure nonuniform exchange anisotropies are studied. It is found that the nonlinear dispersion relation for these waves is modified by the nonuniform exchange anisotropy comstants, and the nonlinear excitation appears as surface magnetic solitons localized near the surface of a crystal. A two-dimensional nonlinear Schrödinger equation for the spin–wave envelope is obtained and the conditions for the existence of a single soliton solution are discussed.