In this paper, we investigate the optimal harvesting for a class of size-structured population system in a polluted environment, making the maximum revenue by controlling the species harvest and inputting rates of the external toxin into the environment. Fixed point theory is used to obtain the existence and uniqueness of solution of the system. Optimality conditions are derived by means of tangent-normal cones and the technique of adjoint system. Some results in references are extended.