Optimal nonanticipating controls are shown to exist in nonautonomous piecewisedeterministic control problems with hard terminal restrictions. The assumptions needed arecompletely analogous to those needed to obtain optimal controls in deterministic controlproblems. The proof is based on well-known results on existence of deterministic optimalcontrols.