Firstly, we get necessary optimality condition for the optimal control problem for switching system in terms of lower exhausters.
By using relationships between lower exhausters and quasidifferentiability, we obtain necessary optimality condition in the case that the minimization functional satisfies quasidifferentiability condition.