A method for stability assessment of slopes using pattern search technigue, which is based on finite element stress analysis, is introduced in this paper. The definition of the safety factor is elucidate and the mathematical programming technique for searching the slip surface is presented. Numerical examples of applying the method to various problems of slope stability analysis are given, which demonstrate that the method is efficient and reliable.