In this study, a distributed optimal control problem for n × n cooperative hyperbolic systems with infinite order operators and Dirichlet conditions are considered. The existence and uniqueness of the state of these systems are proved. The necessary and sufficient conditions for optimality of distributed control with constraints are found, and the set of equations and inequalities that defining the optimal control of these systems is also obtained. Finally, some examples for the control problem without constraints are given.