This article introduces a solution for the dynamic economic dispatch problem using a hybrid technique of the Hopfield neural network and quadratic programming. This hybrid algorithm is based on using the enhanced Hopfield neural network to solve the static part of the problem and the quadratic programming algorithm for solving the dynamic part of the dynamic economic dispatch. This technique guarantees the global optimality of the solution due to its look-ahead capability. The proposed technique is applied to and tested on an example from the literature, and the solution is then compared with that obtained by some other techniques to prove the validity and effectiveness of the proposed algorithm.