: This paper presents a learning backtracking search algorithm (LBSA) that combines the ideas of TLBO and BSA to solve optimal power flow problem that has both discrete and continuous optimization variables. The proposed method is an evolutionary technique of optimization with simple structure and single control parameter to solve numerical optimization problem. The objective functions are considered as the system real power losses, fuel cost and the gaseous emissions of the generating units and voltage profile. The proposed algorithm is applied on modified IEEE 30 bus test power system in Matlab software and the results obtained are compared with results of other algorithm.