This paper deals with the design of a proportional–integral (PI) controller for controlling the angle of attack of flight control system. For the first time teaching–learning based optimization (TLBO) algorithm is applied in this area to obtain the parameters of the proposed PI controller. The design problem is formulated as an optimization problem and TLBO is employed to optimize the parameters of the PI controller. The superiority of proposed approach is demonstrated by comparing the results with that of the conventional methods like GA and PSO. It is observed that TLBO optimized PI controller gives better dynamic performance in terms of settling time, overshoot and undershoot as compared to GA and PSO based PI controllers. The various performance indices like Mean Square Error (MSE), Integral Absolute Error (IAE), and Integral Time absolute Error (ITAE) etc. are improved by using the TLBO soft computing techniques. Further, robustness of the system is studied by varying all the system parameters from −50% to +50% in step of 25%. Analysis also reveals that TLBO optimized PI controller gains are quite robust and need not be reset for wide variation in system parameters.