This paper describes the results of applying a strategy of nonlinear model predictive control (NMPC) for closed-loop optimization of the water flooding process simulation on a reversed pattern of 5 wells in the field YARIGUÍ -CANTAGALLO operated by Ecopetrol SA in Colombia.Field modeling and predictions are made through the use of a commercial reservoir simulator. The solution of the optimization problem of nonlinear control loop is determined using an approach that uses the reservoir model as a black-box by looking for patterns and sequential algorithms.To manage the information of operational variables required by the optimization strategy, an interface was developed by managing online the output files of the commercial simulator. NMPC algorithm stability is achieved by finding sub-optimal solutions of the optimization problem.The robustness and performance of the NMPC strategy is illustrated by its implementation to optimize the water flooding process simulation represented by a model with 814.226 cells of which 352.034 are active, 199 layers, 38 failures, 26 areas of balance and heterogeneous distributions of permeability and porosity. Thus, by appropriate adjustment of the water flow rates, it is proposed to increase the production of oil for the case study. Finally the main findings, conclusions and recommendations from this study are submitted.