In order to derive the characteristics and adjust the electromagnetic system to the ultimate purpose of achieving better torque output and material usage reduction with constraints, this paper presents the finite element analysis and using improved niche genetic algorithm to the optimal design of a permanent magnet spherical actuator. The magnetic field distribution and torque calculation model based on finite element software are introduced and discussed. The proposed optimization algorithm surmounts effectively the local convergence problem of standard genetic algorithm. The sharing-between-population mechanism is proposed by means of using the better factor of population, saving best result strategy and enhancing global and partial searching ability for earlier achievement of optimal solution. The results show the output torque has been increased and the material has been effectively saved by comparison, which provides the references for related problems. Ill. 5, bibl. 15, tabl. 6 (in English; abstracts in English and Lithuanian).http://dx.doi.org/10.5755/j01.eee.114.8.699