The Dynamic Economic Environmental Dispatch Problem (DEEDP) is a major issue in power system control. It aims to find the optimum schedule of the power output of thermal units in order to meet the required load at the lowest cost and emission of harmful gases. Several constraints, such as generation limits, valve point loading effects, prohibited operating zones, and ramp rate limits, can be considered. In this paper, a method based on Teaching-Learning-Based Optimization (TLBO) is proposed for dealing with the DEEDP problem where all aforementioned constraints are considered. To investigate the effectiveness of the proposed method for solving this discontinuous and nonlinear problem, the ten-unit system under four cases is used. The obtained results are compared with those obtained by other metaheuristic techniques. The comparison of the simulation results shows that the proposed technique has good performance.