A fundamental prerequisite for the numerical computation of optimal controls is to show that sequences of suboptimal (that is, close-to-optimal) controls converge. We show this in a version that applies to hyperbolic and parabolic distributed parameter systems, the latter including the Navier–Stokes equations. The optimal problems include control and state constraints; in the parabolic case, the constraints may be pointwise on the solution and the gradient.